samba
samba copied to clipboard
Why does this container use volumes?
I was just playing around with setting up Samba and kept running into issues where shares I removed kept popping up.
After looking in the github issues here I found out that the Samba container apparently makes use of volumes to store data.
I would rather have the container not remember everything if I recreate it and just store it's data on it's own filesystem. That way if you recreate the container from for example 'portainer' or with 'watchtower', no old data is kept.
E.g. if you remove a share in my container CMD I wouldn't want it to store that somewhere.