Run Docker Commands
You can configure a job to run Docker commands on a Docker container when a build runs.
You should use the Docker container for short tests and builds. Don’t run a Docker container for long tests or builds, or the builds might not finish. For example, if you use a Docker image that’s listening on a certain port and behaves like a web server, most likely the build won’t exit.
For more information about Docker commands, see https://docs.docker.com/
.
Tip:
If you face a network issue when you run Docker commands, try adding theHTTP_PROXY
and
HTTPS_PROXY
environment variables in the Docker file.
Set Up a VM Build Executor and a Build Executor Template with Docker
Note:
To find your organization administrator, click Contacts under your user profile. Your administrator, or a list of administrators, will display.See Create and Manage Build Executor Templates in Administering Visual Builder Studio.
After the organization administrator adds a VM build executor to the build executor template, you can create and configure a job to use that build executor template and add Docker commands.