Paweł Gronowski
f27797756c
rootless: update test version to v26.0.0-rc1
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2024-02-29 13:55:19 +01:00
Sebastiaan van Stijn
fd82160bc2
Merge pull request #393 from thaJeztah/rootless_25.0.3
...
rootless: update to 25.0.3
2024-02-07 10:42:25 +01:00
Sebastiaan van Stijn
787b5a63d8
rootless: update to 25.0.3
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-02-07 01:47:51 +01:00
Sebastiaan van Stijn
30c34cc2d1
Merge pull request #391 from thaJeztah/gpg_asc
...
update script to use .asc, remove gpg as pre-requisite
2024-02-07 01:47:14 +01:00
Sebastiaan van Stijn
3b2a83b76f
Merge pull request #392 from thaJeztah/rootless_25.0.2
...
rootless: update to 25.0.2
2024-02-01 03:52:00 +01:00
Sebastiaan van Stijn
9f2bbf8d52
rootless: update to 25.0.2
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-31 20:04:43 +01:00
Sebastiaan van Stijn
811f32afe5
update script to use .asc, remove gpg as pre-requisite
...
Current distro versions now allow the GPG key to be stored as an `.asc` file,
which simplifies installation. Changing the file extension for the GPG key
to .asc lets apt-get know the GPG key is in ASCII armor format, in which case
there is no need to "dearmor", and we no longer need gpg as a pre-requisite.
Instructions for manual installation on Debian based distros were updated in
our documentation through [docker/docs@33befd6 ].
It's common for users to install packages in a combination of the convenience
script and manual (e.g. to update the packages after install, or vice-versa).
Given that both the script and the manual steps configure the repository, we
want those steps to align, otherwise (potentially?) warnings / errors may occur;
$ sudo apt-get update
E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ bullseye: /usr/share/keyrings/docker-ce-archive-keyring.gpg != /usr/share/keyrings/docker-archive-keyring.gpg
E: The list of sources could not be read.
In either case; let's make sure that our script aligns with the manual steps
that we document.
[docker/docs@33befd6 ]: https://github.com/docker/docs/commit/33befd692249d11ce7bc88052d82709a07a8107f
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-26 14:58:56 +01:00
Sebastiaan van Stijn
7b61087777
Merge pull request #390 from thaJeztah/rootless_25.0.1
...
rootless: update to 25.0.1
2024-01-24 11:40:31 +01:00
Sebastiaan van Stijn
81bc490b27
rootless: update to 25.0.1
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-24 11:31:00 +01:00
Sebastiaan van Stijn
756aedfc62
Merge pull request #389 from thaJeztah/rootless_25.0.0
...
rootless: update to 25.0.0
2024-01-19 14:58:01 +01:00
Sebastiaan van Stijn
d56d420c7a
rootless: update to 25.0.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-19 14:16:50 +01:00
Sebastiaan van Stijn
3e3a9ccee9
Merge pull request #388 from thaJeztah/rootless_25.0.0-rc.3
...
rootless: update test version to 25.0.0-rc.3
2024-01-18 00:30:46 +01:00
Sebastiaan van Stijn
82ebb03b43
rootless: update test version to 25.0.0-rc.3
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-17 23:32:54 +01:00
Sebastiaan van Stijn
f767e3169a
Merge pull request #387 from thaJeztah/rootless_25.0.0-rc.2
...
rootless: update test version to 25.0.0-rc.2
2024-01-13 10:29:38 +01:00
Sebastiaan van Stijn
2635a40783
rootless: update test version to 25.0.0-rc.2
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-13 02:03:57 +01:00
Bjorn Neergaard
df756112b1
Merge pull request #385 from thaJeztah/rootless_25.0.0-rc.1
...
rootless: update test version to 25.0.0-rc.1
2024-01-05 11:21:02 -07:00
Sebastiaan van Stijn
6d65082747
rootless: update test version to 25.0.0-rc.1
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-05 01:03:24 +01:00
Sebastiaan van Stijn
4a46d61433
Merge pull request #383 from linux-on-ibm-z/sles-update
...
Drop SLES 15-SP3 support
2024-01-04 17:35:56 +01:00
Prabhav Thali
c67d8fbf9c
Remove SLES 15.3 and make the script generic.
...
Signed-off-by: Prabhav Thali <Prabhav.Thali1@ibm.com >
2023-11-17 19:28:36 +05:30
Sebastiaan van Stijn
98c7397f6a
Merge pull request #382 from neersighted/patch-1
...
Update rootless-install.sh with 25.0.0-beta.1
2023-11-14 01:27:48 +01:00
Bjorn Neergaard
467bff1317
Update rootless-install.sh with 25.0.0-beta.1
...
25.0.0-beta.1 is now available via the test channel.
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com >
2023-11-13 15:22:03 -07:00
Sebastiaan van Stijn
03fb81c93b
Merge pull request #380 from thaJeztah/rootless_24.0.7
...
Update rootless-install to 24.0.7
2023-10-27 19:00:07 +02:00
Sebastiaan van Stijn
a013a9a9d8
Update rootless-install to 24.0.7
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-10-27 14:31:26 +02:00
Sebastiaan van Stijn
6d49f6535b
Merge pull request #378 from docker/24.0.6
...
rootless-install.sh: update to 24.0.6
2023-09-11 20:08:34 +02:00
Bjorn Neergaard
81f81e11a8
rootless-install.sh: update to 24.0.6
...
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com >
2023-09-11 09:34:30 -06:00
Bjorn Neergaard
e5543d4734
Merge pull request #377 from nickjj/deprecate-nightly
...
Deprecate the nightly channel
2023-09-11 09:26:00 -06:00
Nick Janetakis
c3499f5784
Deprecate the nightly channel
...
Signed-off-by: Nick Janetakis <nick.janetakis@gmail.com >
2023-09-09 08:29:47 -04:00
Bjorn Neergaard
b9139c0c06
Merge pull request #374 from thaJeztah/rootless_24.0.5
...
Update rootless-install to 24.0.5
2023-07-29 14:54:28 -06:00
Sebastiaan van Stijn
fe4aa80aa4
Update rootless-install to 24.0.5
...
release-notes: https://github.com/moby/moby/releases/tag/v24.0.5
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-07-29 17:18:14 +02:00
Sebastiaan van Stijn
acabc63a1d
Merge pull request #370 from neersighted/rootless_24.0.4
...
Update rootless-install to 24.0.4
2023-07-07 23:30:21 +02:00
Bjorn Neergaard
0b47ee975b
Update rootless-install to 24.0.4
...
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com >
2023-07-07 14:33:51 -06:00
Sebastiaan van Stijn
000a11bda5
Merge pull request #369 from neersighted/rootless_24.0.3
...
Update rootless-install to 24.0.3
2023-07-06 22:59:39 +02:00
Bjorn Neergaard
5e68b6f33c
Update rootless-install to 24.0.3
...
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com >
2023-07-06 14:51:39 -06:00
Sebastiaan van Stijn
c2de081170
Merge pull request #363 from thaJeztah/rootless_24.0.1
...
Update rootless-install to 24.0.1
2023-05-20 01:54:29 +02:00
Sebastiaan van Stijn
2d35e5b956
Update rootless-install to 24.0.1
...
release-notes: https://github.com/moby/moby/releases/tag/v24.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-20 01:42:57 +02:00
Sebastiaan van Stijn
5e146841d7
Merge pull request #362 from vvoland/vvoland-patch-1
...
Update rootless-install to 24.0.0
2023-05-16 19:17:47 +01:00
Paweł Gronowski
9041cdb0e3
Update rootless-install to 24.0.0
...
Release notes: https://github.com/moby/moby/releases/tag/v24.0.0
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2023-05-16 20:06:04 +02:00
Sebastiaan van Stijn
2a52adca42
Merge pull request #360 from thaJeztah/rootless_23.0.6
...
update rootless-install to 23.0.6
2023-05-09 16:53:47 +02:00
Sebastiaan van Stijn
18acea4221
update rootless-install to 23.0.6
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 13:57:37 +02:00
Sebastiaan van Stijn
fcb72050e3
Merge pull request #359 from thaJeztah/assorted_fixes_and_improvements
...
Assorted fixes and improvements
2023-05-08 13:55:42 +02:00
Sebastiaan van Stijn
e33616ec76
rewrite instructions
...
Provide more information how to use the script, its intended purpose, and
limitations of the script.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:56:42 +02:00
Sebastiaan van Stijn
0766385cac
add --channel option
...
Add a --channel option as alternative to the $CHANNEL environment variable;
./install.sh --channel test --dry-run
# Executing docker install script, commit:
apt-get update -qq >/dev/null
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl gnupg >/dev/null
install -m 0755 -d /etc/apt/keyrings
curl -fsSL "https://download.docker.com/linux/ubuntu/gpg " | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpg
echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy test" > /etc/apt/sources.list.d/docker.list
apt-get update -qq >/dev/null
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin >/dev/null
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:10 +02:00
Sebastiaan van Stijn
40266b3c1e
add --version option
...
Add a --version option as alternative to the $VERSION environment variable;
./install.sh --version 20.10
# Executing docker install script, commit:
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl gnupg >/dev/null
debconf: delaying package configuration, since apt-utils is not installed
+ sh -c install -m 0755 -d /etc/apt/keyrings
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg " | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg
+ sh -c chmod a+r /etc/apt/keyrings/docker.gpg
+ sh -c echo "deb [arch=arm64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
INFO: Searching repository for VERSION '20.10'
INFO: apt-cache madison docker-ce | grep '20.10' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3
INFO: apt-cache madison docker-ce-cli | grep '20.10' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce=5:20.10.24~3-0~ubuntu-jammy docker-ce-cli=5:20.10.24~3-0~ubuntu-jammy containerd.io docker-compose-plugin docker-ce-rootless-extras=5:20.10.24~3-0~ubuntu-jammy >/dev/null
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:10 +02:00
Sebastiaan van Stijn
a0faa888e8
validate --mirror, and sort options
...
Produce an error if an unknown mirror is provided. Also sort the options
in the switch.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:10 +02:00
Sebastiaan van Stijn
0731f2f67c
validate CHANNEL, and mark "edge" and "nightly" deprecated
...
The edge channel was already deprecated; the nightly channel has not been
updated for a long time, so (for now) mark it as deprecated as well.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:10 +02:00
Sebastiaan van Stijn
81857de3b2
add deprecation warnings for non-LTS Ubuntu versions that are EOL
...
Some users confuse "YY.04" versions for LTS versions, and not all users
pay close attention to versions reaching EOL. Print a warning for those
as well, because we no longer publish packages for these.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:10 +02:00
Sebastiaan van Stijn
a685296854
remove redundant quotes when resolving versions
...
These were just noise :)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:10 +02:00
Sebastiaan van Stijn
379e81609e
SLES: move opensuse_repo variable closer to where it's used
...
It's only used in a single location, so move it there
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:09 +02:00
Sebastiaan van Stijn
804ce01aca
use single-quotes for sed regex-patterns
...
While I haven't found cases where this caused issues, it probably doesn't
hurt to use single-quotes for these to prevent globbing.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:09 +02:00
Sebastiaan van Stijn
766b70c5be
prevent globbing when enabling/disabling rpm channels
...
I ran into this when I ran the script from within `/etc/yum.repos.d`:
+ sh -c 'dnf config-manager --set-disabled docker-ce-*'
Error: No matching repo to modify: docker-ce-staging.repo.
Took me a bit to understand why the script was failing, and then realized
the shell was expanding `docker-ce-*` to filenames in my current directory;
ls -l docker-ce-*
-rw-r--r--. 1 root root 2027 May 6 09:32 docker-ce-staging.repo
This patch quotes the channel name to prevent globbing.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-08 12:52:09 +02:00