Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description of the operation hereDeploys a container with information specified in the Project Container Configuration. When a container is deployed via this operation, any existing container of the same name will be removed and replaced with the newly deployed container. If the deploy should fail for any reason, the old container is restored to the previous state.

Info
titleContainer Status

If the Docker REST API is enabled on your docker installation, you can configure FlexDeploy to have access to start/stop the container as well as view logs.


Environment/Instance Properties

Property NameProperty CodeRequiredDescription

Project Properties

Property NameProperty CodeRequiredDescription
Docker Server Address

FDDKR_DOCKER_SERVER

No

The IP address of the Docker server.  Required if Docker Unix Socker is not set.

Docker PortFDDKR_DOCKER_PORTNoThe port the Docker service is listening on.  Required if Docker Unix Socker is not set.
Docker Unix SocketFDDKR_UNIX_SOCKETNoThe socket the Docker daemon listens on. Required if Docker Server and Docker Port are not set.

Project Properties

This operation uses separate Project Configuration for the properties.

Inputs

Input NameInput CodeRequiredDescription

Outputs

...

Artifacts (Keep one and edit if desired.)

This operation doesn’t consume or produce any artifacts.

This operation consumes artifacts from the artifacts repository.

This operation produces artifacts that will be stored in the artifacts repository.

This operation delegates the consume/produce artifacts decision to the workflow developer.

Endpoint Selection (Keep one and edit if desired.)

This operation will select all available endpoints associated to the environment instance which have resource type of {Resource Type}.

This operation will select all available endpoints associated to the environment/instance.

Container NameFDDKR_INP_CONTAINER_NAMEYesThe name of the container to be created and run.
Docker ImageFDDKR_INP_IMAGE_NAMEYesThe Docker image and tag to use when creating the container.
VolumesFDDKR_INP_VOLUMESNoA comma separated list of volumes to attach to the container. Volume entries should be host:container.
Exposed PortsFDDKR_INP_EXPOSED_PORTSNoA comma separated list of ports to expose on the container and host. (e.g. 8080:28080,22:20022,[ContainerPort]:[HostPort])
Additional ParamsFDDKR_INP_ADDITIONAL_PARAMSNoAdd any additional parameters not listed above, which will be concatenated to the run command.

Artifacts

This operation doesn’t consume or produce any artifacts.

Endpoint Selection

This operation delegates the selection to the workflow developer to determine.

Endpoint Execution

...

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

This operation will execute on all of the selected endpoints and will execute on each of the selected endpoints.

This operation will select all available endpoints associated to the environment instance which have resource type of {resource type}.

This operations delegates the execution to the workflow developer to decide.

Special Considerations

...

Project Configuration

This operation is automatically added to your deploy workflow as the first step if Run Container is marked as true in your Project Configuration.


Describe any dependencies between properties that may exist or anything that that isn’t really covered above but is relevant to this operation.