You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Docker Run Image Action allows for the running of any image on the agent or a remote host. The action allows specification of an alternative command line to run on container if required. 

Name

A friendly name for this action (will be displayed in the actions workflow area).

Enabled

Determines if this action will be run within the relevant stage.

Docker Image

The name of the resulting image created from the Docker image build. This usually is in the format of {repository}:{tag} where the repository can take the format of {user_name}/{image_name}.

Container Command

 

Container Ports

 

Container Environment Vars

 

Container Name

 

Current Working Directory

The base directory from where all docker command should be run on the agent. If any relative directories are used in the Docker File, or any other scripts that it runs this will be the directory that they are based on. It typically is not a good idea to rely on this directory in Docker Files. All relevant files should be held within the Docker Context. 

Using

The version of Docker to use when running the Docker Build command. It is important that the agent have the correct version of Docker installed for the Docker File provided.  

  • No labels