Commit Graph

275 Commits

Author SHA1 Message Date
David Karlsson 36969c88cd corrected the settings path for live restore on dd-win 2022-08-10 14:08:56 +02:00
Justin Chadwell fd9fe19061 lint: tidy up ordered list prefixes 2022-07-28 11:27:10 +01:00
CrazyMax 5088f2d82b
fix redirects
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-13 18:02:43 +02:00
Adam Blasko e8b90488ac
Better wording for label unique constraints (#14836) 2022-05-30 16:53:36 +01:00
Chris Dotson f6a915fe4b
Add a note that local is a bash keyword (#14850) 2022-05-30 16:46:11 +01:00
Werner Robitza 07d84b1235
fix missing backslash in gcplogs documentation 2022-02-08 13:00:56 +01:00
Sören Reinecke cf1fa0b7c8
Changed log-opt to log-opts 2022-02-01 13:51:07 +01:00
Sebastiaan van Stijn 5eea09fc0c
Merge pull request #14013 from thaJeztah/gelf_fix_emdash
logging/gelf: fix stray 'n-dash' instead of hyphen in example
2021-12-23 20:19:28 +01: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
Sebastiaan van Stijn d5ec94bd5f
logging/gelf: fix stray 'n-dash' instead of hyphen in example
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-12-20 09:52:25 +01:00
Usha Mandya 42b9fec12a Clarify the max-retries option
Signed-off-by: Usha Mandya <usha.mandya@docker.com>
2021-11-26 16:10:02 +00:00
Eric Hawicz e29f6719f7
Note the max-retries option on the Start containers automatically page. (#13787)
* 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>
2021-11-26 13:04:14 +00:00
Onkar Lal Janwa 0b0b7050e5
Update description of -m option (#13813)
* 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>
2021-11-19 12:50:30 +00:00
Akihiro Suda 5f74d132ee
Update the adoption status of cgroup v2
In addition to Fedora, now cgroup v2 is used by default on Debian and Ubuntu, too.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-10-15 20:30:48 +09:00
Adam Stankiewicz 4803bef6cc
Simplify wrapper script 2021-09-24 04:18:42 +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
Andres Kalle e905b05611
Fixed number of options in description 2021-08-27 09:49:20 +03: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
Makoto Haruyama f007259316 Add awslogs logging driver options awslogs-force-flush-interval-seconds and awslogs-max-buffered-events 2021-08-07 22:35:53 +09:00
Sebastiaan van Stijn fbfa187a83
config: 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:05 +02:00
Sebastiaan van Stijn 859923171c
config/containers: 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:30 +02:00
Sebastiaan van Stijn 8c2f999eae
troubleshoot: update locations for daemon logfiles
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-28 14:38:38 +02:00
Usha Mandya 3750dd7a64
Merge pull request #12927 from orkunincili/patch-1
Update resource_constraints.md
2021-07-23 10:45:32 +01:00
René Hermenau 45d6a89299
Update json-file.md
The file daemon.json does not exist in a fresh docker install in Ubuntu
2021-07-12 13:16:50 +02:00
Orkun İncili 9e5dd4b7eb
Update resource_constraints.md
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.
2021-06-01 15:04:03 +03:00
Sebastiaan van Stijn c16602dbfb
logging: document dual-logging cache options
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>
2021-04-23 12:55:11 +02:00
Usha Mandya 16655425ef
Merge pull request #12621 from hefeiyun/patch-1
Update fluentd.md
2021-04-23 10:58:54 +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
Akihiro Suda 1c4e9b0a14
config/containers/runmetrics.md: cgroup v2 graduated from experimental
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>
2021-04-14 14:40:10 +09:00
hefeiyun 8c49bde437
Update fluentd.md
according to https://github.com/fluent/fluent-logger-golang/tree/master#bufferlimit, modify it.
2021-04-06 15:07:20 +08:00
Sebastiaan van Stijn fc32f5721a
Merge pull request #12406 from pneumoman/patch-1
Update resource_constraints.md
2021-03-09 09:36:53 +01:00
Clemens Lieb c16d0e9d74
Take note of TLS limitation for TCP connections (#12373)
* Take note of TLS limitation for TCP connections

* Minor style update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-03-05 14:55:51 +00:00
Simon 5e78271505
TASK: Add codeblocks to code examples
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-04 12:06:54 +01:00
dontub c29b3f98ca
Replace deprecated option --fluent-async-connect with --fluent-async
The option --fluent-async-connect is deprecated. --fluent-async shall be used instead.
a602b052a9/daemon/logger/fluentd/fluentd.go (L53)
2021-03-01 11:18:54 +01:00
pneumoman 4f12a72ffc
Update resource_constraints.md
The docker engine seems to get confused if you don't  quote device=1,2 as shown  I.E. '"device=1,2"'
2021-02-26 14:19:24 -05:00
ageun cb35fa8694
Update configure.md 2021-01-22 19:58:58 +09:00
Usha Mandya ff7fb15354
Merge pull request #10600 from thaJeztah/20.03_labels_regex
[20.10] Add labels-regex logging opt
2021-01-20 16:11:37 +00: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
Robin THONI d73a12d8b2
Add labels-regex loggin opt 2021-01-20 13:12:43 +01:00
Sebastiaan van Stijn eb1b874e60
Add redirect for "Runtime metrics"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-05 15:57:57 +01: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
Sebastiaan van Stijn cb5c8b0de3
logging: remove incorrect line about docker inspect
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>
2020-11-05 15:12:03 +01:00
Sebastiaan van Stijn 2ce808edc0
Remove references to obsolete engine versions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-26 15:45:07 +01:00
Usha Mandya 1c9b279e09
Merge pull request #11519 from andylibrian/fix-cpu-period-default-value
Update config/containers/resource_constraints.md
2020-10-21 13:53:39 +01:00
Sebastiaan van Stijn c119ed174e
Use https:// for links and examples
Found these using `http://[^lp10\*`<][^o]` (to exclude "localhost" and IP-addresses)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-13 12:09:11 +02:00
Sebastiaan van Stijn 393d3f6566
Add rel="noopener" to external links
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>
2020-10-12 13:09:30 +02:00
Andy Librian 84abc8af94
Update config/containers/resource_constraints.md
Fix --cpu-period default value in the description
2020-10-10 05:52:49 +07:00
Cao The Kiet b12ced27b2
Update formatting.md 2020-10-08 21:10:52 +07:00
Radoslav Dimitrov 9d75707c3f Remove duplicate sentences from Published ports section
Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
2020-10-02 16:14:52 +03:00
Mohammad Ali Toufighi a72f9c03f4
Remove excess phrase from DNS Services section
This line was mistaken in [this commit](9193473df5)
2020-10-01 10:32:16 +03:30
Daniel Granerud 5e37e0d6bf
Update container-networking.md 2020-09-30 09:31:18 +02:00
Maximillian Xavier d7b00e2bd1
Add indication to use docker create/run on port mapping #11420 (#11429)
* 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>
2020-09-29 18:24:19 +02:00
Maximillian Xavier 0c55a6ddcf
Add note to formatting section (#11326)
* Add note to formatting section

* Add note to formatting section

* Fix the double quote to single quote

* Fix description

* Minor style updates

Co-authored-by: Maximillian Fan Xavier <maximillianfx@ibm.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-09-04 12:35:18 +01:00
Will Badart 344cb8985d
Add missing image to `docker run` GPU example command 2020-08-26 21:12:31 -06:00
Usha Mandya ff498e5523
Merge pull request #10277 from hn3000/patch-1
Mention how to change restart policy on running containers
2020-07-29 14:03:45 +01:00
Usha Mandya dddb1d445d
Merge pull request #11141 from usha-mandya/11035-patch
Remove Enterprise references
2020-07-21 14:54:57 +01:00
Usha Mandya 1c853406e9 Remove Enterprise references 2020-07-21 14:47:01 +01:00
Arko Dasgupta 1b319c30a5
Update ipv6.md (#11148)
* Update ipv6.md

Update the `ipv6` daemon config to include the fixed-cidr-v6 (IPv6 Subnet) key

Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
2020-07-16 22:05:15 +02:00
Sobhan Attar 9fd5223c7e
add not for non existence daemon.json 2020-07-01 11:30:11 +04:30
Magno Logan 294883b1d2
Update log location for Ubuntu 16.04+ and CentOS
Update log location for Ubuntu 16.04+ and CentOS
Add the /var/log/syslog
2020-06-23 16:12:41 -04:00
mjchi7 9193473df5
Removed wrong information about container DNS (#11012)
* 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>
2020-06-18 15:32:20 +01:00
Sebastiaan van Stijn 7ce086bfca
Add instructions for configuring systemd in rootless mode (#10976)
* add instructions for rootless docker

* Use tabs for configuring systemd in rootless mode

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

* Minor style edits

Co-authored-by: Manish Kukreja <kukreja.m@gmail.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2020-06-10 08:36:35 +01:00
Randy von der Weide ba553cfd47
Make information accurate (#10915) 2020-05-29 17:04:40 +01:00
Sebastiaan van Stijn 4169b468f4
Merge pull request #10683 from ajay143444/patch-7
added apostrophe s with process in 'on the process` own copy of the page'
2020-05-01 18:33:21 +02:00
Sebastiaan van Stijn 5de7f57431
fix link to service create reference docs (#10726)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-30 06:36:59 +01:00
Sebastiaan van Stijn 2ff02c4b2e
remove -it from example, as it's not needed for redis
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>
2020-04-24 14:04:59 +02:00
Sebastiaan van Stijn b0f9061565
config: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:36 +02:00
ajay143444 751665478a
added apostrophe s with process
added apostrophe s with process
2020-04-23 13:34:54 +05:30
Batuhan Apaydın 7f66d7783f
Update formatting.md 2020-04-13 15:16:50 +03:00
Usha Mandya 2087caadae
Merge pull request #10599 from thaJeztah/config_markdown_fixups
container config section: various markdown fixes
2020-04-08 15:09:24 +01:00
Sebastiaan van Stijn 727941ffdd
container config section: various markdown fixes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-08 14:00:58 +02:00
haikuoliu 15371b3fe2
Add doc for awslogs-endpoint log option
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-08 11:13:51 +02:00
Sebastiaan van Stijn d813acb6e1
Engine: reorganize install topic
- 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>
2020-04-06 10:50:28 +02:00
Sebastiaan van Stijn 331554f4b3
Fix various links that were generating URLs with `.md` (#10548)
* 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>
2020-04-01 12:05:50 +01:00
Sebastiaan van Stijn ba8a3bcf6a
Remove third-party tools / topics
These pages were no longer maintained, and some links to
external websites were no longer active.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-18 14:38:12 +01:00
Sebastiaan van Stijn 19c6cb8f1c
Markdown: fix some code-hints
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-17 14:50:31 +01:00
Sebastiaan van Stijn 14bbe621e5
Update markdown language hints to work with "rouge"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-17 14:49:51 +01:00
hn3000 9720bc4c3e
How to change restart policy on running containers
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.
2020-02-12 12:56:23 +01:00
Dawn W Docker b69d9b20e7 removing enterprise section 2020-01-09 14:43:21 -08:00
Sebastiaan van Stijn 4224bf0b04
Merge pull request #9340 from tao12345666333/fix-memory-swap-effect
Fix the effect of `--memory-swap` is unset.
2019-12-11 17:02:11 +01:00
Adrian Plata bbeb3a35aa Bolding important statement
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-11-15 08:28:01 -08:00
Kir Kolyshkin 12cab58194 logging/gelf: recommend to disable compression
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>
2019-11-14 14:58:57 -08:00
Fangzhou Li 844e8e4c70 Fix typo (#9804) 2019-11-05 13:24:57 -08:00
Jintao Zhang 6a8e5b3107 Fix the effect of `--memory-swap` is unset.
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-10-11 15:52:53 +08:00
Adrian Plata 350ec935e7
Runtime page rename (#9439)
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-09-12 14:27:28 -07:00
Hong Chun 629a147a65 Fix docker logging's options indentation 2019-08-19 15:19:42 +01:00
Alexander Wellbrock f78e99415c Fix confusing 'log-opt' key in json part of docs (#9107) 2019-08-19 15:15:46 +01:00
Usha Mandya c645df2ecd
log-opts is a JSON object not an array (#9179) 2019-08-16 11:46:32 +01:00
Adrian Plata 645b755cf9
Fixing em dash usage (#9223)
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-08-08 13:22:17 -07:00
Bertrand Guay-Paquet fa9fbec44e
log-opts is a JSON object not an array 2019-07-31 16:18:39 +02:00
ollypom 4524319333
Merge branch 'master' into amberjack 2019-07-19 14:23:33 +00:00
ollypom c39ba281fd
Synced Docs Public Master with Docs Private Master 2019-07-19 11:02:28 +00:00
Usha Mandya 792742a20c
Merge pull request #9027 from rscohn2/patch-1
recommend overlay2
2019-07-09 18:43:50 +01:00
Adrian Plata d668fc707c
Apply suggestions from code review
Co-Authored-By: Tibor Vass <tiborvass@users.noreply.github.com>
2019-07-08 16:13:19 -07:00
Adrian Plata 2142f4ad7b adding NVIDIA capabilities information
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-07-08 15:13:46 -07:00
Adrian Plata a00c783961 adding NVIDIA capabilities information
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-07-08 13:33:36 -07:00
Ray Tung bcf001161d
Update fluentd.md
Corrected default fluentd-max-retries
2019-07-07 22:21:49 +10:00
Robert Cohn 02cf8cf5b5
recommend overlay2 2019-07-03 14:55:30 -04:00
Adrian Plata d8aa3f275b adding NVIDIA capabilities information
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-07-02 15:48:30 -07:00
Adrian Plata a322063892 adding gpu access and renaming to specify
Signed-off-by: Adrian Plata <adrian.plata@docker.com>
2019-06-27 17:23:12 -07:00