Re:Flatcar Container Linux
by haarts on Sunday April 09, 2023 @01:05PM
(#35504495)
I've been reading a bit but it seems you can't add containers after you have booted the Flatcar distro. So define it on first boot or reinstall?
[ Parent
| on HN ]
This is incorrect. It’s an immutable OS. But containers can be started and stopped as much as you want. It’s the sole purpose of Flatcar.
No not quite. You can even add new systemd units at boottime - there’s a special ignition config for that
Re:Flatcar Container Linux
by goombacloud on Monday April 10, 2023 @01:37AM
(#35509480)
There are multiple ways to start containers, one of them is to define systemd units in Ignition. If that part needs to change, reprovisioning is needed but a new "flatcar-reset" tool (in Alpha) should make the barrier for reprovisioning lower by only requiring a reboot and being able to keep wanted local data. In the past Ansible was a common choice if neither Kubernetes, Nomad or even docker compose are used.