Commit Graph
721 Commits
Author SHA1 Message Date
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
Paweł Gronowski 216089e385 rootless: update to 28.4.0
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-09-04 00:23:41 +02:00
Paweł Gronowski 7cd5ba02e9 Merge pull request #520 from vvoland/update-rootless-28.4.0-rc.2
rootless: update test version to 28.4.0-rc.2
2025-09-02 14:46:43 +02:00
Paweł Gronowski 4b758838cd rootless: update test version to 28.4.0-rc.2
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-09-02 13:51:12 +02:00
Paweł Gronowski 5944d4d9e4 Merge pull request #516 from vvoland/diff-result
Makefile: extract diff to a separate script
2025-07-30 17:58:38 +00:00
Paweł Gronowski bcfa2f1e5c Makefile: extract diff to a separate script
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-07-30 19:36:13 +02:00
Sebastiaan van Stijn bedc5d6b3e Merge pull request #515 from vvoland/update-rootless-28.3.3
rootless: update to 28.3.3
2025-07-30 17:57:21 +02:00
Paweł Gronowski 0228aaa9d9 rootless: update to 28.3.3
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-07-30 17:50:47 +02:00
Sebastiaan van Stijn 8555c7c554 Merge pull request #513 from vvoland/diff-no-fail
gha: Fix stdin tty attach failing the deploy
2025-07-21 18:03:24 +02:00
Paweł Gronowski ba8c7c81f8 gha: Fix stdin tty attach failing the deploy
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-07-21 17:49:15 +02:00
Sebastiaan van Stijn 3902c2f638 Merge pull request #512 from vvoland/gha
gha: Add diff and deploy
2025-07-21 16:54:15 +02:00
Paweł Gronowski 20bd1ca7e3 Makefile: Add diff and deploy
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-07-21 12:00:55 +02:00
Paweł Gronowski 1cca0b3dc8 Merge pull request #511 from rejeangroleau/bugfix/avoid-installing-missing-packages
Avoid installing missing packages for version 23 (and moving them to 28.2)
2025-07-16 15:44:14 +02:00
Rejean Groleau 4ff191b115 Avoid installing missing packages for version 23
On ubuntu bionic and focal (and debian buster too), the docker-model-plugin
package is missing. The suggestion was to just install the package named
docker-buildx-plugin in the version 23 check, while moving the missing
package docker-model-plugin to a new version 28.2 check. The number was
chosen because that package becomes available starting with version 28.2
on ubuntu jammy (while not available in version 28.1 on ubuntu focal).

See: https://github.com/docker/docker-install/issues/509

Signed-off-by: Rejean Groleau <rejeangroleau@gmail.com>
2025-07-16 08:22:42 -04:00
Sebastiaan van Stijn 7040dd2bf1 Merge pull request #508 from vvoland/update-rootless-28.3.2
rootless: update to 28.3.2
2025-07-09 21:50:32 +02:00
Paweł Gronowski 3a89459afc rootless: update to 28.3.2
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-07-09 21:20:10 +02:00
Sebastiaan van Stijn fb10f0726a Merge pull request #504 from vvoland/update-rootless-28.3.1
rootless: update to 28.3.1
2025-07-03 03:48:33 +02:00
Paweł Gronowski 584fcdca66 rootless: update to 28.3.1
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-07-03 01:34:33 +02:00
Sebastiaan van Stijn 161fed46e7 Merge pull request #502 from vvoland/update-rootless-28.3.0
rootless: update to 28.3.0
2025-06-25 14:13:26 +02:00