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

[Suggestion] Add a distrobox save and load command #1647

Open
callb4ck opened this issue Jan 3, 2025 · 0 comments
Open

[Suggestion] Add a distrobox save and load command #1647

callb4ck opened this issue Jan 3, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@callb4ck
Copy link

callb4ck commented Jan 3, 2025

Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to export a container to transfer it on another machine or trough a new host installation and I never remember the commands needed (because I rarely do this) so every time I have to go and look it up when it seems just trivial to implement.
This is good advertisement and the first thing I name when I talk about distrobox, unfortunately though, it's needlessly annoying to do such a simple operation. Distrobox should have a feature to save a container onto a file.

Describe the solution you'd like
Add a distrobox-save command from the host sistem or distrobox-export --container from within the container itself.
Of course a distrobox-import or distrobox-load would also need to be implemented.

Describe alternatives you've considered
I've considered making another wrapper on top of distrobox or using shell aliases, but then other people would also need to have this additional software in order to use this and talking about this as a "distrobox feature" would be dishonest at best.

Additional context
I could work on this myself as it seems to be a fairly trivial task and it's documented enough.
https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md#container-save-and-restore

@callb4ck callb4ck added the enhancement New feature or request label Jan 3, 2025
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

1 participant