* Note the max-retries option on the Start containers automatically page.
* Update format
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
* Update description of -m option
The container memory uses does not go beyond the limit set to `-m`. So I believe the description should be "If you set this option, the maximum allowed value is 6m (6 megabyte)." instead of "If you set this option, the minimum allowed value is 6m (6 megabyte).".
* Clarify the threshold for '-m' option
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
- 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>
Minimum memory limit updated from 4 megabyte to 6 megabyte to create container. (#41168)
I noticed that minimum limit is still 4 megabyte in docker documentation. I edited 4m to 6m.
While dual-logging is enabled automatically, it is possible to disable
this feature, or to configure the default options. This patch adds
documentation for these options.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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>
Docker support for cgroup v2 graduated from experimental in v20.10.6.
https://github.com/moby/moby/pull/42263
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
* 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>
The logging driver bears not relation to the output of commands such as
`docker inspect`, so this line was incorrect.
Looks like this was added as part of a bigger rewrite/refactor in
d536881651, so likely missed
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
See https://web.dev/external-anchors-use-rel-noopener/
Using noopener, as that addresses the security issue. "noreferer" blocks
the REFERER header, which may still be useful for some target URLs.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Add indication to use docker create/run on port mapping #11420
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Signed-off-by: Maximillian Fan Xavier <maximillianfx@gmail.com>
* Removed wrong information about container DNS
In the docs it says a container will inherit the host /etc/hosts file along with /etc/resolv.conf. While the latter part is correct, /etc/hosts will not actually be inherited, as reported https://github.com/moby/moby/issues/39311.
An additional line of text has been added to emphasize the fact that /etc/hosts are not inherited
* Removed extra hash on the run command redirect
* Update config/containers/container-networking.md
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Adding `-it` on a "detached" (`-d`) container is needed
if the container's main process expects a TTY attached to keep
running.
It's not needed for a redis container, so we can remove it here
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Move getting started overview to /get-started/overview/
- Move engine installation files under /engine/
- Redirect the top-level /install/ to /get-docker/
- Updated titles in left-hand navigation
- Added back some pages to the navigation that were
currently not included.
- Reduce some steps in the installation pages
- Move devicemapper prerequisites to the devicemapper
storage driver page.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Fix incorrect links in compose section
there's a bug causing wrapped links to not work, and replacing
some links to point to the .md file, so that IDE's can check
if the anchors are valid. Also replaced some links to point
to their new location.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* engine/swarm: update links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Fix various broken links
There's a bug in the "jekyll-relative-links" plugin that causes wrapped links to not work.
Also replacing some links to point to the .md file, so that IDE's can check if the anchors
are valid. Finally, replaced some links to point to their new locations, so that users don't
get redirected..
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Mention that `docker update` can change the restart policy for an already running container.
Otherwise, the reader is led to believe the policy can only be set when the container is started.
It was discovered that compression in gelf logging driver
is highly inefficient in terms of CPU. IOW, lots of CPU
is used when compression is enabled.
The natural solution would be to change the default
to `none`, i.e. no compression, but that would break
some setups (in particular, using Logstash < 7.4).
The only option left is to warn the user about the
consequences of leaving the compression enabled.
For more background details, please see
https://github.com/moby/moby/pull/40101
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>