k8s-docker-suite-app-murano/DockerStandaloneHost/elements
Nikolay Mahotkin 5c69e7d64c Fixing docker DIB element for setting correct MTU
* docker0 interface in ubuntu had incorrect MTU value
 * Older docker (< v1.1) automatically infer MTU value based
 on host. But since 1.1 docker doesn't do this. It
 sets MTU value 1500 which causes some network problems
 (especially with SSL/TLS/HTTPS) and apps like
 HTTPdSite and NginXSite couldn't clone the repo.

Closes-Bug: 1608836

Change-Id: I62482bce9ad4f45b7ea2d1d4db77d009c7191f7b
2016-08-26 15:17:38 +03:00
..
docker/install.d Fixing docker DIB element for setting correct MTU 2016-08-26 15:17:38 +03:00
readme.rst [DSH] Delete hardcoded image name 2016-07-20 15:58:12 +00:00

Docker Elements

This folders contains necessary DIB elements to build Docker image expected by "Docker Standalone Host" Murano application.

Prerequisites

  1. Install diskimage-builder
sudo pip install diskimage-builder
  1. 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 \
    DIB_RELEASE=jessie DIB_CLOUD_INIT_DATASOURCES="Ec2, ConfigDrive, OpenStack" disk-image-create vm debian murano-agent-debian \
    docker -o debian8-x64-docker

To build Ubuntu-based image

sudo ELEMENTS_PATH=${murano_agent_root}/contrib/elements:${murano_apps_root}/Docker/DockerStandaloneHost/elements disk-image-create \
    vm ubuntu murano-agent docker -o ubuntu14.04-x64-docker

Where ${murano_agent_root} is a path to murano-agent files and ${murano_apps_root} is a path to murano-apps files.