SvenDowideit / dockerfiles

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

Add optional setting for readonly #6

Closed oxypwn closed 10 years ago

oxypwn commented 10 years ago

Adding optional setting to make samba directory readonly. You could set this from the container with the volumes being shared but could also be done using samba.

Example:

docker run --rm -v (which docker):/docker -v /run/docker.sock:/docker.sock  -e READONLY=yes svendowideit/samba  data