Docker in Xen Orchestra with XCP-ng

I haven’t been able to find any way to do this in XCP-ng yet. Has anyone been able to get this working?

I have not done any testing, but it should work the same way.

The commands for Xen don’t appear to have an XCP equivalent. Could I use the 7.2 Xen plugin in XCP-ng 7.6?

BTW, thanks for personally responding. Your YouTube videos are always extremely informative.

I’ve made some progress with these instructions:

I did a fresh install of XCP-ng 7.5 and installed xscontainer using yum:

yum install xscontainer
xe-toolstack-restart

Downloaded the latest CoreOS iso from http://stable.release.core-os.net/amd64-usr/current/coreos_production_iso_image.iso and copied to my local ISO SR.

However, I haven’t gotten the containers to show up properly in Xen Orchestra. I’ll post updates as I progress.

Finally having some time to revisit this, but not completely working.

The following needs to be run in the Docker VM (I’m using Ubuntu, haven’t moved to CoreOS yet):

apt-get install nmap

Then run this command in Dom0 of XCP-ng host:

xscontainer-prepare-vm -v UUID -u DOCKERUSER

Xen and XCP-ng Center see the Docker integration now, but won’t list the Containers.

References:

http://richsitblog.com/index.php/2016/08/14/coreos-on-citrix-xenserver-7-setup-guide/

I don’t know why it worked, but it worked! I removed Portainer from the VM and just added the Portainer agent. For some reason the containers magically started showing up in XCP-ng Center and Xen Orchestra.