5 ms·
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?
by haarts 3y ago
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?
- blixtra 3y agoThis 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.
- dilyevsky 3y agoNo not quite. You can even add new systemd units at boottime - there’s a special ignition config for that
- goombacloud 3y agoThere 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.