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 | ||
---|---|---|
| ||
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 Name | Property Code | Required | Description |
---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Docker Server Address | FDDKR_DOCKER_SERVER | No | The IP address of the Docker server. Required if Docker Unix Socker is not set. |
Docker Port | FDDKR_DOCKER_PORT | No | The port the Docker service is listening on. Required if Docker Unix Socker is not set. |
Docker Unix Socket | FDDKR_UNIX_SOCKET | No | The 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 Name | Input Code | Required | Description |
---|
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 Name | FDDKR_INP_CONTAINER_NAME | Yes | The name of the container to be created and run. |
Docker Image | FDDKR_INP_IMAGE_NAME | Yes | The Docker image and tag to use when creating the container. |
Volumes | FDDKR_INP_VOLUMES | No | A comma separated list of volumes to attach to the container. Volume entries should be host:container. |
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,[ContainerPort]:[HostPort]) |
Additional Params | FDDKR_INP_ADDITIONAL_PARAMS | No | Add 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.