Commit Graph
739 Commits
Author SHA1 Message Date
Sebastiaan van Stijn 4e49bdcfbe Merge pull request #562 from vvoland/rootless-fix
rootless: Correct verification comment
2026-07-13 11:38:30 +02:00
Paweł Gronowski 1c2a765dbb Merge pull request #567 from linux-on-ibm-z/s390x-re-enable-rhel
Re-enable support for RHEL on s390x
2026-07-06 13:42:20 +02:00
sanyogdeshmukh 96b9d34d3d Re-enable RHEL support on s390x
Signed-off-by: sanyogdeshmukh <cok202p2@gmail.com>
2026-07-06 10:56:45 +00:00
Paweł Gronowski 60d4787004 Merge pull request #565 from nanookclaw/fix/raspbian-trixie-debian-repo
fix: use Debian repo for Raspbian Trixie
2026-06-30 17:12:19 +02:00
Paweł Gronowski 5a52accd78 Merge pull request #566 from ericcurtin/patch-1
Normalize Fedora Asahi Remix to Fedora
2026-06-30 17:11:21 +02:00
Eric Curtin b1691976bd Normalize Fedora Asahi Remix to Fedora
So installs work on Fedora Asahi Remix

Signed-off-by: Eric Curtin <eric.curtin@docker.com>
2026-06-30 14:46:52 +01:00
Nanook 55a1d1a8b4 fix: use Debian repo for Raspbian Trixie
Signed-off-by: Nanook <nanookclaw@users.noreply.github.com>
2026-06-14 22:12:07 +00:00
Sebastiaan van Stijn 153e238e1d Merge pull request #564 from vvoland/fix-test-version
scripts/get-version: Select stable release for test when newer
2026-06-12 13:25:03 +02:00
Paweł Gronowski 7372de0780 scripts/get-version: Select stable release for test when newer
The release list is already ordered newest first, so the test channel
only needs to consider releases that are either prereleases or the
latest stable release.
This keeps test from resolving to an older prerelease after a newer
stable release is published.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-12 12:40:37 +02:00
Sebastiaan van Stijn e353d074b1 Merge pull request #563 from vvoland/update-distro
install: Deprecate Fedora < 43
2026-06-11 16:54:41 +02:00
Paweł Gronowski aa9f363f56 install: Deprecate Fedora < 43
Fedora versions older than 43 are now EOL for this installer path.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-11 16:47:40 +02:00
Paweł Gronowski 4873c95555 rootless: Correct verification comment
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-06-08 11:11:27 +02:00
Paweł Gronowski 2687d91dde Merge pull request #558 from vvoland/fix-2942
rootless-install: use docker-29.4.2-2.tgz for version 29.4.2
2026-05-01 13:32:23 +02:00
Paweł Gronowski e020ecbc6c ci: add test cases for version 29.4.2
Add 29.4.2 to the package install test matrix so it is verified across
all tested distributions.

Expand test-install-rootless to run both channels (test and stable).
The stable entry pins STABLE_LATEST=29.4.2 so the static binary URL
workaround (docker-29.4.2-2.tgz) is exercised during CI.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-05-01 10:49:44 +02:00
Paweł Gronowski e5748cae44 rootless-install: use docker-29.4.2-2.tgz for version 29.4.2
The static binary tarball for Docker 29.4.2 was re-released with a
"-2" suffix. Add a static_release_version() helper that maps version
numbers to their actual tarball name, so that 29.4.2 resolves to
docker-29.4.2-2.tgz instead of docker-29.4.2.tgz.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-05-01 10:43:48 +02:00
Paweł Gronowski f2b0ef96e1 Merge pull request #556 from vlivyur/master
install.sh: Actually start Docker daemon via systemctl
2026-04-24 21:02:28 +02:00
vlivyur bb4b1327ee Actually start Docker daemon via systemctl
Signed-off-by: vlivyur <vlivyur@gmail.com>
2026-04-23 21:02:59 +04:00
Paweł Gronowski 8822028d96 Merge pull request #555 from quentin-laplanche-docker/sec-cli/pin-actions
chore: pin GitHub Actions to commit SHA
2026-04-20 12:48:21 +02:00
Quentin Laplanche 95d415bdbc chore: pin GitHub Actions to commit SHA
Signed-off-by: Quentin Laplanche <quentin.laplanche@docker.com>
2026-04-20 10:48:39 +02:00
Sebastiaan van Stijn 8fb5881103 Merge pull request #553 from vvoland/repo-nowarn
install: Skip "docker already installed" warning in REPO_ONLY mode
2026-04-09 11:53:37 +02:00
Paweł Gronowski 7cdeb5d895 install: Skip "docker already installed" warning in REPO_ONLY mode
When REPO_ONLY=1, the script only sets up the package repository and
exits. There's no reason to warn about Docker being already installed or
sleep for 20 seconds in that case.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-04-09 11:36:19 +02:00
Paweł Gronowski c04fb16bb8 Merge pull request #550 from vvoland/rocky
Prepare for Rocky Linux
2026-03-30 20:40:21 +02:00
Paweł Gronowski 86f94af03c Prepare for Rocky Linux
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-03-30 20:29:10 +02:00
Sebastiaan van Stijn f381ee68b3 Merge pull request #546 from vvoland/fix-diff
diff: Don't force colors
2026-01-09 13:39:52 +01:00
Paweł Gronowski 9c2a9e0be3 diff: Don't force colors
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-09 13:16:07 +01:00
Paweł Gronowski 44a2f930ee Merge pull request #541 from orgads/patch-1
Fix installation on debian testing (forky)
2026-01-07 11:01:54 +00:00
Orgad Shaneh 6db0aea6fb Fix installation on debian testing (forky)
forky dist is not deployed, so use trixie instead.

