ServerContainers / samba

samba - (ghcr.io/servercontainers/samba) (+ optional zeroconf, wsdd2 & time machine) on alpine [x86 + arm]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why is there a volume created at '/shares'?

Cyberbeni opened this issue · comments

VOLUME ["/shares"]

It adds a volume with autogenerated name in docker. But if you only create shares for folders that you also mount then it will just contain empty folders that correlate with your mounts. (assuming your mounted them inside /shares)

thanks for the info. Unfortunately some environments (I know of openshift, but maybe only some hardened configurations) require this VOLUME definition in order to be able to mount any shares into a container.

In order to be versatilely usable this statement was added