Docker operations
Docker for Mac
Delete all images and containers
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
docker volume rm $(docker volume ls |awk '{print $2}')
rm -rf ~/Library/Containers/com.docker.docker/Data/*
Restart docker after that.
Network
Delete docker0 bridge network
ifconfig docker0 down
brctl delbr docker0
The next time you start docker daemon, this network will be recreated.