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>
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>
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>
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>
- 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>