christianspecht / scm-backup

Makes offline backups of your cloud hosted source code repositories
https://scm-backup.org/
GNU General Public License v3.0
58 stars 20 forks source link

Docker example #51

Closed norbdev closed 2 years ago

norbdev commented 4 years ago

Please add a Docker example to the documentation.

I recently made a working POC: https://stackoverflow.com/a/61460259/1064316

christianspecht commented 4 years ago

I have no Docker or Linux experience, only a vague idea of how Docker works.

So I would just copy the content of that answer to the docs and that's it?

ruXlab commented 4 years ago

@norbdev hey, thanks for the post! I actually tried the same Docker file but was getting error as described in #49 . Then I switched to the dotnet images kindly provided by MS(those are Debian-based) but still getting problem with permission as described in my issue. I wonder if something wrong with my setup


Just to clarify - that Dockerfile has the same permission problem as I have in #49

If it works on your machine, could you please kindly provide Docker version? Mine is 19.03.2

norbdev commented 4 years ago

I have no Docker or Linux experience, only a vague idea of how Docker works.

So I would just copy the content of that answer to the docs and that's it?

Yes, it is working on MacOS 10.15.4.

@ruXlab: docker desktop community 2.2.0.5 (43884) stable, engine: 19.03.8

ruXlab commented 4 years ago

Hm, I have no idea why it's not working on my machine then. Will look at this later this week again

christianspecht commented 2 years ago

Closing this for now.

I just added a new section to the documentation which lists all Dockerfiles / images that I know of: https://docs.scm-backup.org/en/latest/install/#docker

norbdev commented 1 year ago

2023 update: (modified this for Apple Silicon: https://github.com/christianspecht/scm-backup/issues/49#issuecomment-830032953)

scm-backup: 1.7.0 Docker: Docker Desktop 4.21.1 MacOS: 13.4.1 Apple Silicon: M1 Pro

https://stackoverflow.com/a/61460259/1064316