This is similar to #327.

Signed-off-by: Orgad Shaneh <orgad.shaneh@audiocodes.com>
2025-12-11 12:41:33 +02:00
Paweł Gronowski 8b33a64d28 Merge pull request #518 from gajeshbhat/feature/daemon-start-option
Automatically start Docker service with --no-autostart disable option
2025-12-11 10:09:23 +00:00
Gajesh Bhat 7d4c5e207f Automatically start Docker daemon after installation by default
This PR makes the Docker daemon start automatically after installation
by default, with a --no-autostart opt-out flag. This addresses issue #124
and aligns with the "opinionated convenience" philosophy of get.docker.com.

Changes:
- Autostart enabled by default (AUTOSTART=1)
- Added --no-autostart flag to opt-out
- Smart systemd detection using /run/systemd/system directory check
- Falls back to traditional service management (service/chkconfig/update-rc.d)
- Uses sh_c pattern for proper dry-run support
- All informational messages output to stderr

The systemd detection checks for /run/systemd/system directory which only
exists when systemd is actually running as PID 1. This prevents failures
in container environments where systemctl is installed but systemd is not
running.

Tested across all supported distributions:
- Ubuntu (20.04, 22.04, 24.04)
- Debian (11, 12)
- CentOS Stream (8, 9)
- Fedora (40, 41)
- RHEL/AlmaLinux (8, 9)

Fixes #124

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Gajesh Bhat <gajeshbht@gmail.com>
2025-12-09 20:56:15 -08:00
Paweł Gronowski 7d96bd3c52 Merge pull request #532 from vvoland/rootless-auto-versions
rootless: Automatically populate TEST/STABLE version
2025-11-10 22:09:48 +01:00
Paweł Gronowski 955c0d7e1f rootless: Automatically populate TEST/STABLE version
When building the final install.sh script - fill the latest versions
based on Github releases.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-10 13:05:48 +01:00
Sebastiaan van Stijn e3bd92d5b3 Merge pull request #538 from vvoland/update-rootless-28.5.2
rootless: update to 28.5.2
2025-11-06 12:33:45 +01:00
Paweł Gronowski 0b129669db rootless: update to 28.5.2
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-06 12:08:07 +01:00
Sebastiaan van Stijn 21ac930799 Merge pull request #537 from vvoland/update-rootless-29.0.0-rc.2
rootless: update test version to 29.0.0-rc.2
2025-11-04 11:38:15 +01:00
Paweł Gronowski 9ede3c847d rootless: update test version to 29.0.0-rc.2
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-11-04 11:25:46 +01:00
Sebastiaan van Stijn 86415efcfe Merge pull request #531 from vvoland/update-rootless-29.0.0-rc.1
rootless: update test version to 29.0.0-rc.1
2025-10-14 23:14:35 +02:00
Paweł Gronowski 54e9d41645 rootless: update test version to 29.0.0-rc.1
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-10-14 22:15:10 +02:00
Paweł Gronowski a00c5c344e Merge pull request #530 from vvoland/fix-make-test2
Makefile/test: Fix failure not being propagated
2025-10-10 17:49:23 +02:00
Paweł Gronowski 7e9571d26f Makefile/test: Fix failure not being propagated
Running in subshell doesn't automatically propagate its exit code to the
parent shell (even with `set -e`).

This made the `make test` command NOT exit with a non-zero exit code if
the test actually failed.

Also drop `tail` call because it's actually better to have the full
trace.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-10-10 17:44:47 +02:00
Bjorn Neergaard 66ec315470 Merge pull request #529 from vvoland/fix-make-test
Makefile: fix `test` not working in Github actions
2025-10-09 09:40:24 -06:00
Paweł Gronowski f27a79a875 Makefile: fix test not working in Github actions
`docker run` failed due to `the input device is not a TTY`

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-10-09 10:30:42 +02:00
Paweł Gronowski c7e4dd90ef Merge pull request #528 from vvoland/update-rootless-28.5.1
rootless: update to 28.5.1
2025-10-08 16:43:11 +02:00
Paweł Gronowski a446acc657 rootless: update to 28.5.1
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-10-08 15:06:38 +02:00
Paweł Gronowski ae03142550 Merge pull request #527 from vvoland/update-rootless-28.5.0
rootless: update to 28.5.0
2025-10-03 11:09:58 +00:00
Paweł Gronowski 40e3aef895 rootless: update to 28.5.0
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-10-03 12:32:52 +02:00
Austin Vazquez 1ebc10ccd1 Merge pull request #525 from vvoland/repo-only
Add --setup-repo option to configure repositories without installing packages
2025-09-18 07:05:39 -07:00
Paweł Gronowski 9b2cd0e08d Add --setup-repo option to configure repositories without installing packages
The `--setup-repo` flag allows users to add Docker package repositories
to without automatically installing Docker packages.

This is useful for scenarios where users want to configure the
repository but handle package installation separately.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-09-18 13:55:29 +02:00
Sebastiaan van Stijn 30c930eeeb Merge pull request #523 from vvoland/oracular-eol
Deprecate Ubuntu 24.10 (Oracular)
2025-09-16 13:41:27 +02:00
Paweł Gronowski 5e7df430ba Deprecate Ubuntu 24.10 (Oracular)
Reached EOL in July 2025

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-09-16 13:31:02 +02:00
Sebastiaan van Stijn 5c8855edd7 Merge pull request #521 from vvoland/update-rootless-28.4.0
rootless: update to 28.4.0
2025-09-04 09:52:20 +02:00