Commit Graph

56405 Commits

Author SHA1 Message Date
Usha Mandya e8e7f7f05d First draft for subscription changes
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-31 14:35:20 +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 9ec692e898
Merge pull request #13072 from ghodsizadeh/patch-1
Update deploying.md
2021-08-27 17:19:28 +02:00
Sebastiaan van Stijn 712caa1ac7
Merge pull request #13415 from cforsyth68/patch-1
Update 05_persisting_data.md
2021-08-27 17:17:38 +02:00
Usha Mandya a7bcb2b59d
Merge pull request #13388 from thaJeztah/update_engine_reference
engine: update reference docs with "console" code hints
2021-08-27 16:14:39 +01:00
Sebastiaan van Stijn 4c50937eff
Merge pull request #13108 from altimmons/patch-1
Update environment-variables.md to include critical syntax info
2021-08-27 16:42:45 +02:00
Sebastiaan van Stijn e88e1aa90c
Merge pull request #13080 from hastadhana/patch-1
Improve code formatting on README
2021-08-27 16:35:55 +02:00
Sebastiaan van Stijn 055130c6b5
Merge pull request #13420 from mjomble/patch-1
Fixed number of options in description
2021-08-27 16:06:02 +02:00
Sebastiaan van Stijn 60709ed648
Merge pull request #13423 from arvind-007/patch-1
Update build-images.md
2021-08-27 16:05:39 +02:00
Sebastiaan van Stijn a843bbcaa9
Merge pull request #13362 from zgfh/patch-1
Update troubleshoot.md
2021-08-27 16:04:50 +02:00
Sebastiaan van Stijn fb307b4d01
Merge pull request #13373 from rpatterson/patch-1
fix(yaml): Avoid bool type error
2021-08-27 16:02:53 +02:00
Sebastiaan van Stijn 1e0f13548b
Merge pull request #13413 from idvoretskyi/patch-1
Debian versions updated
2021-08-27 16:01:20 +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
Usha Mandya 2feae0d569
Merge pull request #13410 from thaJeztah/go_get_started_touchups
guides: use include for "create a Dockerfile" sections
2021-08-27 14:54:49 +01: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
Sebastiaan van Stijn ca993d3643
Merge pull request #13422 from AkihiroSuda/rootless-20210827
Rootless updates
2021-08-27 15:30:18 +02:00
arvind-007 23b029e358
Update build-images.md 2021-08-27 15:27:55 +05:30
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
Andres Kalle e905b05611
Fixed number of options in description 2021-08-27 09:49:20 +03:00
QQ喵 d3a118cc9d
Unset environment variables PATH and DOCKER_HOST 2021-08-27 11:14:57 +08:00
Charles Forsyth a35084a7a7
Update 05_persisting_data.md
Correcting minor grammatical error.
2021-08-26 07:55:28 -07:00
Ihor Dvoretskyi eca226b630
Debian versions updated
Debian 11 is released - https://www.debian.org/News/2021/20210814, now it's "stable". Debian 10 becomes "oldstable".
2021-08-26 15:51:45 +03: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
Sebastiaan van Stijn e490f83739
Merge pull request #13399 from shayan-7/patch-1
Fix a typo
2021-08-25 20:13:33 +02:00
Sebastiaan van Stijn b81e882a88
Merge pull request #13408 from programmerq/patch-10
switch to community slack reference
2021-08-25 20:03:37 +02:00
Sebastiaan van Stijn d1fbf5c959
guides: use include for "create a Dockerfile" sections
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-25 13:42:32 +02:00
Jeff Anderson 510c2e3354 switch to community slack reference
remove a reference to defunct freenode channel
2021-08-24 10:22:36 -04:00
Usha Mandya c8389f46ea
Merge pull request #13402 from thaJeztah/fix_faq_links
subscription/faq: fix some broken links
2021-08-24 11:35:05 +01:00
Sebastiaan van Stijn 3bc2762431
subscription/faq: fix some broken links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-23 20:09:15 +02:00
shayan-7 2b5a5618a1
Found more typos and grammar issues 2021-08-23 22:04:22 +04:30
shayan-7 6a118534ab
Fix a typo 2021-08-23 21:06:00 +04:30
Sebastiaan van Stijn 4c1019f79a
Merge pull request #13397 from thaJeztah/go_experimental
add /go/experimental/ redirect
2021-08-23 17:48:06 +02:00
Sebastiaan van Stijn e0107d68fb
add /go/experimental/ redirect
We already have a redirect for this that's defined in the docker/cli repository,
but unifying these redirects to live in the docs repository.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-23 17:15:26 +02:00
linuxmetel 5cd6f0ef11
Update debian.md
Update Debian's stable and Raspbian's stable
2021-08-23 15:50:03 +09:00
Sebastiaan van Stijn 304f64ccec
engine: update reference docs with "console" code hints
Also updates in the descriptions for `--stop-signal` and `--stop-timeout`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-21 18:34:30 +02:00
Usha Mandya 20f2ef5869
Merge pull request #13382 from thaJeztah/go_wsl2
Add /go/wsl2/ redirect
2021-08-20 14:28:34 +01:00
Sebastiaan van Stijn 4d3d4c0520
Add /go/wsl2/ redirect
Docker Desktop uses an informational message that prints:

    We recommend to activate the WSL integration in Docker Desktop settings.

    See https://docs.docker.com/desktop/windows/wsl/ for details.

