Recently i more often encounter this strange error in my docker-compose setups while bringing up the containers with
ERROR: for docker_myproject_phpmyadmin_1 Cannot start service mg_myproject_phpmyadmin: network 15dff95a23808fe9d14b3dae71c0daeaa8b274c90566baa5beff37f3738033b6 not found
For some reason the networks were deleted and docker-compose doesnt automatically recreate networks unless you tell so by forcing docker to recreate containers:
docker-compose up --force-recreate
Solution came from this issue:
Probably i have to explicitly declare the networks to prevent mixups between projects.
Though i thought this would not be necessary…