Output of docker version:
Docker version 1.12.0-rc5, build a3f2063
Output of docker info:
Containers: 5
Running: 5
Paused: 0
Stopped: 0
Images: 298
Server Version: 1.12.0-rc5
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 370
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: host null overlay bridge
Swarm: active
NodeID: b09qanm1y28lo5yzkrqdlpzb6
Is Manager: true
Managers: 2
Nodes: 2
Node Address: 10.0.0.123
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-28-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 7.796 GiB
Name: server1
ID: FD7N:BUKQ:JKZH:6LCQ:UTL5:5CCD:YOK3:3UIF:D56N:HKZJ:DTUL:WYBT
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
127.0.0.0/8
Steps to reproduce the issue:
docker service create --replicas=1 quay.io/mycompany/myimage:1.2016.193.1
Describe the results you received:
docker service ls shows 0/1 (even after waiting 10 minutes)
docker images (run on either node): the image is not listed
If at this stage I manually pull the image, then the service immediately creates an instance.
In fact it creates multiple instances when only one replica has been requested. All instances are created on the node on which the docker pull command was run. In my first test, 4 containers were created, in a later test 12 containers were created, so `docker service ls' showed
ID NAME REPLICAS IMAGE COMMAND
06f02qucwfmc myimage 12/1 quay.io/mycompany/myimage:1.2016.193.1
Describe the results you expected:
docker service create should pull the requested image if not present
Output of
docker version:Output of
docker info:Steps to reproduce the issue:
docker service create --replicas=1 quay.io/mycompany/myimage:1.2016.193.1Describe the results you received:
docker service lsshows 0/1 (even after waiting 10 minutes)docker images(run on either node): the image is not listedIf at this stage I manually pull the image, then the service immediately creates an instance.
In fact it creates multiple instances when only one replica has been requested. All instances are created on the node on which the docker pull command was run. In my first test, 4 containers were created, in a later test 12 containers were created, so `docker service ls' showed
Describe the results you expected:
docker service create should pull the requested image if not present