Answer the question
In order to leave comments, you need to log in
Why can't the VM inside Docker swarm find the image?
I'm reading the Docker documentation and settled on the swarm section ( https://docs.docker.com/get-started/part4/#accessi... I created two VMs, clustered them, connected to swarm-manager and tried deploy my application (5 instances of my container are launched.) I register docker stack ps application
and see a lot of errors "No such image: quadtree/...." Logically, each VM should have loaded the image from docker.hub, but for some reason this is not I tried on the
swarm-manager VM to run a simple command to start the application: docker run -p 80:80 quadtree/web-application"
And I got this as a result:
Unable to find image 'quadtree/web-application' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question