Skip to content

Is it possible to use an existing full Ubuntu OS as a bootstrap agent? #2559

Closed Answered by dtrudg
Heng-Zhou asked this question in Q&A
Discussion options

You must be logged in to vote

This is technically possible (creating a container filesystem image of a full system), but the result is not likely not be practical. You could make an image of your entire host system using e.g. mksquashfs and then build Bootstrap: localimage from that image, but the resulting container is very unlikely to work as you expect.

Because containers do not boot a kernel, and cannot start an init system (systemd) without workarounds, a large amount of configuration and services that are applied / run on the host system will not be applied / run in a container. Software installed in the host system is likely to depend on configuration / services that are then not correct or running in the conta…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dtrudg
Comment options

You must be logged in to vote
1 reply
@dtrudg
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants