ERROR: 2 matches found based on name: network x is ambiguous

You may run into this error while using docker-compose with DLC enabled. You'll want to make sure that the network is removed prior to running docker-compose in each job. You could run docker network rm ${network_name} || true. The true makes sure that a non-zero result isn't returned if the network doesn't exist. This should prevent network name collisions.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.