Commit Graph

2485 Commits

Author SHA1 Message Date
Jerae Duffin e973f0394a removed wording 2022-08-04 22:44:57 -05:00
CrazyMax 09c9f51bcf
remove most of absolute urls
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-08-03 11:50:33 +02:00
Justin Chadwell ad45d2d936 lint: tidy spaces inside spans 2022-07-28 11:27:10 +01:00
Justin Chadwell 4ff46f1e45 lint: header spacing rules 2022-07-28 11:27:10 +01:00
Justin Chadwell fd9fe19061 lint: tidy up ordered list prefixes 2022-07-28 11:27:10 +01:00
Sebastiaan van Stijn 67e63bcd87
Updates docs for s390x for latest version (#15245)
Signed-off-by: Prabhav Thali <Prabhav.Thali1@ibm.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Co-authored-by: Prabhav Thali <Prabhav.Thali1@ibm.com>
2022-07-27 21:51:52 +01:00
CrazyMax f2f55d1e8e
jekyll: remove include_remote liquid tag and use frontmatter for remote include
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-27 18:45:58 +02:00
Allie Sadler cab9f914bf
ENGDOCS-846 (#15219)
* ENGDOCS-846

* fix broken links

* fix links

* fix broken links

* fix broken links

* fix broken links
2022-07-27 13:26:22 +01:00
CrazyMax 57144bd5e2
dockerfile: create stub file with frontmatter
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-20 12:48:41 +02:00
David Scott db2bd107eb
docker scan: using an HTTP proxy (#15044)
* docker scan: using an HTTP proxy

Explain how to use an HTTP proxy in `docker scan`. It's confusing
because it doesn't use the same settings as the engine, the CLI
or Docker Desktop.

Signed-off-by: David Scott <dave.scott@docker.com>

* Update engine/scan/index.md

Clarify proxy:port as proxyAddress:port

Co-authored-by: Paweł Gronowski <me@woland.xyz>

* Update engine/scan/index.md

Capitalize PowerShell

Co-authored-by: Paweł Gronowski <me@woland.xyz>

Co-authored-by: Paweł Gronowski <me@woland.xyz>
2022-07-18 14:48:45 +01:00
CrazyMax 5088f2d82b
fix redirects
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-13 18:02:43 +02:00
Allie Sadler 38fec0d159
Engdocs 802b (#15108)
* moved install pages

* moved images

* update toc

* add redirects

* ammend page links

* fix broken links

* fix broken links

* fix broken links

* fix broken links
2022-07-13 10:41:56 +01:00
Dora Ribeiro adc61b973e
Edit to remove reference to missing image (#15069) 2022-07-08 10:09:47 +01:00
Sebastiaan van Stijn 335861479c
engine: remove CAP_PERFMON, CAP_BPF, CAP_CHECKPOINT_RESTORE from relnotes (#15050)
These capabilities were reverted in a38b96b8cd,
because the version of containerd and runc that shipped together with
docker 20.10.0 did not support them.

Current versions of containerd and runc support these, so possibly we can
include them again in a patch release, but otherwise support will come in
the next (22.06) release of docker engine.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-06 16:29:11 +01:00
Jared Boone e7be2f9381
Update ingress.md (#15068)
Minor edit
2022-07-06 11:40:30 +01:00
Fabio Guarini 0a07674d6b
doc: fix typo
Removed unnecessary 'and'
2022-06-30 22:18:16 -04:00
Usha Mandya 9403431ff7
Add Compose v2 reference (#14716)
* Add compose v2 reference
* Fix broken links
* Remove v1 compose reference files
* Remove Compose CLI completion

Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-06-21 13:12:05 +02:00
Sebastiaan van Stijn e0c3f68f94
engine: add release-notes for 20.10.17 (#14891)
* engine: add release-notes for 20.10.17

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

* Apply suggestions from code review

* Update engine/release-notes/index.md

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2022-06-10 10:07:55 +00:00
Dora Ribeiro d49af6a449
ENGDOCS 711 Revisited Compose Install Page (#14838)
Revisiting Compose installation
2022-06-02 18:10:37 +01:00
Sebastiaan van Stijn 4570727495
engine: remove some mentions of old Ubuntu and Engine versions
These were notes about distro versions that have been EOL for a long
time, and an old version of docker engine that's EOL as well.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-26 00:28:30 +02:00
Sebastiaan van Stijn 43d9e868b0
engine: move note about package split to 18.09 release notes
containerd, docker engine and the docker cli were split into separate
packages in the 18.09 release. We kept this note on the release-notes
for current releases, but by now it's mostly "old news", so move the
warning to the 18.09 release notes page (which was the release in which
this change was made).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-26 00:28:21 +02:00
Sebastiaan van Stijn 1b2b7b6eab
engine: remove warning about Ubuntu 16.04 "xenial" EOL
This warning has been in place for a Year, and while there's
still users running on this version of Ubuntu, it's not really
our responsibility to notify them about their distro version
being EOL.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-26 00:23:32 +02:00
Sebastiaan van Stijn 584e0c0313
engine: remove instructions for "nightly" and "test" channels
The "nightly" channel hasn't been updated for a long time, so while it's
not actively updated, we should not show instructions for it.

The "test" channel is still updated in preparation of new releases, but
including the instructions in between the regular installation procedure
introduced quite some "noise" that's irrelevant to most users (who would
be installing the "stable" channel).

This patch removes the instructions to enable the nightly and test channels
from the installation instructions.

While making these changes, I also synced somme wording between distros
for consistency, and removed a stray section about storage-drivers, as
that's already outlined in the "optional post-installation steps".

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-26 00:23:30 +02:00
Usha Mandya ac06689866
Merge pull request #14819 from usha-mandya/engdocs-720
Update note about the availability of DD4L
2022-05-25 15:09:37 +01:00
Usha Mandya c43befc48e Update note about the availability of DD4L
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-05-25 14:53:07 +01:00
CrazyMax f3c4a25133
fix files with CRLF control characters
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-25 07:54:32 +02:00
Tianon Gravi ec0809d448 Update to use "/etc/apt/keyrings" per APT maintainers recommendations
See https://tracker.debian.org/news/1305679/accepted-apt-240-source-into-unstable/:

    * Install an empty /etc/apt/keyrings directory.
      This directory is intended to provide an alternative to
      /usr/share/keyrings for placing keys used with signed-by.

See also https://wiki.debian.org/DebianRepository/UseThirdParty?action=diff&rev2=47&rev1=46 (which was edited following a discussion with the APT maintainers about the expected usage):

> If future updates to the key will be managed by an apt/dpkg package as recommended below, then it SHOULD be downloaded into `/usr/share/keyrings` using the same filename that will be provided by the package. If it will be managed locally , it SHOULD be downloaded into `/etc/apt/keyrings` instead.

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2022-05-23 11:09:43 -07:00
Allie Sadler ca314e1d4e
Merge pull request #14756 from aevesdocker/ENGDOCS-697
updating linux references throughout all docs, to DD
2022-05-18 12:37:34 +01:00
Allie Sadler 52d9961df2 changes after review 2022-05-17 15:57:25 +01:00
Sebastiaan van Stijn 90ea1e782a
engine: add release notes for 20.10.16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-17 16:40:04 +02:00
Sebastiaan van Stijn 6ed0af0f9f
Merge pull request #14713 from tnir/tnir/20.10.5
engine: fix typo in release notes for 20.10.15
2022-05-11 14:23:12 +02:00
Takuya Noguchi c02235996b Fix typo in release notes 20.10.5
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-05-11 04:47:44 +00:00
Sebastiaan van Stijn 67148253ba
engine: add known issues to 20.10.15 release notes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-10 13:48:02 +02:00
Anca Iordache bc4fb3e636
Prepare DDL docs for GA (#14648)
* Prepare doc pages for DDL GA release

  - Add DDL screenshots

Signed-off-by: Anca Iordache <anca.iordache@docker.com>

* Menu entries for DDL

Signed-off-by: Anca Iordache <anca.iordache@docker.com>

* update installation instructions

Signed-off-by: Anca Iordache <anca.iordache@docker.com>

* Update download links

Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2022-05-06 10:12:15 +01:00
Sebastiaan van Stijn 413c02b35c
Add release notes for Engine 20.10.15
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-05 22:38:07 +02:00
Guillaume Lours e10f19f952
Apply suggestions from code review
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-04-26 17:49:51 +02:00
Guillaume Lours f95abb647a Add docker-compose-plugin package in linux distro engine installation
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2022-04-25 18:47:37 +02:00
Sebastiaan van Stijn 461c6935c4
fix aligning in some output examples
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-12 11:44:41 +02:00
Usha Mandya 1ffb53ee8c fix console output
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-04-08 20:05:56 +01:00
Sebastiaan van Stijn 2ec61594a5
Merge pull request #14510 from Mandraenke/patch-1
added misssing "driver"
2022-04-08 00:14:35 +02:00
halprin 0d79d56878
Terminate the console fix-width example for --output 2022-04-07 15:57:39 -06:00
Chris Crone 287e23b48d
Add initial SBOM docs (#14516)
* sbom: Add initial docs

Signed-off-by: Chris Crone <christopher.crone@docker.com>

* Apply suggestions from code review

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

* Apply suggestions from code review

* Update engine/sbom/index.md

Add a new section for feedback

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2022-04-07 16:00:22 +01:00
Mandraenke 0de0cf0f1d
added misssing "driver"
The example for setting the MTU on the swarm ingress network uses the wrong property:

`--opt com.docker.network.mtu=1200`

instead of

`--opt com.docker.network.driver.mtu=1200`
2022-04-06 08:40:20 +02:00
Usha Mandya 19de201738
Merge pull request #14397 from SethuMK/patch-2
missed & in the powershellcommand
2022-04-01 10:31:04 +01:00
Usha Mandya 1cf511078d Update note on DD4L beta
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-03-31 17:26:01 +01:00
Usha Mandya ab9bde9e14 Add DD4L docs to the toc
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-03-29 11:32:34 +01:00
Sebastiaan van Stijn d707cc3ec5
engine: add release notes for v20.10.14
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-24 02:00:16 +01:00
SethuMK fc92869309
missed & in the powershellcommand 2022-03-16 09:33:19 -05:00
Usha Mandya 3c3ebce224 Add codename for Ubuntu 22.04
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2022-03-10 18:46:37 +00:00
Sebastiaan van Stijn 8f82af9fda
engine: add release notes for 20.10.13
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-10 19:04:16 +01:00
Dan Bámíkíyá da03cff6d7
Add link to Docker Compose repo to fix reference text 2022-02-11 15:52:36 +01:00
Rahul De 0a6ef09f05
Add contajners to unofficial libs 2022-01-15 09:57:05 +00:00
Sebastiaan van Stijn eae9d83c24
engine: fix heading levels to prevent them showing in right-hand nav
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-01-11 14:05:27 +01:00
jerae-duffin 223a28062a
Merge pull request #13964 from thaJeztah/engine_20.10.12_changelog
engine: add changelog for 20.10.12
2022-01-06 11:06:19 -06:00
Sebastiaan van Stijn df6a3281b9
Add some additional redirects for old URLs
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-12-20 12:37:21 +01:00
Kevin Köllmann 5bcc324688
Fixed rootlesskit binary path, mention daemon restart (#13932)
* Fixed rootlesskit binary path, mention daemon restart

`rootlesskit` lives at `/usr/bin/rootlesskit`. After setting `CAP_NET_BIND_SERVICE` capability daemon has to be restarted.

* Changed rootlesskit binary path to be dynamically resolved
2021-12-17 11:22:30 +00:00
Usha Mandya b5eb52e46a
Merge pull request #13924 from jguady/patch-1
Clarify Advanced Wordpress section
2021-12-17 11:09:43 +00:00
Usha Mandya 7b0e7b94f4 Update docker scan pages to include info on Log4J fix
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-12-15 11:42:37 +00:00
Sebastiaan van Stijn 036ac0d947
engine: add changelog for 20.10.12
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-12-13 14:32:52 +01:00
Usha Mandya d3f03c5203 Update Docker scan CTA
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-12-11 20:51:51 +00:00
mbehboodian be3e1a6289
Fix typo
Remove unnecessary backtick (`).
2021-12-09 07:06:42 +00:00
JayG 026093444f
Clarify Advanced Wordpress section
I believe this is the intended meaning, otherwise it is unclear where the name wp_db_secret is coming from when referenced as "keeping the same" by wp_db_password
2021-12-01 16:39:56 -07:00
Usha Mandya c979cc7f86
Merge pull request #13885 from rjharvey/master
Close io.ReadCloser in examples
2021-11-26 12:56:57 +00:00
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
Ryan Harvey cd53a8b852 Close io.ReadClosers in examples 2021-11-24 10:12:40 +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 376e2b2946
Merge pull request #13857 from thaJeztah/engine_20.10.11_changelog
Add Docker Engine 20.10.11 release notes
2021-11-18 03:15:42 +01:00
Sebastiaan van Stijn be580f3e41
Add Docker Engine 20.10.11 release notes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-11-17 21:16:35 +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
Peter Dave Hello ed135fe151 Update most links to use https by default
Reference:

- #11640
- d405b17ca2

Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2021-10-12 15:45:57 +08:00
Usha Mandya c13a6d5eff Remove cluster cli reference
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-10-11 15:59:59 +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
Sebastiaan van Stijn 3e87e73fb9
engine: add release-notes for v20.10.9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-10-04 16:26:18 +02:00
Peter Dave Hello 1720aae2a2 Simplify Debian & Ubuntu Docker Engine installation guide 2021-10-02 15:39:32 +08:00
Usha Mandya 0417b58c87 Remove Docker machine from toc, update other references
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-27 12:37:02 +01:00
Usha Mandya 01a6d5d55f Update scan CTA
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-09-24 11:46:04 +01: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 8a85eaca60
update compose-cli reference docs
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-13 23:02:40 +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
Nicolas De Loof 041277d14d
document compose.v2 new repository and RC3 release
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-02 12:34:00 +02:00
Usha Mandya e73cdcf0f1 More updates related to subscription changes, address review comments
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-31 14:35:21 +00:00
Sebastiaan van Stijn 6332424085
Merge pull request #12920 from cc-wr/bugfix/fix-seccomp-typo
Fix apparent typo regarding seccomp filtering for the syscall clone
2021-08-27 17:33:26 +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 b97db3206d
Merge pull request #13417 from gqqnbig/patch-1
Unset environment variables when uninstall rootless docker
2021-08-27 15:32:53 +02:00
Akihiro Suda 0908c993fe
rootless: suggest creating `docker.service.d/override.conf`, without modifying `docker.service` itself
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-27 18:07:32 +09:00
Akihiro Suda de0d13322a
rootless: remove outdated SELinux workaround for `/run/xtables.lock`
The SELinux workaround for `/run/xtables.lock` is no longer needed
since Docker 20.10.8 (moby/moby PR 42462)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-27 17:29:20 +09:00
Akihiro Suda 0416aeb03f
rootless: recommend installing `dbus-user-session`
rootless+cgroup2+systemd fails with a cryptic error when dbus-user-session dpkg is not installed.

```
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:385: applying cgroup configuration for process caused: error while starting unit "docker
-931c15729b5a968ce803784d04c7421f791d87e5ca1891f34387bb9f694c488e.scope" with properties [{Name:Description Value:"libcontainer container 931c15729b5a968ce803784d04c7421f791d87e5ca1891f34387bb9f694c488e"} {Name:Slice Value:"use
r.slice"} {Name:PIDs Value:@au [4529]} {Name:Delegate Value:true} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Val
ue:false}]: read unix @->/run/systemd/private: read: connection reset by peer: unknown.
```

ref: moby/moby issue 42793

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-27 17:26:18 +09:00
Akihiro Suda 8e48f0de0e
rootless: update for Debian 11
- sysctl `kernel.unprivileged_userns_clone=1` is no longer needed

- Recommend fuse-overlayfs.
  Debian kernel has modprobe option `permit_mounts_in_userns=1` but
  still unstable (moby/moby issue 42302)

- Now apt repo has relatively recent version of slirp4netns (1.0.1)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-27 17:26:18 +09:00
Sebastiaan van Stijn fbf817d974
Merge pull request #13412 from thaJeztah/carry_13381_s390x_changes
[carry 13381] Updated docs for s390x for latest version
2021-08-27 10:10:56 +02:00
QQ喵 d3a118cc9d
Unset environment variables PATH and DOCKER_HOST 2021-08-27 11:14:57 +08: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
Usha Mandya b3e792e495 Update Docker official images and DVPP references
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-19 00:01:01 +01:00
Sebastiaan van Stijn 1583678203
Add missing code-hints, and minor markdown edits
- Add missing code-hints (console, yaml)
- Consistently add an empty line after code-blocks
- Combine some examples where the output and the command were
  put in separate blocks. With the "console" code-hint, this
  is no longer nescessary.
- fix indentation in cloud/ecs-integration.md, which caused the
  numbered-list to be interrupted.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-16 12:59:23 +02: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 568e1eea79
Merge pull request #13304 from Forst/patch-1
Release notes: fix incorrect header level for 20.10.8 Swarm
2021-08-12 17:42:50 +02:00
Sebastiaan van Stijn c624b7e0cb
engine: fix incorrect Markdown link in release notes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-09 13:23:09 +02:00
Foster Snowhill ac04f7b0a0
Release notes: fix incorrect header level for 20.10.8 Swarm 2021-08-08 18:01:23 +02:00
Sebastiaan van Stijn 116e3a838f
engine: use "console" for shell examples
This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 17:20:02 +02:00
Sebastiaan van Stijn 9991771180
engine/security: use "console" for shell examples
This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 17:20:01 +02:00
Sebastiaan van Stijn 2477916f59
engine/api: use "console" for shell examples
This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 17:20:01 +02:00
Sebastiaan van Stijn 3b71231970
engine/swarm: use "console" for shell examples
This allows for easier copying of the commands, without selecting the
prompt.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-06 17:19:56 +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
Usha Mandya eb71d5904b
Update engine/release-notes/index.md
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2021-08-04 13:09:06 +01:00
Thomas de Grenier de Latour 7636e7caab
20.10.8: warning about $HTTP_PROXY breaking change 2021-08-04 13:38:14 +02:00
Usha Mandya 03c9d1fc36
Merge pull request #13282 from AkihiroSuda/folllow-up-13275
Follow-up to #13275 ("Add note about NFS mounts for rootless data-root")
2021-08-04 11:32:18 +01:00
Sebastiaan van Stijn ec6bced578
engine: add 20.10.8 release notes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-04 12:11:31 +02:00
Akihiro Suda 16284c47cb
Follow-up to #13275 ("Add note about NFS mounts for rootless data-root")
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-04 18:30:07 +09:00
Eli Uriegas 3ef4de1180
Add not about NFS mounts for rootless data-root
NFS mounts are not currently supported for rootless data-root so there should probably be a note about it so no one gets confused when it doesn't work.

Errors for running rootless containers when your data-root is an NFS mount look like:

```
docker: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: open /root/.bash_logout: permission denied.
```
2021-08-03 11:35:19 -07:00
Sebastiaan van Stijn 54ed39dd1e
fix missing stubs and TOC entries for docker compose
Also updated one link in language/golang to .md

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-30 10:22:35 +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
Jem Bishop c53a05b8c1
Workaround for outdated slirp4netns on debian (#13029)
* Workaround for outdated slirp4netns on debian

I had issue on debian 11 where the package on the 
main apt repositories was too old. This provides workaround, by 
adding the testing repos to sources list then upgrading slirp4netns

* pr review

- add console tag
- add newline before console code block
- remove the installation instructions to `slirp4netns` and link to the releases page, which will have it anyway.

* pr review

- add in suggested comment about vpnkit
2021-07-01 17:11:09 +01:00
Sebastiaan van Stijn 12c68277d4
Merge pull request #12947 from usha-mandya/engdocs-421
Remove Notary docs
2021-06-08 18:09:15 +02:00
Usha Mandya 71980f608a
Update engine/security/trust/index.md
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
2021-06-08 17:03:23 +01:00
Usha Mandya 3830cdcc02 Update URLs to point to the upstream CNCF Notary repository
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-08 13:42:46 +01:00
Usha Mandya bfa7894d07
Merge pull request #12935 from usha-mandya/il-221
Remove Docker App docs
2021-06-07 09:49:47 +01:00
Sebastiaan van Stijn 07f23ed661
Merge pull request #12946 from usha-mandya/engdocs-422
Remove docker registry CLI reference
2021-06-04 13:04:03 +02:00
Usha Mandya 516d2fc839 Remove Notary docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-03 01:08:40 +01:00
Usha Mandya 69a66dad14 Remove docker registry CLI reference
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-03 00:44:25 +01:00
Usha Mandya 6047b8f8bd Remove Docker App docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-03 00:16:18 +01:00
Sebastiaan van Stijn 53cbe8be06
Add release notes for Docker Engine 20.10.7
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-02 21:03:24 +02:00
Sebastiaan van Stijn 3d143df47e
changelog: fix incorrectly named libnetwork label
The correct name is `com.docker.network.container_iface_prefix`, but
the changelog accidentally used `interface` instead of `iface`, because
the libnetwork pull request used that as a title.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-31 15:30:49 +02:00
cc-wr 8ed0aa5316 Fix apparent typo. I do not believe CLONE_USERNS is a flag that actually exists. Based on the context, I believe CLONE_NEWUSER was the intended flag. 2021-05-31 05:17:59 -05: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
Sebastiaan van Stijn 030ebcd114
engine/security/protect-access: markdown touch-ups
- use "console" code hints for better copy/paste
- change links to point to markdown files

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-11 16:10:23 +02:00
unknown 477b71cb58 fixed broken link 2021-05-10 11:33:01 -05:00
Metal 47260ee549
Remove Command-line reference to a removed feature of docker app 2021-05-10 17:59:38 +07:00
Sebastiaan van Stijn e146c7f2cd
Merge pull request #12588 from aro5000/update_rootless_docker
Adding docker.socket to also be in disable command for rootless docker
2021-05-05 21:16:26 +02:00
Sebastiaan van Stijn c88e4718cf
Merge pull request #12706 from aofdev/patch-2
Update examples.md (Add parameter platform value is nil)
2021-04-23 16:27:34 +02:00
Sebastiaan van Stijn 13b1a61a2d
Merge pull request #12705 from aofdev/patch-1
Update index.md (Add parameter platform value is nil)
2021-04-23 16:26:02 +02:00
Matthias Scholz 0dd3dcd6ae
📝 🐛 typo command 2021-04-21 16:02:53 +02:00
Usha Mandya 35087c61e1
Merge pull request #12703 from thaJeztah/dockerfile_syntax
use Dockerfile "syntax" directive in examples
2021-04-21 10:12:21 +01:00
Guillaume Lours f2822d7862
Change the repository link to open an issue on docker scan plugin (#12722)
* Change the repository link to open an issue on docker scan plugin

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>

* Remove the statement on trials

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-04-21 09:36:58 +01:00
Sebastiaan van Stijn e22984f7d4
use Dockerfile "syntax" directive in examples
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.

This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 10:19:12 +02:00
Visarut Phusua 1fc1f0e4c9
Add parameter platform value is nil
- Run a container in the background
- Commit a container
2021-04-20 00:51:47 +07:00
Visarut Phusua ce3c977b70
Add parameter platform value is nil 2021-04-20 00:39:49 +07:00
Sebastiaan van Stijn 06651b34b8
remove old "voting app" images that are no longer referenced
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-19 10:38:54 +02:00
Sebastiaan van Stijn e4455a5f8f
Add / update some redirects for old URLs, and move old engine examples
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-19 10:38:52 +02:00
Anca Iordache 5161d0fd07 Document `compose images` command
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2021-04-15 17:59:04 +02:00
Usha Mandya 5db5ac020f
Merge pull request #12682 from europ/patch-1
fixed linux service commands
2021-04-15 15:33:35 +01:00
Usha Mandya 16359b7a67
Merge pull request #12654 from jiaming0708/patch-1
update the dotnet core image source
2021-04-15 15:29:57 +01:00
Sebastiaan van Stijn a6e2944ddf
Merge pull request #12648 from avivmu/patch-2
Rootless is not experimental anymore
2021-04-15 14:26:43 +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
Akihiro Suda 5f47c24504
rootless: update for v20.10.6
- btrfs is now supported (moby/moby PR 42253)
- CLI context "rootless" is now created by default (moby/moby PR 42109)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-14 14:47:57 +09:00
Tibor Vass 1e602747d0
Merge pull request #12657 from thaJeztah/update_distro_list
engine: update list of distros that we build on
2021-04-12 11:06:06 -07: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
Tibor Vass 48efeb0b58 Add release notes for 20.10.6
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-04-12 17:14:27 +00:00
Jimmy 2929492c0c
update the image source
* the image source is changed
* upgrade to 5.0
2021-04-12 14:46:57 +08:00
avivmu f35134f44a
Rootless is not experimental anymore
As mentioned in [https://docs.docker.com/engine/security/rootless/](Rootless mode) the feature has graduated from experimental in v.20.10
2021-04-10 11:37:33 +03:00
Sebastiaan van Stijn 1898b1b09c
add buildx install/uninstall
these commands are hidden in the cli, but functional, and mentioned
in the "working with buildx" introduction.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-07 16:12:08 +02:00
Aaron Stults 1c828097a6 Adding docker.socket to also be disabled otherwise any docker command run will re-enable docker.service 2021-03-27 16:02:43 -06:00
Andrew Grosser c6ef1e671d
Added important disambiguation to swarm mode (#10987)
* Added important disambiguation to swarm mode

This really needs to be added, I had no idea people gave up on docker/swarm because of a misunderstanding, but it's common enough we need to clarify it.

From Docker's public #swarm slack channel:
```
andrew grosser  4:45 PM
Hey @channel I am about to give a talk in San Francisco to a bunch of devops experts about swarm using my ingress and reverse proxy controller https://github.com/sfproductlabs/roo and one of the organizers said swarm was deprecated, is that so? It's so much easier than kubernetes, I can't imagine losing it.
sfproductlabs/roo
A zero config distributed edge-router & reverse-proxy (supporting multiple letsencrypt/https hosts). No dependencies.
Stars
40
Language
Go
<https://github.com/sfproductlabs/roo|sfproductlabs/roo>sfproductlabs/roo | Apr 9th | Added by GitHub
4:46
Is there something we don't know?
james_wells  4:48 PM
As of the most recent official Docker release, no Swarm is still officially part of Docker...  They merely added native support for Kubernetes
andrew grosser  4:49 PM
🙏 Phew, is there an EOL?
4:49
Thanks @james_wells
4:50
I think they going to get the grenade launchers out if I can't answer these questions
james_wells  4:51 PM
Now that is a good question and my guess is that no, there is no plan to remove it, at least before Docker 3.
andrew grosser  4:52 PM
Amazing thx, I have a system that is a startups dream and is personally saving me more than 10x using swarm, so praying it stays
bmitch:docker:  4:53 PM
Classic container deployed swarm is deprecated (I believe). Swarm mode that's integrated into the engine is still being developed by Mirantis with no EOL set.
4:53
So if someone says swarm is deprecated, make sure to ask "which swarm" they are referring to.
andrew grosser  4:54 PM
Ok thanks @bmitch
4:54
Think that's a brand thing we'll need to help change
james_wells  4:56 PM
@bmitch I am not sure I understand what you are sayin there.  Could you please explain the differences
bmitch:docker:  4:56 PM
See the disambiguation section: https://hub.docker.com/r/dockerswarm/swarm
james_wells  4:57 PM
Excellent.  Thank you sir
andrew grosser  5:02 PM
Thanks
bmitch:docker:  5:02 PM
See also this link where they are getting ready to archive the standalone swarm, aka classic swarm. https://github.com/docker/classicswarm/issues/2985#issuecomment-640486361
justincormackjustincormack
Comment on #2985 Why have all issues been closed?
The vast majority of issues were from 5 years ago when it was being actively developed, and the recent ones were all mistakes for swarmkit, other than some issues I resolved. Many were issues in components or Moby or other software and may be resolved. It is GitHubs (reasonable) recommendation that you close issues and PRs before archiving a repository so that people know they are not being worked on, and I was also looking to see if anyone came forward to say that they were still working on things or, indeed, actively using Swarm Classic.
<https://github.com/docker/classicswarm|docker/classicswarm>docker/classicswarm | Jun 8th | Added by GitHub
james_wells  5:08 PM
That is really unfortunate...  Kubernetes is simply too expensive IMNSHO, Swarm is nice and lightweight.
andrew grosser  5:08 PM
Both the different swarms point to the same point in the documentation in the disambiguation @bmitch
bmitch:docker:  5:09 PM
Swarm mode, aka swarmkit is alive and well.
andrew grosser  5:10 PM
Whoa I can see why they were confused
bmitch:docker:  5:10 PM
If you type docker swarm init you are not running classic swarm
andrew grosser  5:11 PM
Can someone inside docker add this to the swarm docs page? I think it's important
5:12
I think something talking about 2014 was EOLd but this is still current and alive would help.
bmitch:docker:  5:12 PM
Docker themselves isn't maintaining it, that team went to Mirantis, so someone over there would need to submit the PR
andrew grosser  5:12 PM
OK, could I?
bmitch:docker:  5:13 PM
Docs are in GitHub
andrew grosser  5:13 PM
Thanks
```

* Minor edit to the wording to clarify the diff

* Minor update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-03-25 16:03:11 +00:00
Usha Mandya 3db32ba9b4 Minor style update
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-25 11:47:37 +00:00
Usha Mandya 055127bc81 Remove beta note from Docker scan doc
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-24 19:47:04 +00:00
Usha Mandya 1651a230de Reorganize Docker scan docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-23 22:55:33 +00:00
Usha Mandya 41b2904738
Merge pull request #12466 from ndeloof/compose-cli
compose cli reference documentation
2021-03-10 11:41:38 +00:00
Usha Mandya ef78003d20
Merge pull request #12447 from akester/patch-1
Add `lsb-release` to required debian packages.
2021-03-09 14:59:30 +00: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
Nicolas De Loof 4a68e6cca3
compose cli reference documentation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-09 12:16:34 +01:00
Usha Mandya c64aca187a
Merge pull request #12440 from usha-mandya/engdocs-363
Update docker scan version
2021-03-09 09:34:59 +00:00
Usha Mandya 274266690f Fix URL display issue
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-05 10:48:02 +00:00
Usha Mandya 5bceac5dc9 Update docker scan version
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-03-04 12:55:21 +00:00
Tibor Vass c236f5638a Add release notes for 20.10.5
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-03-02 22:36:29 +00: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
Akash Borad 39e00df035
Fix typo in asp.net core sample docs 2021-02-28 13:22:04 +05:30
Tibor Vass 20a868c64f Add release notes for 20.10.4
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-02-26 16:26:36 +00:00
Sebastiaan van Stijn 734e868ade
Merge pull request #12234 from AkihiroSuda/rootless
update rootless docs
2021-02-25 11:26:36 +01:00
Usha Mandya ec70070506 Add note on viewing scan results on Desktop and Hub dashboards
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-02-17 17:35:05 +00:00
Sebastiaan van Stijn 238c346705
Fix redirect for "/engine/security/https/"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-12 19:43:02 +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
Tibor Vass 35b2f26163 Add release notes for 20.10.3 and 19.03.15
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-02-01 23:55:22 +00:00
Sebastiaan van Stijn 4291e391bd
fix broken links in "working with contexts"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-21 15:58:03 +01: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 3a794b3197
(temporarily) replace compose-file deep links to v3 docs
The documentation curently doesn't contain reference docs for the
unified (version-less) compose-file syntax, so for now replacing
all links to point to the v3 compose-file reference, which is still
present.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-07 14:21:37 +01:00
Sebastiaan van Stijn 48b9da14ba
engine/api: add redirects and link for archived API versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-05 16:18:42 +01:00
Sebastiaan van Stijn 2666a4892c
Merge pull request #11977 from cclauss/patch-1
print() is a function in Python 3
2021-01-05 14:39:48 +01:00
Sebastiaan van Stijn 54744c8564
engine: add missing release notes for 19.03.14
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-05 11:50:24 +01:00
Sebastiaan van Stijn e4ecf664d5
Merge pull request #11865 from gtardif/compose-cli-docs
Compose cli reference docs
2021-01-05 11:25:06 +01:00
Tibor Vass c3637fd0e6 Add engine 20.10.2 release notes
Signed-off-by: Tibor Vass <tibor@docker.com>
2021-01-05 09:04:20 +00:00
Guillaume Tardif cd5bc70940 Include ACI/ECS reference docs from compose-cli and make them easier to find for docker users
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-04 16:16:12 +01:00
Christian Clauss 1878deaf57
print() is a function in Python 3
Python 2 died on 1/1/2020 and legacy print statements are syntax errors in all currently supported versions of CPython.
2020-12-24 13:34:12 +01:00
Tibor Vass 3e06ed6791
Merge pull request #11874 from developer-guy/patch-1
Fix trust_delegation.md for target role
2020-12-24 00:07:14 -08:00
Sebastiaan van Stijn 97abade445
Merge pull request #11869 from pacoxu/patch-2
release-note update: containerd is 1.4.3 in v20.10.0
2020-12-15 15:40:07 +01:00
Tibor Vass d73fecdc79 Add engine 20.10.1 release notes
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-15 07:58:29 +00:00
Usha Mandya 5182176414
Merge pull request #11895 from fahedouch/update-release-note
Update release-note
2020-12-14 13:25:31 +00:00
Nicolas De Loof 3a8e1dd311
x-aws-vpc expect an ID, not ARN
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-12-14 09:59:28 +01:00
fahed dorgaa 872f685020
Update index.md
based on this comment https://github.com/moby/buildkit/issues/1892#issuecomment-743409990. the source tracking feature is only possible with `buildx` v0.5-rc which is not available in docker 20.10
2020-12-12 22:27:26 +01:00
Usha Mandya 70831b5a2d
Update index.md 2020-12-11 14:11:26 +00:00
Bahadır YARDIM 4d5275f5e6
Severity parameter samples UI bug fixed. 2020-12-10 19:09:30 +03:00
Usha Mandya a80750a132
Merge pull request #11866 from bhdryrdm/patch-2
Forgotten dash added for exclude-base parameter.
2020-12-10 15:12:29 +00:00
Guillaume Lours 872d7dc38a
Add documentation of the severity flag in Docker Scan plugin (#11842)
* Add documentation of the severity flag in Docker Scan plugin

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>

* Update documentation after PR review

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>

* Add documentation for Docker Scan --group-issues flag

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>

* Minor update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-12-10 14:59:27 +00:00
Batuhan Apaydın cc7d5b6697
Update trust_delegation.md
I think the target role should be target/releases instead of the targets/targets.
2020-12-10 16:52:37 +03:00
Paco Xu bd1a3510a5
release-note update: containerd is 1.4.3 in v20.10.0 2020-12-10 11:18:58 +08:00
Bahadır YARDIM 13347fee1f
Forgotten dash added for exclude-base parameter. 2020-12-09 14:33:16 +03:00
Sebastiaan van Stijn d6fee67243
Merge pull request #11861 from tiborvass/20.10-release-notes
Add engine 20.10.0 release notes
2020-12-09 02:27:09 +01:00
Tibor Vass f5f5ef788e Add engine 20.10.0 release notes
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-09 01:18:41 +00: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
Tibor Vass 8f16fc161b Move main release notes to 19.03.md
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-09 00:06:32 +00:00
Sebastiaan van Stijn 2f8c3f1010
Merge pull request #11862 from thaJeztah/update_20.10
Update engine reference for 20.10 release
2020-12-09 01:06:12 +01:00
Sebastiaan van Stijn 33ad3d9bbf
Merge pull request #11042 from AkihiroSuda/prep-20-03
v20.10 docs for cgroup v2 and rootless
2020-12-09 01:05:54 +01:00
Sebastiaan van Stijn 3ed7250644
Update engine reference for 20.10 release
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-12-09 00:50:04 +01:00
Tibor Vass 8719d55193 Remove empty stub 19.03 release notes
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-08 23:48:29 +00:00
avichalchum 19f2268e8f
Update dotnetcore.md (#10902)
* Update dotnetcore.md

Adding an example for .Net Core docker files as consumed by build agents and recommended by Microsoft best practices.

* Update engine/examples/dotnetcore.md

Co-authored-by: Guillaume Tardif <guillaume.tardif@gmail.com>

* Format updates

* Update dotnetcore.md

Co-authored-by: Guillaume Tardif <guillaume.tardif@gmail.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-12-08 11:28:13 +00:00
Ben De St Paer-Gotch 84af01c18a
Update ecs-integration.md
Fixing high throughput in example
2020-12-07 18:12:08 +00:00
zori 398d77002d
Fix typo in note for "create a new swarm" 2020-12-01 14:57:42 +01:00
Nicolas De loof d46de2ae4f
Document required IAM permissions (#11794)
* Document required IAM permissions

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

* Apply suggestions from code review

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

Co-authored-by: Guillaume Tardif <guillaume.tardif@gmail.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-11-30 11:18:05 +00:00
Chris Crone 73db5c6076 ecs: Fix typo
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-11-19 10:22:25 +01:00
Nicolas De loof 2425fe8b90
Some more details and links (#11766)
* Some more details and links

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

* Minor edits

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-11-18 18:50:48 +00:00
Usha Mandya 050d40438c
Merge pull request #11771 from ndeloof/elb
Document custom load balancer usage
2020-11-18 18:33:52 +00:00
Usha Mandya cf81f3ca16
Apply suggestions from code review
Co-authored-by: Chris Crone <christopher.crone@docker.com>
2020-11-18 18:29:45 +00:00
Nicolas De Loof c7752c1f87
Document custom load balancer usage
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-11-18 11:53:37 +01:00
Guillaume Tardif 29bd2b0d3e Adding more basic examples of compose files, and small updates on ECS services dependencies, service name resolution
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-17 17:07:03 +01:00
Usha Mandya 8425cf802c
Merge pull request #11751 from gtardif/aci_ecs_update
Aci ecs update
2020-11-16 16:14:17 +00:00
Guillaume Tardif a9a219b757 ECS doc reordering & minor changes
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-16 14:18:03 +01:00
Usha Mandya ae1b83413f
Merge pull request #11717 from carehart/patch-4
help user view the container running
2020-11-13 15:47:30 +00:00
Guillaume Tardif 027b6599b0 Fix wrong flag name in ACI doc
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-13 15:45:27 +01:00
Guillaume Tardif 4b28e8e536
Added health check docs, & details on updating apps (#11729)
* Added health check docs, & details on updating apps

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>

* Apply suggestions from code review

Co-authored-by: Chris Crone <christopher.crone@docker.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* Minor format updates

Fixed typos, removed extra blank lines

Co-authored-by: Chris Crone <christopher.crone@docker.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-11-12 15:23:33 +00: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
Takuya Noguchi b861fcde5a Remove duplicate 17.03.2-ce entry from Engine 17.03 release notes
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2020-11-11 04:10:53 +00:00
Usha Mandya 47ab17223a
Merge pull request #11725 from tnir/fix-19.03.9-release-note
Fix 19.03.9 release note
2020-11-10 15:09:33 +00:00
Usha Mandya 98f568ca4a Remove beta flags for ECS GA release
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-11-10 09:33:23 +00:00
Takuya Noguchi ffeac58561 Fix 19.03.9 release note
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2020-11-10 02:05:51 +00:00
Charlie Arehart 79ceaaecec
Update engine/context/aci-integration.md
Signed-off-by: Charles Arehart <charlie@carehart.org>

Co-authored-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2020-11-09 09:49:31 -06:00
Fabian M 65d98b3cd9
Fix syntax: Add missing backtick 2020-11-08 22:33:15 +01:00
Charlie Arehart c4d43004d2
help user view the container running
The current instructions lead the user through creating a context and running a sample nginx container, but it never shows the user how to go about viewing it. I have added that.
2020-11-07 22:34:26 -06:00
Usha Mandya c3c0e1050f Remove beta flags in the ACI doc
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2020-11-06 11:02:04 +00:00
Charlie Arehart d930970e14
correct typos 2020-11-04 19:29:59 -06:00
Akihiro Suda 7bafc72829
engine/examples: remove sshd example
The ssh example was really bad; it even leaks the root password as a plain text in the image :(

This commit removes the sshd example and discourage people to dockerize sshd.

The `running_ssh_service.md` page itself is not removed because there
are hyperlinks on the Internet to that page.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-11-04 13:44:17 +09:00