Commit Graph
364 Commits
Author SHA1 Message Date
Sebastiaan van Stijn e363bcee49 rootless-install.sh: update to docker 20.10.10
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-25 17:10:42 +02:00
Sebastiaan van Stijn f329e17e52 Merge pull request #257 from AkihiroSuda/rootless-20.10.9
rootless-install.sh: update to 20.10.9
2021-10-05 08:38:02 +02:00
Akihiro Suda 339bbd1dee rootless-install.sh: update to 20.10.9
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-10-05 14:38:41 +09:00
Sebastiaan van Stijn 93d2499759 Merge pull request #250 from linux-on-ibm-z/s390x-sles-changes
Added a generic fix for enabling SLES repos
2021-08-20 09:42:47 +02:00
anujajakhade 09607b8fc4 Added a generic fix for enabling SLES repos
Signed-off-by: Anuja Jakhade <anujajakhade@gmail.com>
2021-08-20 04:19:45 +00:00
Sebastiaan van Stijn 2c9e027241 Merge pull request #251 from meabed/patch-1
Fix non-interactive installation
2021-08-20 00:49:10 +02:00
Mohamed Meabed a49ecdef76 Fix non-interactive installation
gpg prompt for overwriting the keyring file - adding `--yes` will fix it
```
You may press Ctrl+C now to abort this script.
+ sleep 20
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
File '/usr/share/keyrings/docker-archive-keyring.gpg' exists. Overwrite? (y/N)
```

Signed-off-by: Mohamed Meabed <mo.meabed@gmail.com>
2021-08-19 18:01:30 -04:00
Sebastiaan van Stijn 0e685c6ac0 Merge pull request #248 from thaJeztah/carry_239_s390x_script
Added support for sles (s390x) in installation script (carry 239)
2021-08-09 10:09:40 +02:00
anujajakhade 63fb2060c9 Added support for sles (s390x) in installation script
Signed-off-by: Anuja Jakhade <anujajakhade@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-09 10:03:48 +02:00
Sebastiaan van Stijn f7e485202d Merge pull request #246 from thaJeztah/update_rootless_extras
rootless-install.sh: update to 20.10.8
2021-08-04 02:32:25 +02:00
Sebastiaan van Stijn 3749cb7b46 rootless-install.sh: update to 20.10.8
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-04 02:15:34 +02:00
Sebastiaan van Stijn 28bc4d09b3 Merge pull request #243 from thaJeztah/carry_241_add_bullseye
Add support for debian bullseye and deprecate apt-key (carry 241)
2021-07-31 00:13:10 +02:00
YadominJintaandSebastiaan van Stijn 265aebf0c0 apt-key is deprecated
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: YadominJinta <i@yadom.in>
2021-07-31 00:07:40 +02:00
YadominJinta b7f48ab89e add debian bullseye support
Signed-off-by: YadominJinta <i@yadom.in>
2021-07-18 01:51:10 +08:00
Sebastiaan van Stijn ef254df8c2 Merge pull request #232 from thaJeztah/remove_jessie_stretch
remove code for Debian Jessie and "Kali Linux"
2021-07-06 08:47:59 +02:00
Sebastiaan van Stijn 5e579a63d7 remove "add_debian_backport_repo()", as it's no longer in use
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-05 20:37:49 +02:00
Sebastiaan van Stijn 3beefb7275 remove code for Debian Jessie and "Kali Linux"
Jessie reached EOL quite some time ago, and we do not support
Debian/Ubuntu derrivatives, so removing code for Kali Linux.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-05 20:09:52 +02:00
Sebastiaan van Stijn e93e55402e Merge pull request #238 from thaJeztah/xenial_eol
Add deprecation warning for Ubuntu Xenial (16.05) and other EOL distro versions
2021-07-05 19:12:38 +02:00
Sebastiaan van Stijn c1f1c9c6ae Add deprecation warning for Ubuntu Xenial (16.05) and other EOL distro versions
This adds a deprecation warning for distro versions that reached EOL, and for
which we no longer maintain updates.

Note that the list of versions for which we produce warnings is not "complete",
and only contains versions that either reached EOL recently, or LTS versions
that may still be commonly in use.

With this patch;

Running inside a fedora:32 container:

    DEPRECATION WARNING
        This Linux distribution (fedora 32) reached end-of-life and is no longer supported by this script.
        No updates or security fixes will be released for this distribution, and users are recommended
        to upgrade to a currently maintained version of fedora.

    Press Ctrl+C now to abort this script, or wait for the installation to continue.
    ^C

Running inside an ubuntu:xenial container:

    DEPRECATION WARNING
        This Linux distribution (ubuntu xenial) reached end-of-life and is no longer supported by this script.
        No updates or security fixes will be released for this distribution, and users are recommended
        to upgrade to a currently maintained version of ubuntu.

    Press Ctrl+C now to abort this script, or wait for the installation to continue.
    ^C

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-04 13:17:19 +02:00
Sebastiaan van Stijn 1a7e2fbac8 Merge pull request #235 from thaJeztah/install_recommends
deb: explicitly install docker-ce-cli, scan-plugin, and docker-ce
2021-06-07 15:30:27 +02:00
Sebastiaan van Stijn 92cec076fa deb: explicitly install docker-ce-cli, scan-plugin, and docker-ce
The scripts is using "--no-install-recommends" to provide a more
minimal install, and to prevent installing "latest" version of
(e.g.) the engine when installing the CLI.

This patch:

- adds some utilities to compare versions
- skips CLI-version discovery on older versions (before 18.09)
  which did not have separate packages for the CLI
