Commit Graph

15 Commits

Author SHA1 Message Date
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
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
Robin THONI d73a12d8b2
Add labels-regex loggin opt 2021-01-20 13:12:43 +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 b0f9061565
config: use relative markdown links
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-23 13:03:36 +02: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
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
L-Hudson f9bbe4fc3f
Merge pull request #6989 from dintort/patch-1
Updated gelf.md invalid dash
2019-01-02 19:40:31 -05:00
Sebastiaan van Stijn a967b6ccc9
Add note about log-opt options in daemon.json taking string values only
log-opts are passed to logging-drivers as-is, so the daemon is not
aware what value-type each option takes.

For this reason, all options must be provided as a string, even if
they are used as numeric values by the logging driver.

For example, to pass the "max-file" option to the default (json-file)
logging driver, this value has to be passed as a string;

```json
{
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "10m",
    "max-file": "3"
  }
}
```

When passed as a _number_ (`"max-file": 3`), the daemon will invalidate
the configuration file, and fail to start;

    unable to configure the Docker daemon with file /etc/docker/daemon.json: json: cannot unmarshal number into Go value of type string

This patch adds an example to the daemon.json to show these  values
have to be passed as strings.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-11-21 14:55:36 +01:00
Din Tort b4967e1bcc
Updated gelf.md
Fixed an ivalid dash in --log-opt gelf-address
2018-07-04 15:11:51 +02:00
Joao Fernandes b381efa359 Revert "TCP is not valid option for GELF log driver"
This reverts commit c750d9d5b4.
2018-05-01 15:34:38 -07:00
ada c750d9d5b4 TCP is not valid option for GELF log driver 2018-05-01 14:57:49 -07:00
Misty Stanley-Jones a17a47dd77
Favor docker <object> <verb> format of commands (#5914)
Remove instances of:
- docker rmi
- docker images
- docker stop
- docker rm
- docker create
- docker exec
- docker attach
2018-02-05 09:33:47 -08:00
Misty Stanley-Jones 1b343beca4
Clean up information architecture (#5893)
- Move /engine/admin/ and /engine/userguide/ topics to /config/ and /develop/
- Get rid of some stub topics that are no longer needed
- Rename /engine/article-img/ to /engine/images/
- Mark ambassador linking topic as obsolete
- Flesh out multistage build topic
- Reorganize some terribly obsolete content in other files
2018-02-01 15:25:43 -08:00