Commit Graph

73 Commits

Author SHA1 Message Date
Ralph 3fa0164e4c
Add quick troubleshooting step (#13887)
* Add quick troubleshooting step

If default umask isn't set with global read permissions, the keyring GPG file isn't found when updating the apt repos. The one liner command added will fix this issue.

* Fix grammar

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-11-26 12:56:45 +00:00
Sebastiaan van Stijn 7a63b540ab
engine/install: remove mention of Fedora 33
Fedora 33 reaches EOL Tomorrow, so let's remove it from the list
to not encourage using it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-11-22 13:59:37 +01:00
Sebastiaan van Stijn e1791f5b7d
engine: remove outdated instructions for derivatives
The information about which distro version to use to match upstream
Debian / Ubuntu versions was outdated. Given that Docker does not
officially support, nor tests, installing these packages on Ubuntu
and Debian derivatives, it's better to remove it, and leave it to
the user to find the correct codename; also see
https://docs.docker.com/engine/install/#other-linux-distributions

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-11-12 18:36:30 +01:00
Sebastiaan van Stijn 6ee5a14bb8
engine: add engine 20.10.10 release notes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-25 18:10:52 +02:00
Sebastiaan van Stijn d601e97f75
engine/install: remove apt-transport-https from instructions
This package is no longer needed on all current distro versions we support. From
the package description (https://packages.debian.org/buster/apt-transport-https);

> This is a dummy transitional package - https support has been moved into the
> apt package in 1.5. It can be safely removed.

Verifying the version of apt that's available in Ubuntu and Debian:

Ubuntu:

    docker run --rm ubuntu:xenial apt --version
    apt 1.2.35 (amd64)

    docker run --rm ubuntu:17.04 apt --version
    apt 1.4.6 (amd64)

    docker run --rm ubuntu:17.10 apt --version
    apt 1.5.2 (amd64)

    docker run --rm ubuntu:18.04 apt --version
    apt 1.6.14 (amd64)

    docker run --rm ubuntu:20.04 apt --version
    apt 2.0.6 (amd64)

Debian:

    docker run --rm debian:stretch apt --version
    apt 1.4.11 (amd64)

    docker run --rm debian:buster apt --version
    apt 1.8.2.3 (amd64)

    docker run --rm debian:bullseye apt --version
    apt 2.2.4 (amd64)

From the above; all currently supported versions of Ubuntu (18.04 and up), and
Debian (old-stable and stable) have apt > 1.5, so we can remove this dependency
from the installation instructions.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-20 17:39:22 +02:00
Usha Mandya c5f38d8b3b Add the next set of CTAs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-10-15 18:06:39 +01:00
Usha Mandya 5d3cb0e076
Add instructions on installing server and client binaries on Windows (#13676)
* Add instructions on installing server and client binaries on Windows:

Signed-off-by: Usha Mandya <usha.mandya@docker.com>

* Apply suggestions from code review

Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>

Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2021-10-15 14:54:26 +01:00
Usha Mandya 96efcf5feb Add Docker Desktop for linux cta
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-10-08 15:51:44 +01:00
Usha Mandya 99e546358f Add CTAs to the Docs pages
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-10-05 18:17:29 +01:00
Peter Dave Hello 1720aae2a2 Simplify Debian & Ubuntu Docker Engine installation guide 2021-10-02 15:39:32 +08:00
Sebastiaan van Stijn e41318a103
engine: remove Ubuntu 20.10 "Groovy" (EOL: 2021-07-22)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-15 19:27:41 +02:00
Sebastiaan van Stijn 173d3c65f8
fix broken (anchor) links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-13 15:07:49 +02:00
Sebastiaan van Stijn c4c4e05ee4
Merge pull request #13394 from linuxmetel/patch-1
Update debian.md
2021-08-27 16:01:00 +02:00
Sebastiaan van Stijn 599660d47f
s390x install steps updates
- fix sort order in output
- some minor other changes

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-26 11:11:00 +02:00
linuxmetel 5cd6f0ef11
Update debian.md
Update Debian's stable and Raspbian's stable
2021-08-23 15:50:03 +09:00
anujajakhade b781519e18 Updated docs for s390x for latest version
Signed-off-by: Anuja Jakhade <anujajakhade@gmail.com>
2021-08-20 04:36:10 +00:00
Sebastiaan van Stijn 346a066b68
Desktop: move "docker-for-windows" to "desktop/windows"
Unifying all content related to Docker Desktop to be withing the desktop
directory.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-14 13:28:15 +02:00
Sebastiaan van Stijn d0bf342e52
Desktop: move "docker-for-mac" to "desktop/mac"
Unifying all content related to Docker Desktop to be withing the desktop
directory.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-14 13:07:41 +02:00
Sebastiaan van Stijn e6569bc6ee
engine/install: sort distros and add "binaries" to matrix
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 12:49:05 +02:00
Sebastiaan van Stijn 3356fffaf0
engine/install: various copy-edits
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-05 21:30:56 +02:00
Sebastiaan van Stijn 2aa67d2670
Fix redirects, add notes about available arches, and minor edits
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-05 21:30:49 +02:00
Nirman Narang 055e6fd68a
DOCS: Added support for arch s390x for Ubuntu, RHEL and SLES
Added .md files for SLES and RHEL engine installation. Added indexing to _data/toc.yaml and engine/install/index.md. Modified engine/install/index.md, includes/install-script.md, engine/security/rootless.md, storage/storagedriver/device-mapper-driver.md, and storage/storagedriver/select-storage-driver.md to add info for added RHEL and SLES support. Modified engine/install/ubuntu.md to add s390x repos and other info. Added tab target for RHEL and SLES to engine/security/rootless.md along with other info.

Signed-off-by: Nirman Narang <narang@us.ibm.com>
2021-08-05 19:48:09 +02:00
Sebastiaan van Stijn 2e495edd4d
engine/install: various touch-ups
- lowercase "arm" architectures
- swap arm / arm64 columns (as arm 32-bit is only for a single distro)
- remove raspbian arm64 Raspbian is 32 bit, and we don't ship packages
  for raspbian arm64
- add (32-bit) mention to arm column
- add "Apple Silicon" to the Docker Desktop table for completeness

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-06 12:18:05 +02:00
Sebastiaan van Stijn e3a1f307a4
engine: remove Fedora 32, as it's EOL
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-05 21:12:10 +02:00
Sebastiaan van Stijn 0d67eb4917
engine: remove ubuntu 16.04 "xenial" and add deprecation warning
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-05 21:11:17 +02:00
Usha Mandya 685c3c915a
Merge pull request #12874 from thaJeztah/move_and_fix_redirects
remove some ee "stubs", and move redirects
2021-05-21 13:21:13 +01:00
Andreas Scheucher 2730b1e2c6
Added instructions on how to deal with MacOS security measures (#12837)
* Added instructions on how to deal with MacOS security measures

Mac OS prevents downloaded files to be executed.

Added the description how to allow it again.

* Minor style updates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-05-21 11:07:59 +01:00
Sebastiaan van Stijn 3974ba17aa
remove some ee "stubs", and move redirects
This moves some of the stubs that were still in place for docker enterprise,
and moves the redirects they contained to more sensible locations where possible,
also making these redirect slightly more "visible" for when we're editing.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-20 22:30:33 +02:00
Adrián Tóth 464b1c03c9
fixed command inconsistency 2021-04-15 10:55:36 +02:00
Adrián Tóth e589713da8
fixed service restarting commands 2021-04-15 10:26:06 +02:00
Sebastiaan van Stijn c876e5cba7
engine: update list of distros that we build on
Adds new distros:

- Ubuntu 21.04 "hirsute hippo"
- Debian/Raspbian 11 "bullseye"
- Fedora 34

Removes Debian 9 "stretch", which reached EOL in upstream Debian

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-12 19:24:00 +02:00
Andrew Kester 891837abf9 Add `lsb-release` to required debian and ubuntu packages
Certain installations may not have this.  Without this, the step
where `/etc/apt/sources.list.d/docker.list` will fail and write
garbled data to the file, potentially breaking apt.

Co-Authored-By: Andrew Kester <akester@cox.net>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-09 15:47:10 +01:00
Sebastiaan van Stijn 2a84b75739
engine/install: uninstall: add removing containerd state to all distros
This was only included in some distributions, so adding it to all
pages.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 15:02:23 +01:00
Sebastiaan van Stijn d95a4266ff
replace "output truncated" with special <...> (supported by "rouge")
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 15:02:21 +01:00
Sebastiaan van Stijn f4ba73ecbb
engine/instal: use "console" code-hints for examples
This tones down the prompt and command output, so that the commands
to run stand out more clearly.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 15:02:12 +01:00
Sebastiaan van Stijn 687b46db9e
engine: add missing sudo in ubuntu instructions
Looks like the Debian version was updated during review, but the Ubuntu variant
was forgotten in 760bb64ea3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-02 11:57:51 +01:00
denis-roy 760bb64ea3
Offering an alternative to the deprecated apt-key tool (#11990)
* Offering an alternative to apt-key (deprecated)

[Use trusted.gpg.d instead of apt-key · Issue #11625 · docker/docker.github.io](https://github.com/docker/docker.github.io/issues/11625)

As of Debian 10 / Ubuntu 20.10, apt-key is deprecated and will not be available after Debian 11 / Ubuntu 22.04

Although adding keys directly to `/etc/apt/trusted.gpg.d`/ is suggested by apt-key deprecation message, as per [Debian Wiki](https://wiki.debian.org/DebianRepository/UseThirdParty) GPG keys for third party repositories should be added to `/usr/share/keyrings` and referenced with the `signed-by` option in the source.list.d entry.

Providing a binary .gpg key instead of an ASCII Armored one might help shorten the lengthy command by removing the ` | gpg --dearmor ` bit.

This removes the software-properties-common provides add-apt-repository which we don't use anymore
2021-03-02 11:30:37 +01:00
Akihiro Suda 690e0010aa
update rootless docs
= _includes/install-script.md, engine/install/linux-postinstall.md =
- Remove "Rootless mode is currently available as an experimental feature."
  Close issue 12050

= engine/security/rootless.md =
== "Prerequiresites" section ==
- Remove information about old distros (Debian 9, CentOS 7.5-7.6)

== "Distribution-specific hint" section ==
- Tabified (`<div class="tab-content" />`)

== "Known limitations" section ==
- Kernel 5.11 supports rootless overlayfs, without the Ubuntu/Debian patch.

== "Install" section ==
- Promote RPM/DEB installation over TGZ installation.
  See docker/roadmap issue 188

== "Uninstall" section ==
- Add "Uninstall" section.
  Close issue 12053

== "Usage" section ==
- Added more information about systemd
- Move `nsenter` tips to "Tips for debugging" subsection under "Troubleshooting" section

== "Best practice" section ==
- Remove guide for `lxc-user-nic` network driver due to immaturity.
  Will be brought back in future.
  See rootless-containers/rootlesskit issue 138 .

== "Troubleshooting" section ==
- Add a guide for "can't open lock file /run/xtables.lock: Permission denied" (SELinux).
  See moby/moby issue 41230

- Add a guide for "failed to register layer: ApplyLayer exit status 1 ..." (NFS).
  Close docker/for-linux issue 1172

- Improve guides for slirp4netns.

- Remove v19.03 information (e.g., "cgroup v2 is unsupported, use cgroup v1")

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-12 19:36:51 +09:00
Akihiro Suda 6fec6ef0c3
engine/security: add more description about ssh://
Previously, the `ssh://` helper was only mentioned in `engine/security/index.md`.

The `ssh://` helper is now documented in "Protect the Docker daemon socket"
(`engine/security/protect-access.md`, nee `engine/security/https.md`).

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-02-10 19:06:09 +09:00
Sebastiaan van Stijn 6b1bae466f
engine: remove "upstart" section from post-install, and minor touch-ups
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-20 15:43:16 +01:00
Sebastiaan van Stijn ff16f50572
Rewrite logging section for dual logging (engine 20.10)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-20 15:43:10 +01:00
Sebastiaan van Stijn be718ce241
Engine: update distro versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-12-09 01:13:35 +01:00
Sebastiaan van Stijn 05f9d31264
Merge pull request #11644 from rafauke/patch-1
docs: update supported Fedora versions
2020-12-09 01:09:42 +01:00
Akihiro Suda 1976c2178c
v20.10 docs for cgroup v2 and rootless
* Docker now supports cgroup v2 (both rootful and rootless)
* Rootless mode graduated from experimental
* New storage driver: fuse-overlayfs

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-11-12 12:47:16 +09:00
Rafał Wyszomirski 8561258256
docs: update supported Fedora versions 2020-10-27 18:25:50 +01:00
Usha Mandya cb4a1293a7
Merge pull request #11620 from thaJeztah/old_engines
Remove references to obsolete engine versions
2020-10-26 14:49:51 +00:00
Sebastiaan van Stijn 2ce808edc0
Remove references to obsolete engine versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-26 15:45:07 +01:00
Sebastiaan van Stijn b952763986
engine: add platform headings to TOC
This allows deep-linking to specific sections. Also fixed the checks
in the support table to be left-aligned as they were supposed to be.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-26 15:05:37 +01:00
Sebastiaan van Stijn c119ed174e
Use https:// for links and examples
Found these using `http://[^lp10\*`<][^o]` (to exclude "localhost" and IP-addresses)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-13 12:09:11 +02:00
Sebastiaan van Stijn 393d3f6566
Add rel="noopener" to external links
See https://web.dev/external-anchors-use-rel-noopener/

Using noopener, as that addresses the security issue. "noreferer" blocks
the REFERER header, which may still be useful for some target URLs.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-12 13:09:30 +02:00