-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
Have you tried using docker run
with a host volume? Within the docker container, the container directory is there but the contents are always empty. Here is an example:
$ docker run --rm --name build-dex -v $GOPATH:/go golang:latest ls -l /go
total 0
What I expect is this:
ls -l $GOPATH
total 0
drwxr-xr-x 38 notyou staff 1292 Aug 10 16:11 bin
drwxr-xr-x 3 notyou staff 102 Feb 2 2015 pkg
drwxr-xr-x 13 notyou staff 442 Jul 14 15:13 src
This could be a Docker question but from what I can tell, it should work and I'm using the right syntax. Maybe my system needs a reboot...