Runs a docker command in a new container and then optionally destroys the container when complete. Useful for running functions as containers.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Image Name | FDDKR_INP_IMAGE_NAME | Yes | Image to create the container with |
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]) |
Container Entrypoint Commands | FDDKR_INP_CONTAINER_ |
COMMANDS | No |
Csv list of entrypoint commands to pass to the container |
. | ||
Remove Container | FDDKR_INP_REMOVE_CONTAINER | No |
Remove container |
after running? This will also remove volumes created for the container. |
Outputs
Output Name | Required | Description |
---|---|---|
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 operations delegates the execution to the workflow developer to decide.
Special Considerations
Due to the features included in this operation, it requires the docker executable to be on the path of the docker endpoint.
...