I'm trying to initialize a database schema in a docker swarm.
The swarm has these networks:
$ docker network ls
NETWORK ID NAME DRIVER SCOPE
b7dptlu8zyqa vme_int overlay swarm
The command I run is
docker run --rm --network vme_internal app:0.1 db upgrade
and i'm getting the following error
docker: Error response from daemon: Could not attach to network vme_internal:
rpc error: code = 7 desc = network vme_internal not manually attachable.