SvenDowideit / dockerfiles

dockerfiles that I use
http://fosiki.com
MIT License
212 stars 59 forks source link

Check for Mounts #44

Open nlevee opened 8 years ago

nlevee commented 8 years ago

Hi,

Can you add an inspect on Mounts section in 'setup-samba-share.sh' :

volumes=`$DOCKER inspect --format='{{range \$k,\$v := .Config.Volumes}}{{println \$k}}{{end}}' "$container" |  grep -v -E "^$" 
         $DOCKER inspect --format='{{range \$k,\$v :=        .Volumes}}{{println \$k}}{{end}}' "$container" |  grep -v -E "^$"
         $DOCKER inspect --format='{{range .Mounts}}{{println .Destination}}{{end}}' "$container" | grep -v -E "^$"`

Thanks :D