perjantai 5. kesäkuuta 2015

Sharing a directory in boot2docker

Don't know why, but it seems to be really hard to find an easy way to share a folder in boot2docker.

$ boot2docker ssh
docker@boot2docker:~$ sudo mkdir /mnt/work

docker@boot2docker:~$ sudo mount -t vboxsf -o uid=1000,gid=50 /work /mnt/work