Boot2Docker on Mac - Accessing Local Files

后端 未结 4 975
失恋的感觉
失恋的感觉 2020-12-09 18:56

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? T

4条回答
  •  失恋的感觉
    2020-12-09 19:56

    boot2docker together with VirtualBox Guest Additions
    How to mount /Users into boot2docker

    https://medium.com/boot2docker-lightweight-linux-for-docker/boot2docker-together-with-virtualbox-guest-additions-da1e3ab2465c

    tl;dr Build your own custom boot2docker.iso with VirtualBox Guest Additions (see link) or download http://static.dockerfiles.io/boot2docker-v1.0.1-virtualbox-guest-additions-v4.3.12.iso and save it to ~/.boot2docker/boot2docker.iso.

提交回复
热议问题