This is a simple time machine docker image using samba and avahi. Thanks to willtho89 for most of the work
docker run -d --net=host \
-v /mnt/backup/timemachine:/timemachine/ \
-v /mnt/backup/foto:/foto/ \
-v /mnt/nas:/nas/ \
-v /home/mario/docker/transmission/watch:/watch \
-e TM_USER=tm_user \
-e TM_PW=timemachine \
--name=timemachine mariomare22/docker-samba-timemachine
Use the provided docker-compose.yml
file and create the conainer with docker-compose up -d
Varibable | Function | Default. |
---|---|---|
TM_USER | Time Machine User | tm_user |
TM_PW | Users Password | timemachine |
TM_ID | UserID | 1000 |
TM_SIZE | Time Machine Size in MB | 512000 |