docker - Error response from daemon: network myapp not found -


i trying create container in multihost network while creating getting error:

error response daemon: network myapp not found 

here myapp name of overlay network have created. command using is:

sudo docker run --rm -it --name=test_cont --net=myapp ubuntu bash 

docker networks scoped different access. myapp network overlay network scoped swarm.

that means can use @ swarm level - docker service create --network myapp work fine, because services @ swarm level too.

you can start container docker run on swarm, run locally on node run command on, can't see swarm networks.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -