/docker-netatalk-core

⚠️ DEPRECATED ::: stable Netatalk freshly complied from official stable releases on ubuntu 16.04

MIT LicenseMIT

docker-netatalk-core

3.1.11 netatalk - freshly complied from official stable releases on ubuntu 16.04

Source Code

Check the following link for a new version: https://sourceforge.net/projects/netatalk/files/netatalk

TimeMachine - Avahi / Zeroconf

Infos:

You can't proxy the zeroconf inside the container to the outside, since this would need routing and forwarding to your internal docker0 interface from outside.

You can just expose the needed Port 548 to the docker hosts port and install avahi. After that just add a new service which fits to your config.

Example Configuration

afp.conf

;
; Netatalk 3.x configuration file
;

[Global]
  mimic model = RackMac
  zeroconf = yes
  log file = /dev/stdout
  log level = default:warn

[Time Capsule]
  path = /timecapsule
  time machine = yes

/etc/avahi/services/afdp.service

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
    <name replace-wildcards="yes">Time Capsule</name>
    <service>
        <type>_afpovertcp._tcp</type>
        <port>548</port>
    </service>
    <service>
        <type>_adisk._tcp</type>
        <port>9</port>
        <txt-record>sys=waMa=0,adVF=0x100</txt-record>
        <txt-record>dk0=adVF=0xa1,adVN=Time Capsule</txt-record>
    </service>
    <service>
        <type>_device-info._tcp</type>
        <port>0</port>
        <txt-record>model=RackMac</txt-record>
    </service>
</service-group>