Sign inSign up

nikosch86/samba-timemachine

By nikosch86

Updated 3 months ago

docker image to run encryptred SAMBA and provide a compatible TimeMachine share for MacOS

Image
1

4.9K

nikosch86/samba-timemachine repository overview

nikosch86/samba-timemachine

docker image to run encryptred SAMBA and provide a compatible TimeMachine share for MacOS

How to use this image?

Example usage with default config:

docker run -d --restart=unless-stopped \
  --net=host \
  -v /path/to/folder:/data \
  nikosch86/samba-timemachine

This works best with --net=host so that discovery can be broadcast. Otherwise, you will need to publish 137:137/udp, 138:138/udp ,139:139 and 445:445and manually map the share in Finder for it to show up (open Finder press Cmd-K and connect to smb://hostname-or-ip/TimeMachine with your TimeMachine credentials).

Default credentials:

  • Username: timemachine
  • Password: timemachine

Environment Variables:

VariableDescriptionDefault
TM_USERNAMEUsername to access the sharetimemachine
TM_PASSWORDPassword of the Usertimemachine
TM_UIDUID of the User1000
TM_GIDGID of the User1000
TM_GROUPNAMEUnix group of the Usertimemachine
TM_SHARENAMEName of the TimeMachine ShareTimeMachine
TM_SIZE_LIMITsize limit for TimeMachine share, See the Samba docs under the fruit:time machine max size section for more details0
WORKGROUPWorkgroup for Samba ServerWORKGROUP
SHARENAMEName of additional shareShare
MIMIC_MODELModel Name to announceTimeCapsule8,119
DISABLE_SAMBA_ENCRYPTIONset to yes to disable encryption in transit (improves performance 2x)no

docker-compose

Use the provided compose file

Tag summary

Content type

Image

Digest

sha256:aeca080ea

Size

42.1 MB

Last updated

3 months ago

docker pull nikosch86/samba-timemachine