Public | Automated Build

Last pushed: 3 months ago
Short Description
Container which runs borg inside a container provides isolated backup spaces
Full Description

borgbackup server docker image

minimalistic docker image to contain a borg server


docker run --rm \
  -v $PWD/data:/home \
  -v $PWD/ssh:/etc/ssh \
  -p 22:22 \

User management

root login is not enabled

Create a new folder in your home volume manually and chmod the folder to the UID and GID. Also add an SSH-Key to your user.


To add a user with the name backup and the UID/GID 1000. In this case, the file contains the pubkey and the data-folder is the /home-volume.

mkdir -p data/backup/.ssh
cp data/backup/.ssh/authorized_keys
chown -R 1000:1000 data/backup


  • Volume /home/
    • Contains the data for different users
  • Volume /etc/ssh
    • Contains the keys of sshd. Mount it to have them persisted.
Docker Pull Command
Source Repository