Skip to content

CitruXonve/docker-afpd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

A lightweight Docker container serving AppleTalk Filing Protocol.

Configure users

Users are setup using two files: names and users.

The names file should mounted to /names and have the following format:

username:full name
username:full name

The users file should mounted to /users and have the following format (as expected by chpasswd):

username:<password hash>
username:<password hash>

Password hashes can be created with openssl.

cat <raw_passwd_file> | openssl passwd -1 -stdin >> <encrypted_passwd_file>

Configuring Shares

Shares can be configured by mounting an afpd.conf file into /etc/afp.conf:

[Shared]
path = /media
valid users = linux_user
time machine = yes

Documentation for the afpd.conf can be found in Netatalk's documentation.

Ports

Ports 548 is exposed and should be mounted to the host ports

Example

    docker run --detach \
                -v <name_list_file>:/names \
                -v <user_list_file>:/users \
                -v /path/to/local/afpd.conf:/etc/afp.conf
                -v /path/to/shared/volume:/media
                -p 548:548
                docker-afpd:latest

About

Afpd docker image using netatalk

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 62.6%
  • Dockerfile 37.4%