I'm trying to follow the Docker Get Started guide. Currently I'm at part 4. Everything up until the point
docker stack deploy -c docker-compose.yml getstartedlab
worked well. However, after trying to deploy the services, when I run docker stack ps getstartedlab
, I see that the swarm manager keeps trying to restart the containers, since every time they get the error "No such image: username/get-st…"
and have their state as "Rejected 6 seconds ago"
etc.
I tried to search for solutions a bit but surprisingly it seems that nobody encountered this error before whatsoever. The issue here and a similar section in the Get Started guide talks about situations where one wants to pull from a private registry. However, throughout the tutorial I've been working with the default public registry. All previous steps (e.g. launching the swarm locally, without using virtualbox
) worked fine.
Versions:
- Docker version 18.02.0-ce, build fc4de447b5
- Virtualbox 5.2.8 r120774
- System Kernel: 4.14.25-1-MANJARO
Any idea what might have been the problem?