Match your host volume where your $GOPATH defines the src dir or relative to your current working directory. Usage:
docker run -it --rm --name builder-go-modo -v $GOPATH:/opt/src builder-go bash
or
docker run -it --rm --name builder-go-modo -v $(pwd)/../../..:/opt/src builder-go bash
Content type
Image
Digest
Size
358.8 MB
Last updated
over 7 years ago
docker pull kyledinh/builder-go