Docker Profile¶
The docker profile instantiates nodes that are associated with docker container instances.
Properties¶
The command to run when container is started.
The cluster on which container will be launched.
The node on which container will be launched.
The image used to create a container
The name of the container.
The port number used to connect to docker daemon.
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
