Versions Compared

Key

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

Runs a docker command in a new container and then optionally destroys the container when complete.  Useful for running functions as containers.

...

Input Name

Input Code

Required

Description

Image NameFDDKR_INP_IMAGE_NAMEYesImage to create the container with
Mount Plugin DirectoriesFDDKR_INP_MOUNT_PLUGIN_DIRSNo

Should the plugin execution directories be mounted as a volume? Default value is true. Volumes are mounted under the following directories in the container:

  • /fd_working_dir/temp,
  • /fd_working_dir/artifacts,
  • /fd_working_dir/object-results
  • /fd_working_dir/test-results
  • /fd_working_dir/reports
  • /fd_working_dir/transfer
  • /fd_working_dir/internal
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])
Container Entrypoint CommandsFDDKR_INP_CONTAINER_COMMANDSNoCsv list of entrypoint commands to pass to the container.
Remove ContainerFDDKR_INP_REMOVE_CONTAINERNoRemove container after running? Default value is false. This will also remove volumes created for the container.
Container NameFDDKR_INP_CONTAINER_NAMENoAdd a name for the new container.
Wait For ExitFDDKR_INP_WAIT_FOR_EXITNoIf true, FlexDeploy will wait until the container has exited. Default value is false.
Additional ParametersFDDKR_INP_REMOVEADDITIONAL_CONTAINERPARAMSNoAdd any additional parameters not listed above, which will be added to the run command. (e.g. --cidfile /test/file.cid -d -e MYVAR1)

...