Docker Profile

Docker Profile

The docker profile instantiates nodes that are associated with docker container instances.

Properties

command
The command to run when container is started.
host_cluster
The cluster on which container will be launched.
host_node
The node on which container will be launched.
image
The image used to create a container
name
The name of the container.
port
The port number used to connect to docker daemon.
context
Customized security context for operating containers.

Sample

Below is a typical spec for a docker profile:

type: container.dockerinc.docker
version: 1.0
properties:
 #name: docker_container
  image: hello-world
  command: '/bin/sleep 30'
  host_node: 58736d36-271a-47e7-816d-fb7927a7cd95
  host_cluster: b3283baf-c199-49fc-a5b7-f2b301b15a3d
  port: 2375
  context:
    region_name: RegionOne
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.