Commit Graph

303 Commits

Author SHA1 Message Date
Guillaume Lours b92ebe5fbf
Replace docker-compose calls (#17881)
* use 'docker compose' instead of 'docker-compose' in Swarm documentation

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>

* replace old usages of 'docker-compose' by 'docker compose'

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>

---------

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2023-08-08 10:05:39 +01:00
Vitor Anjos 2912902b96
update filtered syscalls
Signed-off-by: Vitor Anjos <bartier@users.noreply.github.com>
2023-06-26 14:33:08 -03:00
David Karlsson 888b052389 engine: create a section for network drivers
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-06-01 13:53:24 +02:00
Sebastiaan van Stijn afeaca91a8
update references to docker engine to v24.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-19 15:05:10 +02:00
Sebastiaan van Stijn 6cf04bb21f
rootless: update example to use v23.0
Also remove mentions of obsolete version of docker that introduced rootless.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-03 15:07:00 +02:00
Yashasvi Chaurasia 119f4dcca6
docs: updated trust_delegation.md
Signed-off-by: Yashasvi Chaurasia <yashasvi12977@gmail.com>
2022-09-26 00:07:12 +05:30
Dockertopia 58a70e7d45
Loss of keys - update of warnings to users (#15577)
* Request for change in ENGDOCS-977 and some enhancements
2022-09-06 14:18:58 +01:00
Dockertopia ef28f705dd
Install page improvement based on feedback (scenario2) (#15494)
* Install page improvement based on users and PM feedback
* Exploring a second scenario deriving from additional feedback
* Review feedback
2022-09-05 10:35:30 +01:00
Dockertopia 1613609713
Merge pull request #15357 from Slawka/patch-1
Update certificates.md
2022-08-18 15:56:25 +01:00
dockertopia c3efb2f95f Minor edits for clarification 2022-08-18 15:47:59 +01:00
Takuya N 8113998f20
Fix dead link for Docker Support (#15386)
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-08-16 11:29:28 +02:00
Slawka 0b8f21f220
Update certificates.md
you need to specify the format of the CA certificate PEM
2022-08-10 22:37:22 +03:00
Justin Chadwell ad45d2d936 lint: tidy spaces inside spans 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
Fabio Guarini 0a07674d6b
doc: fix typo
Removed unnecessary 'and'
2022-06-30 22:18:16 -04: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 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 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 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
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
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 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 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 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
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
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
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 516d2fc839 Remove Notary docs
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-06-03 01:08:40 +01: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
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
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 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
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
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
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
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
Sebastiaan van Stijn 734e868ade
Merge pull request #12234 from AkihiroSuda/rootless
update rootless docs
2021-02-25 11:26:36 +01:00