- on versions 20.10 and up (or if no version was specified), also
  install the scan cli plugin (support for cli plugins was added
  in docker 19.03, but not installing on that version by default))

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-03 18:23:55 +02:00
Sebastiaan van Stijn 62d63f6870 Merge pull request #236 from thaJeztah/remove_migrate_message
remove warning about pre-1.10 update
2021-06-03 18:14:20 +02:00
Sebastiaan van Stijn 666023805e remove warning about pre-1.10 update
When upgrading docker from versions older than v1.10, the image
store must be migrated for the content-addressable store.

Docker 1.10 was released more than 5 years ago, so people running
versions older than that, probably have more urgent things to
be concerned about, so removing this warning.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-03 16:33:57 +02:00
Sebastiaan van Stijn 4309d55aa0 Merge pull request #234 from AkihiroSuda/whichless
rootless-install.sh: use command -v instead of which
2021-06-03 12:35:30 +02:00
Akihiro Suda 14cc52aa0d rootless-install.sh: use command -v instead of which
The which command is often missing.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-06-03 15:19:04 +09:00
Sebastiaan van Stijn fa54c48917 Merge pull request #233 from thaJeztah/update_rootless_install
rootless-install.sh: update to 20.10.7
2021-06-02 23:22:03 +02:00
Sebastiaan van Stijn 99ec16665f rootless-install.sh: update to 20.10.7
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-02 23:02:12 +02:00
Sebastiaan van Stijn e9faf4df6c Merge pull request #227 from AkihiroSuda/rootless-upgrade-step
rootless-install.sh: print upgrade steps
2021-04-23 09:17:52 +02:00
Akihiro Suda 6580690119 rootless-install.sh: print upgrade steps
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-23 15:48:15 +09:00
Sebastiaan van Stijn 8e12ac5476 Merge pull request #225 from StefanScherer/rootless-20.10.6
Bump rootless install script up to 20.10.6
2021-04-12 22:46:04 +02:00
Stefan Scherer 31cdc565c9 Bump up to 20.10.6
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2021-04-12 19:44:15 +02:00
Stefan Scherer 7cae5f8b0d Merge pull request #216 from AkihiroSuda/rootless-20.10.4
rootless-install.sh: bump up to 20.10.5
2021-03-09 08:24:47 +01:00
Akihiro Suda 86fe9ccbc2 rootless-install.sh: bump up to 20.10.5
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-03-03 13:53:18 +09:00
Akihiro Suda 7c84632de6 rootless-install.sh: bump up to 20.10.4
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-03-01 14:03:48 +09:00
Sebastiaan van Stijn 5c474c52f1 Merge pull request #215 from AkihiroSuda/apt-get-rootless
install docker-ce-rootless-extras explicitly + unrecommend `sudo usermod -aG docker me`
2021-02-25 15:11:16 +01:00
Akihiro Suda 5f684d2ae8 Merge pull request #2 from thaJeztah/review_suggestions 2021-02-25 20:15:51 +09:00
Sebastiaan van Stijn b5567e71b7 Update "post-install" output
- use "/go/" redirect URLs for links to docs.docker.com, which are
  easier to remember, and allows us the flexibility to point them
  to new locations in the docs if content is moved.
- remove instructions for giving non-root access,  and instead
  include a link to the documentation. The existing "usermod"
  instruction may not be complete, and may not work on all
  platforms, so providing a link to the documentation allows
  us to go more into depth.
- remove the (now unused) $your_user variable
- Update the "daemon attack surface" warning to mention
  "privileged Docker daemon", to make clear that this is
  mostly (only) a concern if the daemon is not running
  rootless.
- Wrapped / rephrased the output to make sure it fits in
  80-characters (to prevent unwanted wrapping)
- Fixed / updated some other links while at it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-25 11:52:15 +01:00
Stefan Scherer a6b26c6da5 Merge pull request #214 from lianghao208/shellcheck
fix README
2021-02-15 09:39:42 +01:00
Akihiro Suda e5b163217e install.sh: promote Rootless mode over "sudo usermod -aG docker me"
Fix issue 210

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-15 13:02:29 +09:00
Akihiro Suda 7ac13ea193 install.sh: install docker-ce-rootless-extras explicitly
Fix issue 212

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-15 13:02:29 +09:00
lianghao208 2f76680c89 fix README
Signed-off-by: lianghao208 <302824716@qq.com>
2021-02-15 11:16:02 +08:00
Stefan Scherer 27d05be28b Merge pull request #211 from AkihiroSuda/rootless-20.10.3
rootless-install.sh: bump up to 20.10.3
2021-02-04 08:35:45 +01:00
Akihiro Suda f79b9b6c67 rootless-install.sh: bump up to 20.10.3
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-02 14:21:56 +09:00
Stefan Scherer 9dd5b52ae6 Merge pull request #209 from AkihiroSuda/rootless-20.10.2
rootless-install.sh: bump up to 20.10.2
2021-01-14 07:36:06 +01:00
Akihiro Suda f9cd6620d3 rootless-install.sh: bump up to 20.10.2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-01-07 14:59:29 +09:00
Stefan Scherer a11ea7368b Merge pull request #203 from AkihiroSuda/rootless-20.10.1
rootless-install.sh: bump up to 20.10.1
2020-12-16 07:52:45 +01:00
Stefan Scherer cb5cd35ec4 Merge pull request #202 from AkihiroSuda/rootless-cleanup
rootless-install.sh: remove v19.03 functions
2020-12-16 07:50:50 +01:00
Akihiro Suda 3319f3b80b rootless-install.sh: bump up to 20.10.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-15 18:47:29 +09:00
Akihiro Suda 03b86b4145 rootless-install.sh: remove v19.03 functions
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-09 14:54:05 +09:00
Tibor Vass 3d8fe77c2c Merge pull request #201 from thaJeztah/update_20.10
Update rootless-install to 20.10.0
2020-12-08 19:54:23 -08:00