Created
April 28, 2018 10:01
-
-
Save Johnz86/e5d5a1997f975b602d31dc888c38b860 to your computer and use it in GitHub Desktop.
Mount local windows folder to docker volume in docker-machine virtualbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker volume create $docker_volume | |
docker-machine ssh default -- "sh -c 'sudo mount -o uid=1000,gid=1000 -t vboxsf $docker_volume $(docker inspect $docker_volume -f {{.Mountpoint}})'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment