Docker & Docker-Compose current status? #452
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#452
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I want to use borgmatic with docker-compose and I am familiar with the usage of Docker
Why you don't include a Dockerfile, Docker-Image or Docker-Compose here in the repo?
Is borgmatic not recommended to use in Docker? Too bothersome?
What is the currently best way to use borg + borgmatic via docker-compose?
I am also aware of the abandoned docker repos
https://github.com/coaxial/docker-borgmatic-container
https://github.com/nicph/docker-borgmatic
https://hub.docker.com/r/monachus/borgmatic
I am also aware of those old tickets:
witten/borgmatic#201
witten/borgmatic#113
witten/borgmatic#62
Also you still have a .dockerignore file inside your repository. So you either use Docker for development or you forgot to remove that from the past.
Great questions! I think this is the borgmatic Docker project you're probably looking for: https://github.com/b3vis/docker-borgmatic .. It's linked from the borgmatic docs and actually includes Docker Compose files, but I'll add a mention of Compose to the docs.
I actually use borgmatic myself with both Docker and Docker Compose on machines where that makes sense, so it's certainly "recommended" from my perspective.
The reason that Dockerfiles and Docker Compose files aren't baked into the main borgmatic repo itself is mostly historical. That started as separate projects, and there hasn't been a compelling reason to merge. Although there are discussions about putting the two repositories side-by-side in terms of hosting to make development easier.
Lastly, the
.dockerignore
file in the borgmatic repository is there to support development—Docker and Compose are both used to run end-to-end tests locally and in CI!Hope that helps. Please let me know if you have any other thoughts or questions on this.