82d6b47ddc
Closes-Bug: #1590070 Change-Id: I5cd7bcb9b6fc7356a9255e1e05a6a169a054ecf6 |
||
---|---|---|
.. | ||
docker/install.d | ||
readme.rst |
Docker Elements
This folders contains necessary DIB elements to build Docker image expected by "Docker Standalone Host" Murano application.
Prerequisites
- Install diskimage-builder
sudo pip install diskimage-builder
- Install qemu-utils and kpartx
On Ubuntu, Debian:
sudo apt-get install qemu-utils kpartx
On Centos, Fedora:
sudo yum install qemu-utils kpartx
Image building
To build Debian-based image
sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Docker/DockerStandaloneHost/elements \
"Ec2, ConfigDrive, OpenStack" disk-image-create vm debian murano-agent-debian \
DIB_RELEASE=jessie DIB_CLOUD_INIT_DATASOURCES=-o debian8-x64-docker docker
To build Ubuntu-based image
sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Docker/DockerStandaloneHost/elements disk-image-create \
-o ubuntu14.04-x64-docker vm ubuntu murano-agent docker
Where ${murano_agent_root} is a path to murano-agent files and ${murano_apps_root} is a path to murano-apps files.