Alpine Linux based Time Machine / Samba / NFS server
- Time Machine backups from my Macbook Pro
- Samba access from my Macbook Pro
- Samba access from my Windows 10 machine
- NFS access from my Ubuntu 18.04 machine
- Provide a /config directory through '-v path-to-config:/config' parameter. In this config directory you can put your afp.conf and smb.conf files, as well as users.conf and groups.conf.
- users.conf file defines users as user:uid:group:password
- groups.conf file defines groups as group:gid
- smb.conf is configuration used for samba
- afp.conf is configuration used for afp.
- docker run -d --privileged --net=host -v /exports:/exports -v /etc/fileserver-config:/config hurenkam/fileserver:latest
Before i put this together, i studied docker & alpine documentation, as well as several other docker images. Some of the ideas and scripts in this image are based on these other images: