the first command I executed :
docker service create --name=mlh-attachment
–replicas=3
–mount type=bind,src=/data/logs/vertx,dst=/data/logs/vertx
–publish 9128:9127
–detach=false
10.27.224.10:5000/mlh-attach:latest
10.27.224.10:5000/mlh-attach:latest is a image stored in private registry. The service failed for
_“starting container failed: subnet sandbox join failed for “10.255.0.0/16”: overlay subnet 10.255.0.0/16 failed check with host route table: requested network overlaps with existing network”
_and
_“No such image: 10.27.224.10:5000/mlh-attach:latest”
but I did it successfully by an image from official registry as following:
_docker service create --name=hello-world
_–replicas=3
_–detach=false
_hello-world