timemachine in a docker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
init
services
Dockerfile
README.md
afp.conf

README.md

arve0/timemachine

Netatalk running in docker for time machine backups.

docker pull arve0/timemachine
docker run -e "PASSWORD=asdf" -v /host/mnt/backup:/backup -p 548:548 --net=host -d arve0/timemachine

Connect with timemachine:asdf. If environment variable PASSWORD is not set, timemachine is the default password.

notes on bonjour/avahi/zeroconf

Network discovery only works if afp daemon is on same network as client. Therefore --net=host is required if you would like the disk to show in Finder. If you don't need this, you can remove --net=host and connect in Finder with cmd+k -> afp://hostname/

Note that --net=host doesn't work with ubuntu trusty 14.04: https://github.com/docker/docker/issues/5899

ideas from