My team and I are converting some of our infrastructure to docker using docker-compose. Everything appears to be working great the only issue I have is doing a restart it gives
For future readers. A small addition to the answer by @andriy-baran
You need to stop all containers, delete them and them run network prune (because the prune command removes unused networks only)