dockerCreateContainer

This operation creates a Docker container. It can expose ports and attach volumes.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Docker Unix Socket

FDDKR_UNIX_SOCKET

No

The socket the Docker daemon listens on. Required if Docker Server and Docker Port are not set. Default value is [/var/run/docker.sock]

Docker Server Address

FDDKR_DOCKER_SERVER

No

The IP address of the Docker server.

Docker Port

FDDKR_DOCKER_PORT

No

The port the Docker service is listening on.

Project Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Docker Image Name

FDDKR_IMAGE_NAME

No

The name of the docker image, including the repository if desired. i.e. foo/bar or bar. The plugin input FDDKR_INPUT_IMAGE_NAME takes precedence over this property.

Docker Image Tag

FDDKR_IMAGE_TAG

No

The tag of the docker image. For example: 1.2.3. The plugin input FDDKR_INPUT_IMAGE_TAG takes precedence over this property.

Inputs

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Container Name

FDDKR_INP_CONTAINER_NAME

No

The name of the container to be created.

Docker File

FDDKR_INP_DOCKER_FILE

No

The path to a Docker file to use in creation of a container. Setting this will ignore Image Name.

Exposed Ports

FDDKR_INP_EXPOSED_PORTS

No

A comma separated list of ports to expose on the container and host. (e.g. 8080:28080,22:20022,[HostPort]:[ContainerPort])

Image Name

FDDKR_INP_IMAGE_NAME

No

The Docker image use when running the container. This input will take priority over the FDDKR_IMAGE_NAME project property.

Image Tag

FDDKR_INP_IMAGE_TAG

No

The tag to use when creating the container. This input will take priority over the FDDKR_IMAGE_TAG project property.

Volumes

FDDKR_INP_VOLUMES

No

A comma separated list of volumes to attach.

Outputs

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Container ID

FDDKR_OUT_CONTAINER_ID

No

The ID of the created container.

Artifacts

This operation does not produce or consume artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the target.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

The following macros are not currently supported in the footer:
  • style