We see quite some users trying to copy the URL, and accidentally copying part
of the text, which results in a 404;
https://github.com/docker/docker.github.io/issues?q=in%3Atitle+%2Fdocker-for-windows%2Fwsl%2Ffor%2520details+

I'm changing the message to have the URL on a separate line for easier copying,
but having a shorter URL would make it slightly easier for users to type it in
their browser, without having to copy it.

This adds a new URL https://docs.docker.com/go/wsl2/ that we can redirect to
the most appropriate location within the docs, without having to update the
URL in Docker Desktop itself.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-20 14:10:39 +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
Usha Mandya 229af5a5d1
Merge pull request #13369 from thaJeztah/example_tooltips
Add tooltips and links to reference docs to Dockerfile codeblocks
2021-08-19 09:47:46 +01:00
Usha Mandya 21b14f550a
Merge pull request #13375 from usha-mandya/engdocs-474
Update Docker official images and DVPP references
2021-08-19 09:46:32 +01: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 bfce18c90b
Add tooltips and links to reference docs to Dockerfile codeblocks
This is an initial "experiment" on making codeblocks more useful; it's
just a quick implementation, and can use a lot of improvements, but we
can see if it's useful in its current form already (as a starting point).

More context below:

With example blocks being parsed/highlighted by rouge, we should be able
to pick keywords from them; for example, in the highlighted Dockerfile
examples, we can show tool-tips (even a hover-card) with more details
about the command.

Shell examples may be a bit more involved, but we could still detect;

- adjacent keywords (`docker` + `run` => `docker run`)
- with the yaml-docs we have (we could generate JSON and upload them
  as a "database"),   we could even do an AJAX call to dynamically
  fetch  flag  descriptions, etc.

This very quick and dirty test adds tooltips to Dockerfile commands
in examples. When hovering, it shoulds a tooltip ("click for  more
information about this command"), and when clicking, navigates to the
Dockerfile reference.

Ideally, we wouldn't navigate away from the current page for initial
details (instead, we should present a rich hoverbox / pane), to provide
the user with more details without interrupting the article they were
reading.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-18 23:23:09 +02:00
Ross Patterson e0b3941eab
fix(yaml): Avoid bool type error
Docs contained an invalid example:

```
ERROR: The Compose file './docker-compose.yml' is invalid because:                                                                                                                   
services.*.restart contains an invalid type, it should be a string 
```

Use quotes to avoid YAML's implicit type conversion.  Someone may also want to do an audit of [other type conversions that might cause problems](https://www.rpatterson.net/blog/docker-gotchas/#yaml-needs-some-zen).
2021-08-18 12:46:23 -07:00
Usha Mandya 62d0daa0e3
Merge pull request #13370 from thaJeztah/fix_get_started_highlighting
fix code-highlighting in "get started"
2021-08-18 10:35:44 +01:00
Sebastiaan van Stijn b724f2c44d
fix code-highlighting in "get started"
Indentation in some bullet-lists had one space too little, causing
code-highlighting to not work.

Also fixed some other minor issues.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-17 22:20:21 +02:00
Usha Mandya d382746653
Merge pull request #13366 from thaJeztah/cleanup_nav_styles
_scss: cleanup navigation styles, and various small fixes
2021-08-17 15:43:53 +01:00