Glance configuration

When Docker boots a container, it will need to start the container from a Docker image, similar to how it needs to start a virtual machine from a disk image. Nova will need to pull this container from Glance. This means that Glance needs to know how to manage Docker containers. In Mitaka, Glance knows how to handle Docker containers by default. This can be confirmed by looking in the /etc/glance/glance-api.conf file and verifying that docker is listed in the container_formats list. Note that container of container_formats here does not refer to a docker container. It is related to the storage capabilities that Glance has.

Importing a Docker image to Glance

Now that it has been confirmed that Glance can manage the Docker container, ...

Get OpenStack Essentials - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.