Hello,
I have found a way and I can now choose either a VM or a LXC to run my main docker host on top of pve. It will be the one exposed to the internet by my opnSense router, it will run portainer to let me start most of my services and try out new docker containers.
The LXC looks better for performance, freeing RAM more readily for example. But the "drawback" is that most of my containers need access to my NAS using cifs, the LXC itself will run unconfined just because of this. But inside the LXC only Ubuntu and docker with overlay driver are running, and all my other containers are non-priviledged.
So since it's my home setup I feel this is not really an issue and I think performance will be much better with LXC.
Do you see any big issue I could have missed and that would make a VM setup more suited to running docker/portainer than with my LXC ?
(I particularly like the almost instantaneous boot time ov an LXC versus the VM that is quite long)
Thanks for any input!
I have found a way and I can now choose either a VM or a LXC to run my main docker host on top of pve. It will be the one exposed to the internet by my opnSense router, it will run portainer to let me start most of my services and try out new docker containers.
The LXC looks better for performance, freeing RAM more readily for example. But the "drawback" is that most of my containers need access to my NAS using cifs, the LXC itself will run unconfined just because of this. But inside the LXC only Ubuntu and docker with overlay driver are running, and all my other containers are non-priviledged.
So since it's my home setup I feel this is not really an issue and I think performance will be much better with LXC.
Do you see any big issue I could have missed and that would make a VM setup more suited to running docker/portainer than with my LXC ?
(I particularly like the almost instantaneous boot time ov an LXC versus the VM that is quite long)
Thanks for any input!