Commit Graph

177 Commits

Author SHA1 Message Date
hasaki fae09e6e6c
fix a typo in dual-logging.md (#17944) 2023-08-18 16:34:04 +01: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
David Karlsson ea2d370583 engine: add note on logging with supervisord
Added a `supervisord.conf` snippet to enable logging of stdout and
stderr for multiple processes running in a single container with
supervisord.

Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-05-15 16:37:49 +02:00
David Karlsson a2d22f16e6 engine: restructure mult-service container page
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2023-05-11 16:54:23 +02:00
Chris Chinchilla ec99e18ea3
Merge pull request #16662 from rebornplusplus/main
fix(engine): Minimum --kernel-memory is 6m
2023-04-27 16:03:35 +02:00
Wesley Pettit 43af06b1f0
logging: non-blocking does not enqueue new messages when buffer is full
See: https://github.com/moby/moby/issues/45200

Signed-off-by: Wesley Pettit <wppttt@amazon.com>
2023-03-24 14:42:42 -07:00
Ben Hubsch 2925db2b95
Fix "it's" typo on container-networking.md (#16869) 2023-03-13 02:44:32 -07:00
Rafid Bin Mostofa 8e8fc2c7b2 fix(engine): Minimum --kernel-memory is 6m
``linuxMinMemory`` was updated from 4m to 6m [0], and it is
used to compare ``resources.KernelMemory`` [1, 2]. Thus, the
actual minimum allowed value for --kernel-memory is 6m.

Refs:
- [0] d2e23405be
- [1] https://github.com/docker/engine/blob/master/daemon/daemon_unix.go#L473
- [2] https://github.com/moby/moby/blob/master/daemon/daemon_unix.go#L452
2023-02-04 13:52:42 +06:00
ChangHoon Sung 3f66d45dc6
Fix typo 2023-01-30 14:44:55 +09:00
David Karlsson c63e9c3419
Merge pull request #16478 from dvdksn/refresh/container-networking
refresh/container networking
2023-01-26 10:00:44 +01:00
David Karlsson 7b1ec1d7cf engine: docs refresh of container-networking.md 2023-01-09 22:23:40 +01:00
David Karlsson 6c7744f272 chore: format with prettier 2023-01-09 21:44:33 +01:00
Justin Chadwell 123eea0137 lint: add empty line between console and json code blocks
Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-01-09 18:51:12 +00:00
Sebastiaan van Stijn a7b9985e00
engine: update reference docs (yaml), and fix anchor links
The updated version uses new anchors for flags, so updates are needed
elsewhere to update those anchors.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-09 10:29:43 +01:00
David Karlsson 5135d40383 engine: restructure and consolidate
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-12-01 15:44:37 +01:00
David Karlsson bc8fde23b9
doc refresh: Linux postinstall instructions (#15969)
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2022-10-26 09:08:21 +00:00
Austin Vazquez 81995e0133
Fix typo and remove redundant phrasing in awslogs.md (#15803)
* patther -> pattern
* Removed line which was redundant phrasing. (Now inline
with multiline timestamp example)

Signed-off-by: Austin Vazquez <macedonv@amazon.com>

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2022-10-05 13:28:04 +00:00
David Karlsson 36969c88cd corrected the settings path for live restore on dd-win 2022-08-10 14:08:56 +02:00
CrazyMax 5088f2d82b
fix redirects
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-13 18:02:43 +02: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
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 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
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
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