Error saying "network vme_int not manually attachable."

0 votes

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.
Aug 24, 2018 in Docker by lina
• 8,100 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Configure the attachable property using the composer file.

    driver: overlay
    attachable: true

Use the docker network create to create a network and make it attachable.

docker network create --driver overlay --attachable my-overlay-network
answered Aug 24, 2018 by Nilesh
• 6,900 points

Related Questions In Docker

+6 votes
4 answers

Error: Docker saying "bad file descriptor"

The solution was easy enough. Add these ...READ MORE

answered Mar 26, 2018 in Docker by DragonLord999
• 8,360 points
0 votes
1 answer

Error saying "context cancelled"

This error occurs when your port is ...READ MORE

answered Jul 26, 2018 in Docker by Kalgi
• 35,750 points
0 votes
3 answers

Error: docker command not found

If you're using Docker as an administrator, ...READ MORE

answered Apr 29 in Docker by Naina
0 votes
1 answer
0 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
0 votes
1 answer

Error saying "build" requires 1 argument. See 'docker build --help'

Try adding a period at the end ...READ MORE

answered Jul 18, 2018 in Docker by Nilesh
• 6,900 points
0 votes
1 answer

Init could not choose ip address error while doing docker swarm init

First look for the public IP of ...READ MORE

answered Aug 23, 2018 in Docker by Nilesh
• 6,900 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.