Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Boot2Docker on Mac - Accessing Local Files

Tags:

People also ask

How do I access files in a Docker container from the host Mac?

Show activity on this post. Mount a volume in the container from a folder on the host. docker run -v /path/on/host:/path/in/container … The path on the host will be visible in Finder and changes made in one will be reflected in the other.

Where are Docker containers on macOS?

MacOS: ~/Library/Containers/com. docker. docker/Data/vms/0/

Can you run Docker containers on Mac?

Docker Desktop currently supports macOS Catalina, macOS Big Sur, and macOS Monterey. At least 4 GB of RAM. VirtualBox prior to version 4.3. 30 must not be installed as it is not compatible with Docker Desktop.


I've just set up boot2docker on my Mac. How do I go about mounting a local directory on my Mac so that it's accessible all the way through to a running Docker container? Thanks for your help!