* 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
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>
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>
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
```
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`
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?
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>