Docker on XCP-ng
-
@olivierlambert @olivierlambert I want to install docker on XCP-ng. Not on the VM on top of XCP. Is there any solution to do so??? Please suggest
-
-
@ganeshb This is NOT a good idea. In fact, that's a very bad idea for a lot of reasons.
Dom0 is already a VM, so installing Docker in there or in a "normal" guest is the same thing, except that's a bad security thing to install it inside a privileged environment.
-
A reminder:
There's no host, everything is a VM.
-
@ganeshb Hi, think twice before going this path, with the xcp and the ubuntu hosting the containers seems to be a very good solution.
You can make good use of xcp features as backups snapshots, if something goes wrong, you can easily restore everything. You shouldn't be accessing dom0 if you aren't 100% sure of what u doing.I havent used in prod but the coreos + the plugin looks the most native xen docker compatibility since xenserver 7.0 (I think), which would be more towards enterprises solutions.
CoreOS is RedHat based and a bit different than Debian based.Between Large and small prod environments I'd say you are going fine.
If you want just for a home/small lab, you can try freenas which already comes with a web dashboard.I hope it helps
-