Skip to content

thatvirtualboy/time-container

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Time Container

Time capsule and apple share in docker.

Running

docker run -d -p <docker_host_ip>:548:548 -v <docker_host_dir>:/share \
  -e AFPD_LOGIN=<login> -e AFPD_PASSWORD=<password> \
  -e AFPD_NAME="<share name>" -e AFPD_SIZE_LIMIT=<size limit in mb if needed> \
  --name <container name> bobrik/time-container

This will bind afpd to docker host ip address and mount directory on docker host to container.

Connecting

Open Finder, then press ⌘K. Enter afp://<docker_host_ip> and press Connect. Enter login and password you supplied at the build stage.

That's it!

Time machine

Note that Time Machine will not work on non-standard port, so use 548.

You may need to run the following command to enable Time machine backups:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1  

About

Time capsule and apple share in docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%