UAC - Docker Container

Universal Task to Manage Docker Container; Run, Create, Start, Stop and Remove Functions

The Universal Task can automate the following Docker Container functions:

  • Run
  • Create
  • Start
  • Stop
  • Remove


Example Output



Universal Task Details Fields

Docker Function = Run

Field Label

Description

Example

Image Name

Docker Image Name (including tag)

myimage:latest

Container Name

Docker Container Name

mycontainer

Hostname

Docker Container Hostname 

myhost

Detach

Run Container in background and print Container ID


Remove

Automatically remove the container


Command

Command to Run in the Container

echo "Hello World"

Container Environment Variables

Set Container Environment Variable Values 


Container Port Mapping

Specify specific Container ports to map to specific Host ports 


Logging Level

Controls messages issues from the Universal Task:

  • None
  • Info
  • Debug
  • Warning
  • Critical

None

Docker Function = Create

Field Label

Description

Example

Image Name

Docker Image Name (including tag)

myimage:latest

Container Name

Docker Container Name

mycontainer

Hostname

Docker Container Hostname 

myhost

Command

Command to Run in the Container

echo "Hello World"

Container Environment Variables

Set Container Environment Variable Values 


Container Port Mapping

Specify specific Container ports to map to specific Host ports 


Logging Level

Controls messages issues from the Universal Task:

  • None
  • Info
  • Debug
  • Warning
  • Critical

None

Docker Function = Start

Field Label

Description

Example

Container Name

Docker Container Name

mycontainer

Logging Level

Controls messages issues from the Universal Task:

  • None
  • Info
  • Debug
  • Warning
  • Critical

None


Docker Function = Stop

Field Label

Description

Example

Container Name

Docker Container Name

mycontainer

Logging Level

Controls messages issues from the Universal Task:

  • None
  • Info
  • Debug
  • Warning
  • Critical

None

Docker Function = Remove

Field Label

Description

Example

Container Name

Docker Container Name

mycontainer

Force

Force the removal of a running container (uses SIGKILL)


Logging Level

Controls messages issues from the Universal Task:

  • None
  • Info
  • Debug
  • Warning
  • Critical

None