mirror of https://github.com/docker/docs.git
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 ``` |
||
---|---|---|
.. | ||
images | ||
bind-mounts.md | ||
index.md | ||
tmpfs.md | ||
volumes.md |