Skip to main content
System StatusContact Support
VersionOne Community

Configuring the Docker Plugin

Docker is a popular platform for developers and system administrators to develop, deploy, and run applications with containers. If you have a Docker server, you can have Continuum Pipeline instances register Docker images. In addition, you can deploy and remove containers to Docker instances.

Configuration

Before using the Docker plugin, you must set up one or more Docker server instances.

  1. Select Plugins from the Administration menu (cogwheel icon) and select Docker from the list of plugins available. 
  2. Click Add and enter the Name and URL of the Docker server instance. 
  3. Click Test Connection and make sure you are able to successfully connect to the Docker instance.
  4. Repeat step two and three to add more Docker server instances. 
  5. When you have more than one server instance, click Set As Default to set one of the instances as the default

 

Using the Docker Plugin 

Once one or more Docker server instances have been set up, you can set up pipelines that use the Docker plugin. You can either create a new Stage and add a step that uses the Docker plugin or add the Docker plugin to an existing Stage.

Functions

There are three functions available with the Docker plugin, which you can use in your Pipelines. 

  • Register Image
  • Deploy Container
  • Remove Container

Register Image

Used to register a Docker image with the Pipeline instance.

Properties

Image Name: The name of the Docker image.

Deploy Container

Used to deploy a container to a Docker instance for a given Docker image.

Properties

  • Image Name: The name of the Docker image.
  • Docker Endpoint Name: The name of the Docker endpoint instance as configured in Continuum. 

Remove Container

Used to remove a container from a Docker instance for a given Docker image.

Properties

  • Container: The name of the Docker container (or ID) to remove. 
  • Docker Endpoint Name: The name of the Docker endpoint instance as configured in Continuum. 
  • Was this article helpful?