Commit Graph

14 Commits

Author SHA1 Message Date
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
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
Wang Jie
a95ea1162d Update volumes.md (#4438) 2017-09-11 09:52:17 -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
Misty Stanley-Jones
e01579655e Add info on starting a service with a volume (#4414) 2017-08-29 14:36:17 -07:00
Mauricio Sánchez
0ec86e380d Removing duplicated word (#4297) 2017-08-21 14:57: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
Misty Stanley-Jones
95334935d6 Add graphics showing types of mounts (#4155) 2017-08-10 14:21:16 -07:00
Misty Stanley-Jones
17544f7862 Add some redirets (#4144) 2017-08-10 10:51:52 -07:00
Misty Stanley-Jones
a7d070ca2c Improve data persistence documentation (#4018) 2017-08-09 15:12:59 -07:00