Fork me on GitHub

The Docker Connector

This is the user guide for the snapshot version of OCCIware.

OCCIware Connectors » The Docker Connector


This sub project aims at providing the required tools to execute the OCCIWARE model in real execution environment.

Prerequisites

Supports Docker client version: 1.11.x.
docker-machine version: 0.82. Be sure the Docker daemon is running. You should have an account or register yourself on: https://hub.docker.com/account/signup/. To use the vmwarevsphere driver, you should install govc CLI as described here.

# Setting the govc command.
ln -s /path/to-file/govc /usr/bin/govc

Using the Docker Modeler

Install and start OCCIware’s studio.
Preferences are available under Window » Preferences (Windows and Linux) or eclipse » Preferences (Mac OS X).

Preferences

Select Docker Preferences.
Change the configuration below according to your requirements in the Docker modeler.

Preferences

Create new project.

Viewpoint Selections

Create the docker configuration.

Viewpoint Selections

Set the configuration name in the wizard.

Viewpoint Selections

You should get something like this.

Viewpoint Selections

Create a new machine and one container inside the machine.

Viewpoint Selections

Select Start all in the Execute context menu to start both the machine and Docker.
You can also import all the machines deployed in the execution environment.

Viewpoint Selections

Demonstration

This video shows how to launch the modeler and its different features.

The new Docker Studio GUI

The new Docker studio supports the multi-host network, swarm, volume management.

Viewpoint Selections