Commit Graph

199 Commits

Author SHA1 Message Date
Simon Hambly 471454b620 Make 'use a process manager' clearer (#5409)
* Make 'use a process manager' clearer

The "Use a process manager" section appears to mix use of process manager on host with using process managers within a container.

The essence of the section appears to suggest that host-level process managers are ok as long as you don't combine them with docker restart policies.  But paragraphs 2 & 3 (in the original) seem to actively discourage the use of process managers within containers. Putting paragraphs 2 & 3 under an explicit heading would be clearer.

Should a section on process mangers within containers be expanded? There are lots of articles on the internet that relate to using process managers to start multiple processor in containers or to manage zombie pid 1 processes.  Are there official recommendations on what to do in these situations — whether to use a process manager or is a recommended 'docker native' way to achieve the same results?

* Updated to use the warning class
2017-12-01 09:58:25 -08:00
David G Vigil Sr 26986a161e Update systemd.md (#5406)
Added 'sudo' to step 1 of HTTP/HTTPS proxy section.
2017-11-28 10:04:29 -08:00
Trung Lê 8896e88867 mention about `log` metadata (#5319)
fluentd log driver returns a metadata that includes the `log` attribute

This is the main message that fluentd tend to filter on
2017-11-17 12:10:31 -08:00
ripcurld0 0df910d590 Add a note regarding retrieving log messages when tty is enabled (#5321)
When running a container with tty enabled and setting the journald
logging driver, you may see "blob data" instead of the real log
message.

That's because tty appends "\r" to the end of the log line,
which isn't stripped by jorunald unless you specify the "--all" flag.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2017-11-17 12:09:53 -08:00
Misty Stanley-Jones 956fe5924d
Update docs for new publish syntax (#5323) 2017-11-17 12:08:29 -08:00
Euan T 53e2478599 Fix indentation of Python example (#5290) 2017-11-13 11:55:41 -08:00
Misty Stanley-Jones 8d1a1fcb12
Remove unclear content not meant for end users (#5278) 2017-11-10 10:50:08 -08:00
Misty Stanley-Jones a10715ab8e
Use correct syntax for localhost for mac / win (#5264) 2017-11-09 11:17:42 -08:00
Peter Wen a998ff1039 Update volumes.md
Fix bind-mounts link.
2017-11-06 18:05:19 -08:00
Misty Stanley-Jones a15705ad87
Add caveats about the hosts entry in daemon.json (#5223) 2017-11-06 14:28:42 -08:00
Joao Fernandes 661ae69c31 Fix typo (#5130) 2017-10-26 15:35:31 -07:00
Brian Goff 73878e84ae Correct version typo in live-restore doc. (#5121)
The paragraph mentions that live restore is only supported for minor
releases (aka patch releases) but goes on to show "1.12.1" updated to
"1.13.2". This is unfortunately a pretty nasty typo and should be
"1.12.2" not "1.13.2".

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-10-26 13:58:25 -07:00
Arush Salil 52669983f8 Update code snippet (#5111)
In the code sample mentioned in `Start a service with volumes` it says

> The following example starts a nginx service with four replicas, each of which uses a local volume called myvol2.

But --replicas=4 is missing from the code sample which reads:

```
$ docker service create -d \
  --name devtest-service \
  --mount source=myvol2,target=/app \
  nginx:latest
```
Instead of this it rather should be:

```
$ docker service create -d \
--replicas=4 \
--name devtest-service \
--mount source=myvol2,target=/app \
nginx:latest
```
2017-10-25 18:08:45 -07:00
Joao Fernandes aebc09de82 Replace double hyphen (#5081) 2017-10-23 10:16:57 -07:00
Misty Stanley-Jones 4a962afa85 selinux labels are ignored for bind mounts on services (#5061) 2017-10-20 14:21:36 -07:00
Yaroslav Mitsynskiy 3888065197 Correct errors about data propagation into volumes and bind mounts (#5058) 2017-10-20 14:19:06 -07:00
Misty Stanley-Jones ea6f50b761 Add info about warnings in docker info (#5048) 2017-10-20 09:48:10 -07:00
Ghislain Bourgeois 3c5e81b7a4 Add TCP documentation for GELF logging driver (#4536)
Signed-off-by: Ghislain Bourgeois <ghislain.bourgeois@gmail.com>
2017-10-17 21:34:07 -07:00
jhughes-mc 1dc7e46c16 Update json-file.md (#4924)
Discovered you must remove the container to use the new logging configuration. Otherwise it will not change and continue to use the old.
2017-10-16 16:12:38 -07:00
Gwendolynne Barr e4bffe846c Repair cpu-period default to 100ms (#4967) 2017-10-14 10:09:33 -07:00
Misty Stanley-Jones fabfd6d40e Document where to find stack traces (#4962) 2017-10-13 15:59:48 -07:00
Misty Stanley-Jones 454763b0d4 Remove inaccurate note from json log driver docs (#4801) 2017-10-04 16:53:22 -07:00
Gwendolynne Barr 381f2e77c7 Add log-opts to Splunk daemon.json example (#4701) 2017-09-29 15:17:20 -07:00
Misty Stanley-Jones 7388b14411 Add Windows example for running Prometheus (#4661) 2017-09-19 10:23:20 -07:00
Douglas Jose 5d6f807187 Update ansible.md (#4531)
Edited wrong `docker_container` module name.
2017-09-11 17:01:57 -07:00
Wang Jie 07ffdd4f2f Update log_tags.md (#4351) 2017-09-11 16:53:54 -07:00
Rob Moore 527cd9dfad Update explanation of special device symlinks (#4505)
The symlinks are described the wrong way round and suggest that /dev/stdout and /dev/stderr are being overwritten, but that's not true - ln -s /dev/stdout /var/log/nginx/access.log creates a symlink at access.log pointing to /dev/stdout.

See `man ln`
2017-09-11 16:53:19 -07:00
Wang Jie a95ea1162d Update volumes.md (#4438) 2017-09-11 09:52:17 -07:00
Wang Jie 730e10cc46 Update troubleshooting_volume_errors.md (#4441) 2017-09-11 09:51:20 -07:00
Wang Jie 79df8a343f Update index.md (#4437) 2017-09-07 14:49:36 -07:00
Isaac Puch Rojo bb4a4345aa Update volumes.md (#4492)
Only a minor error   --it -> -it
unknown flag: --it

I get a message error if I try to reproduce it.  
WARN[0000] `--volume-driver` is ignored for volumes specified via `--mount`. Use `--mount type=volume,volume-driver=...` instead. 
docker: Error response from daemon: create sshvolume: invalid option key: "sshcmd".

docker -v
Docker version 17.06.1-ce, build 874a737

Maybe the syntax are changed?
2017-09-05 14:29:23 -07:00
Wang Jie 5eb4719c9a Update awslogs.md (#4352) 2017-08-31 13:09:17 -07:00
Wang Jie 0d98ea88b4 Update runmetrics.md (#4418) 2017-08-29 15:36:14 -07:00
Misty Stanley-Jones e01579655e Add info on starting a service with a volume (#4414) 2017-08-29 14:36:17 -07:00
Misty Stanley-Jones 9aa87cd0a0 Clarify how to stop a container from using swap (#4409) 2017-08-29 10:38:47 -07:00
Wang Jie ad7c384752 Update journald.md (#4368) 2017-08-28 16:54:47 -07:00
Wang Jie 0e1c076c90 Update gcplogs.md (#4367) 2017-08-28 16:54:15 -07:00
Wang Jie f7304180aa Update fluentd.md (#4364) 2017-08-28 16:53:46 -07:00
Wang Jie bc32009540 Update syslog.md (#4349) 2017-08-28 16:48:25 -07:00
Wang Jie b03f307ad7 Update ansible.md (#4389) 2017-08-28 13:38:22 -07:00
Wang Jie 0c4e7b3d29 Update chef.md (#4390) 2017-08-28 13:37:59 -07:00
Wang Jie d7b028ef62 Update puppet.md (#4391) 2017-08-28 13:37:36 -07:00
Wang Jie 0634f1ffe6 Update gelf.md (#4331) 2017-08-23 16:32:17 -07:00
Wang Jie 795a4e6a42 Update plugins.md (#4329) 2017-08-23 16:30:02 -07:00
Mauricio Sánchez 0ec86e380d Removing duplicated word (#4297) 2017-08-21 14:57:38 -07:00
Wang Jie fe792dc6f3 Update index.md (#4258) 2017-08-18 10:47:11 -07:00
Wang Jie f1de7dfd86 Update systemd.md (#4261) 2017-08-18 10:45:38 -07:00
とうせいきょう 7bbc822b9f Correct the container name (#4234)
When we run a container, the name of the container is `nginxtest`, but when we `rm` or `stop` it, it should be also `nginxtest`.
2017-08-17 14:48:37 -07:00
Paul Oldridge 27f5e6a846 Allow mounting paths with special characters (#4181) 2017-08-17 14:12:28 -07:00
Sebastiaan van Stijn f8f42d2848 Fix missing "type=bind" in bind-mount examples (#4217)
The examples were missing the `type` option; given
that `type=volume` is the default, this was resulting in
the examples producing an error.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-08-16 10:17:00 -07:00