767 Commits
Author SHA1 Message Date
Sebastiaan van Stijn 8ad27bd3ac Merge pull request #584 from vvoland/new-distros
install: Add AlmaLinux and Oracle Linux support
2026-11-06 03:59:30 +01:00
Paweł Gronowski 6937af6a11 install: Add AlmaLinux and Oracle Linux support
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-11-06 03:52:53 +01:00
Sebastiaan van Stijn ada7a567e5 Merge pull request #583 from vvoland/update-distro
install: Detect Ubuntu codename without /etc/lsb-release
2026-10-13 19:06:39 +02:00
Paweł Gronowski af185b580a install: Detect Ubuntu codename without /etc/lsb-release
Ubuntu 26.10 (stonking) images no longer ship /etc/lsb-release, and
the base image has no lsb_release command.
Both codename lookups returned nothing, so the apt source line had no
suite and apt-get update failed:

```
deb [...] https://download-stage.docker.com/linux/ubuntu  test
E: Malformed entry 1 in list file /etc/apt/sources.list.d/docker.list (Component)
```

Read VERSION_CODENAME from /etc/os-release first, which every supported
Ubuntu release provides and get_distribution already relies on.
lsb_release and /etc/lsb-release remain as fallbacks when os-release has
no codename.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-10-13 18:48:51 +02:00
Sebastiaan van Stijn 2b32480025 Merge pull request #578 from vvoland/update-distro
install: Deprecate Debian 11 Bullseye
2026-09-09 15:28:35 +02:00
Paweł Gronowski bb2fcbb528 install: Deprecate Debian 11 Bullseye
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-09-09 14:20:41 +02:00
Paweł Gronowski 4e16be805b Merge pull request #577 from Ankumeah/576-fix-ip_tables-check
fix: check either ip_tables or nf_tables
2026-09-04 17:29:49 +02:00
ankumeah 5d73bedfbf fix: check either ip_tables or nf_tables
Some systems use nf_tables instead of ip_tables in
which case ip_tables may not be loaded.
Only one of ip_tables or nf_tables is checked
based on the output of `iptables --version`

Signed-off-by: ankumeah <ankitku00ish@gmail.com>
2026-09-04 19:30:34 +05:30
Paweł Gronowski 42dcae6924 Merge pull request #421 from hdub-tech/be-helpful
Add --help usage to install.sh and exit when invalid arg / Update contributing docs
2026-08-24 13:11:49 +02:00
H Dub aa0cf12dc0 Add setup-repo and no-autostart to install.sh usage statement
Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
2026-08-19 14:00:23 -05:00
H Dub db04884b6f Promote PR template contributing guidance to visible status on README
Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
2026-08-19 14:00:22 -05:00
H Dub 4b5b9326cf Remove addt'l info (dead link) from PR template.
Main link is widely inclusive of information already.

Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
2026-08-19 14:00:22 -05:00
H Dub 3e7785d73b Comment new function usage() per Coding Style guide
Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
2026-08-19 14:00:22 -05:00
H Dub e85245de80 Add --help flag to install.sh and usage function
Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
2026-08-19 14:00:17 -05:00
H Dub dfd6bdea56 Exit 1 when illegal option rather than do install
Signed-off-by: H Dub <14808878+hdub-tech@users.noreply.github.com>
2026-08-19 13:59:17 -05:00
Paweł Gronowski a23123f039 Merge pull request #573 from alirezabaratian/discard-script
docs: discard script after installation
2026-08-11 18:19:28 +02:00
Sebastiaan van Stijn 13f5fcfbb4 Merge pull request #574 from ericcurtin/add-sbx-install-option
Add SBX env var to install docker-sbx package
2026-08-11 17:41:53 +02:00
Eric Curtin a02aa0bdb5 Add SBX env var to install docker-sbx package
Allow users to opt into installing the docker-sbx package alongside
the standard Docker Engine packages by setting SBX=1, for example:

    curl -fsSL https://get.docker.com | sudo SBX=1 sh

This mirrors the existing pattern used by other env vars (CHANNEL,
VERSION, etc.) and adds the docker-sbx package to the apt and
dnf/yum install package lists when SBX is set to "1".

Signed-off-by: Eric Curtin <eric.curtin@docker.com>
2026-08-11 13:56:20 +01:00
Alireza Baratian 73924be545 docs: discard script after installation
- Added rm command for both channels

Signed-off-by: Alireza Baratian <alireza.baratian@gmail.com>
2026-08-11 13:52:58 +03:30
Sebastiaan van Stijn 263edc94d3 Merge pull request #572 from vvoland/update-versions
Deprecate Ubuntu 25.10 Questing
2026-08-10 23:52:24 +02:00
Paweł Gronowski 8c063cbce4 Deprecate Ubuntu 25.10 Questing
It's EOL

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-10 18:31:20 +02:00
Paweł Gronowski 5ce20f2eef Merge pull request #570 from thaJeztah/allow_downgrades
deb: set "--allow-downgrades" if a specific version is requested
2026-07-20 18:36:11 +02:00
Sebastiaan van Stijn 0d6dc3deb8 deb: set "--allow-downgrades" if a specific version is requested
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-07-13 14:18:40 +02:00
Paweł Gronowski 02cb80d6c7 Merge pull request #569 from thaJeztah/cleanup_ver
minor cleanups and fixes
2026-07-13 14:06:28 +02:00
Sebastiaan van Stijn ae0db934a1 prevent bare "=" as version
Make sure both pkg_version and cli_pkg_version are only set on success
to prevent them containing a bare "=", which we were stripping later on.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-07-13 12:30:59 +02:00
Sebastiaan van Stijn 59f81eb7e4 move vars closer to where used
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-07-13 12:30:22 +02:00
Sebastiaan van Stijn 032958bf84 always declare cli_pkg_version
No real impact, but `$cli_pkg_version` was used unconditionally,
but was set conditionally.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-07-13 12:25:53 +02:00
Sebastiaan van Stijn 8564e27fc7 fix indentation
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-07-13 12:14:40 +02:00
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