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

Distrobuilder support #13

Open
OmegaRogue opened this issue Jul 1, 2021 · 1 comment
Open

Distrobuilder support #13

OmegaRogue opened this issue Jul 1, 2021 · 1 comment

Comments

@OmegaRogue
Copy link

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Using distrobuilder or something based on the internals of distrobuilder to build LXC images.

Use Case(s)

As per LXC documentation, using LXC templates the way it currently seems this plugin is doing is not recommended, and doesn't work very well. Getting LXC Templates to run is not very easy, and in some cases (all my attempts with alpine linux) it doesn't work at all. The official way to do it instead is to use distrobuilder, which constructs a rootfs for the image that can be used to spawn an lxc container from, using the rootfs as a starting point. This would make building lxc containers easier, and wouldn't require having a working LXC template script for each distro, but just the download sources.

Potential configuration

This could be done by using the shared package of the distrobuilder package to download the base rootfs, which can then be used to start up an lxc container, which can then function as it currently does

Potential References

https://github.com/lxc/distrobuilder

https://linuxcontainers.org/distrobuilder/introduction/

@OmegaRogue
Copy link
Author

Another potential way to do this would be to use the base templates from https://github.com/lxc/lxc-ci to construct the rootfs, from which then a container gets started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants