Closed twhittakeriq closed 4 years ago
the image 2e69080faee3 doesn't exist. docker pull image from docker hub, or any your private docker hub. so try this way:
version: '3.4' services: registry: image: redis
it will pull latest redis image from docker hub.
This repo is not for Docker swarm you are looking for https://github.com/docker/swarmkit
I created a docker-compose.yml file that references docker images by ID. When I try to deploy the compose file to a swarm, I get the error "No such image: 2e69080faee3:latest" repeatedly. The image does exist locally. In my scenario, it was loaded from a tar file that was provided to me by an upstream process.
Here is the docker-compose.yml:
This image does exist on the swarm only node attached to the swarm (the manager node in this case).