Product Documentation

Managing Containers

Apr 09, 2015
XenServer 6.5 Service Pack 1 includes two functionalities to enhance deployments of Docker Containers on XenServer:
  • Support for CoreOS 607.0.0 Linux VMs and configuring its Cloud Config Drives
  • Container Management for CoreOS 607.0.0, Ubuntu 14.04 and RHEL/CentOS/Oracle Linux 7

CoreOS is a minimalist Linux distribution which has become popular for hosting Docker™ applications. CoreOS’ Cloud Config Drives allows the customization of various operating system configuration options. When Container Management is enabled on a VM, XenServer becomes aware of any Docker containers running in the VM.

You should install the Container Management Supplemental Pack available from the XenServer 6.5 Downloads page to enable XenServer to:

  • query the VMs to interact with Cloud Config Drives
  • discover the application containers running on each VM and display these within XenCenter's Infrastructure view

XenCenter also enables interaction with the containers to allow for start, stop, and pause operations and other performance monitoring and diagnostic capabilities.

Network Requirements

In order for Container Management to work, managed VMs have to be reachable from the XenServer Control Domain (dom0). The networking topology and firewalls must allow outbound SSH (TCP port 22) connections from dom0 (the XenServer Management Interface) to container-managed VMs (the VM network).

Important: For detailed information about container management network requirements and security, refer to the XenServer Administrator's Guide.

To manage Docker containers using XenCenter (for CoreOS VMs)

  1. Install or upgrade your host to XenServer 6.5 Service Pack 1.
  2. Install the XenCenter build shipped with XenServer 6.5 Service Pack 1.
  3. Install the Container Management Supplemental pack.
  4. Create a CoreOS VM and include a config drive for the VM. For more information about config drive, see Cloud-Config Parameters.
  5. Enable container management for the VM. You can update this setting on the VM’s Properties tab. For more information, see Change VM Properties.

If you wish to use Ubuntu 14.04, RHEL/CentOS/Oracle Linux 7 VMs to manage Docker containers, you should first enable container management using the CLI. Once the container management is enabled on these VMs, you can use XenCenter to perform lifecycle operations such as start, stop, pause, and resume the containers.

For information about configuring Ubuntu 14.04, RHEL/CentOS/Oracle Linux 7 VMs for container management, refer to the XenServer Administrator's Guide.