Docker swarm management uses docker build to generate a mirror image. I intend to use docker service create to create a container for the generated mirror image to other swarm clusters. It is found that the generated mirror image will not be sent to other clusters. Other nodes will fail to create the container. Prompt: No such image:xxx:xxxx: XXXX, is there any solution?
docker service create –name swarmtest -p 998:8080 –replicas 2 –network ingress –detach=false test:v01
Upload the image to docker hub or private clothing.
Build on several machines at the same time
Export scp to be imported again