Reputation: 2627
The command
echo ~
produces in my box:
bash: /home/jcabrerazuniga: Is a directory
I want to share the folder:
echo ~
+ '/myPrograms' (= /home/jcabrerazuniga/myPrograms ) with an internal folder in a docker container as with:
docker run --name=dev_server --network=host --privileged \
-v `echo ~` + '/mypograms':/home/${USER} \
-it jcabrerazuniga/mycontainer:v1 /bin/bash
Is this possible? how?
Upvotes: 1
Views: 88