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 Name | FDDKR_INP_IMAGE_NAME | Yes | Image to create the container with |
Mount Plugin Directories | FDDKR_INP_MOUNT_PLUGIN_DIRS | No | Should the plugin execution directories be mounted as a volume? Volumes are mounted under the following directories in 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]) |
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. |
...