lobaro / restic-backup-docker

A docker container to automate backups with restic
Apache License 2.0
345 stars 113 forks source link

Add fuse to docker container and remove busybox image #23

Closed niondir closed 4 years ago

niondir commented 5 years ago

We are using the busybox image because we need fuse mount as a possible backup target.

It would be preferable to have a plain alpine image but that would need and installation of fuse.

A good example is the official image, we should get as close as possible to the official base image: https://github.com/restic/restic/blob/master/docker/Dockerfile

RUN apk add --update --no-cache ca-certificates fuse openssh-client

niondir commented 4 years ago

I added fuse. restic mount works now inside the container.

Future work could be to provide a ENV variable that mounts the repo to a volume.