This is a simple time machine docker image using samba and avahi. It's mostly based on u/KervyN's HowTo and dperson's Samba docker container.
docker run -d --net=host \
-v /opt/timemachine:/timemachine/ \
-e TM_USER=timemachine \
-e TM_PW=timemachine \
--name=timemachine willtho/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 | timemachine |
TM_PW | Users Password | timemachine |
TM_ID | UserID | 1000 |
TM_SIZE | Time Machine Size in MB | 512000 |