Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to note that btrfs example requires a baremetal install #589

Open
iluvatyr opened this issue Nov 27, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@iluvatyr
Copy link

Is your feature request related to a problem? Please describe.
In the docker image, I can not yet use the btrfs utilities to create btrfs snapshots, yet it is shown as a possible hook here

Describe the solution you'd like
Add btrfs-progs to the image or add functionality that lets users add specific packages via environment variables (e.g.
ADDITIONAL_PACKAGES=btrfs-progs,...,zip

@iluvatyr iluvatyr added the enhancement New feature or request label Nov 27, 2024
@garethgeorge
Copy link
Owner

BTRFS commands are a bit too niche to include in the image by default, I think this is a good candidate for a custom image or I'd more strongly recommend a bare metal install of backrest if running filesystem commands

As a side note: are btrfs userspace commands usable from docker to manage filesystems on the host? Assuming the container needs to be privileged and possibly needs sockets mounted?

@iluvatyr
Copy link
Author

iluvatyr commented Nov 28, 2024

I actually have no idea if it is possible to manage btrfs filesystems from within a docker image. That would have to be checked, I just (naively) assumed it is possible.

Then just as a side node, I would maybe add to the documentation there on the example that it is not possible if deployed as a container? Not absolutely necessary, but maybe someone doesn't know

@garethgeorge garethgeorge changed the title BTRFS in the image Update docs to note that btrfs example requires a baremetal install Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants