Does Flatcar support LXC ? #676
-
In storage site, there is a file named flatcar-container.tar.gz |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
It's generated and can be a base for a container as with LXC but it has no designated use case it is tailored for and isn't tested. If you have a nice setup to share, how about adding it to the docs? |
Beta Was this translation helpful? Give feedback.
-
Hi @mikucat0309 could you share a bit more info on how did you managed to make it run? |
Beta Was this translation helpful? Give feedback.
-
You can use the container tarball as a rootfs with
The meta tarball needs a file config in it. Can be empty. So give that a try. I don't currently have an lxc host, so the above is copied from my notes from a while ago. |
Beta Was this translation helpful? Give feedback.
-
FWIW a Flatcar user shared this recently in the Matrix channel: https://gist.github.com/joshenders/1f67ceacaadc066e43e2312119e03533 |
Beta Was this translation helpful? Give feedback.
-
I installed flatcar as LXC on Proxmox, had to do some changes to the rootfs because it couldn't boot. It errors couldn't find /sbin/init. It seemed like the template didn't have any symlinks ln -s usr/bin bin
ln -s usr/sbin sbin
ln -s usr/lib lib
ln -s usr/lib64 lib64 |
Beta Was this translation helpful? Give feedback.
-
Flatcar starts and all but I couldn't manage to get ignition working, I put my ignition file at |
Beta Was this translation helpful? Give feedback.
It's generated and can be a base for a container as with LXC but it has no designated use case it is tailored for and isn't tested. If you have a nice setup to share, how about adding it to the docs?
We have a section for things that don't go through our automated release validation: https://www.flatcar.org/docs/latest/installing/community-platforms/