Docker Community Forums

Share and learn in the Docker community.

--volume and --mount flag not working with Docker on macOS Catalina

Hello, I was following these instructions on this page here: https://docs.docker.com/storage/volumes/

I tried running this following command

docker run --rm -v /Users/johnnylee/Documents/GitHub/<repo>:/data -p 8888:8888 <image>

However, when I to access the localhost, my jupyter notebook was completely empty. I have read some sources saying that macOS Catalina has permission issues in the past, but my file sharing settings on Docker have access to my /User folder.

MacOS Catalina Version 10.15.7
Docker Engine v19.03.13

Has anyone else run into this issue with sharing volumes?