Docker Community Forums

Share and learn in the Docker community.

Docker compose volume is empty until after Docker for Mac restart

docker

(Sandro Padin) #1

If I delete a directory on the host that is used as a volume while docker-compose up is running, I can’t mount that directory as a volume to another container unless I restart the Docker for Mac app. The volume within the container is empty.