Commit Graph

56537 Commits

Author SHA1 Message Date
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
Sebastiaan van Stijn e632cdf1f6
Merge pull request #13368 from usha-mandya/win-troubleshoot-patch
Delete extra space
2021-08-17 15:22:29 +02:00
Usha Mandya d83977c53c Delete extra space
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-17 14:11:39 +01:00
Sebastiaan van Stijn 3631769979
_scss: cleanup navigation styles
This fixes various inconsistencies between the landing page and the
other pages by sharing more styles between both:

- fix homepage using a different color for the active tab
- fix homepage not having "hover" styles for the top navigation

I addition, this:

- fixes unwanted whitespace in the hamburger-menu on mobile
- fixes "active" menu item not being highlighted on mobile
- fixes left-side aligning of left-hand menu on desktop

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-17 14:00:46 +02:00
Frédéric Dalleau c1416c35ce
Document path conversion on Windows (#13331)
* Document path conversion on Windows

* Minor formatting and style updates

* desktop/windows: minor fixes in troubleshoot

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-17 12:03:20 +01:00
Usha Mandya 4183116517
Merge pull request #13363 from usha-mandya/desktop-relnotes-fix
Fix download buttons for older versions of Docker Desktop for Mac
2021-08-17 11:59:34 +01:00
Usha Mandya ed6dee7d99 Fix download buttons for older Mac releases
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-08-17 11:38:11 +01:00
Alan 6750ffe2f4
Update troubleshoot.md 2021-08-17 12:56:17 +08:00
Usha Mandya a6e5434600
Merge pull request #13351 from thaJeztah/update_dd_releasenotes
Desktop: release notes: mention kernel update and performance fix
2021-08-16 12:16:33 +01:00
Usha Mandya 00bbe69666
Merge pull request #13352 from thaJeztah/add_missing_codehints
Add missing code-hints, and minor markdown edits
2021-08-16 12:15:19 +01:00
Sebastiaan van Stijn 4cae2337b4
Desktop: release notes: mention kernel update and performance fix
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-16 13:11:45 +02: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
kurama f4655fb89e
fix: typo (#13348)
* fix: typo

* Minor style updates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-16 11:57:31 +01:00
Usha Mandya f6a4b3ed24
Merge pull request #13353 from thaJeztah/unify_desktops
Move "docker-for-windows" and "docker-for-mac" inside the "desktop" directory
2021-08-16 11:57:06 +01:00
jerae-duffin 6885bb0140
updated upgrade your plan (#13347)
* updated upgrade your plan

* Moved the purchase plan section before upgrade

Added an intro to the topic, reorganized the topic to display info on how to purchase a plan before we discuss how to upgrade an existing plan

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-08-16 11:42:29 +01: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
Usha Mandya d3dcf610e8
Merge pull request #13341 from danielhelfand/patch-1
Fix broken link for setting up local registry with auth
2021-08-13 18:24:41 +01:00
Usha Mandya 8c01cd8d0b
Merge pull request #13345 from usha-mandya/3.6-win-link-fix
Fix a link in DD Windows release notes
2021-08-13 17:15:36 +01:00