Loading...

Creating a Docker Client

A Docker virtualization client is required for the following use cases:

  • To manage backup and recovery operations for containers and images running on a Docker host. If you have multiple hosts, you might need to create a different virtualization client for each one.
  • To create VM Lifecycle Policies.

You must create Docker clients on client computers installed with the Virtual Server Agent.

Commvault supports only Version 1.10 Docker container software installed on a Linux operating system.

Before You Begin

  • Install the Virtual Server Agent (VSA) on a client computer. It is not required to install the VSA on Docker hosts. You can also install the VSA on other machines to create additional VSA proxies.
  • At least one VSA proxy is needed.
  • Identify the host name or IP address and a TCP port that can be used to access the host.
  • Obtain administrator user credentials.
  • Use the command line to start Docker on the ephemeral port that will be used to access the Docker host. For example, the following command starts Docker on port 4243:

    /usr/bin/dockerd -H 0.0.0.0:4243 –H unix:///var/run/docker.sock

    The ephemeral port can be in the range 1024-65535.

    Note: The use of the docker daemon command to start Docker is deprecated, and the command will be removed in a future release of Docker.

  • Enable Docker VM Lifecycle Management on CommCell Console.
  • Enable Docker VM Lifecycle Management on Web Console.

Procedure

  1. From the CommCell Browser, right-click Client Computers, and then click New Client > Virtualization > Docker.

    The Create Docker Client dialog box appears.

  2. Enter the client name, access key, and secret key:
    • Client Name: Type a name for the client that will appear in the CommCell Browser.
    • Docker host and port: Type the fully qualified host name or IP address for the Docker host and the port number where Docker was started.

      Use the format host_name:port (for example, 192.0.2.0:4243).

  3. Click Add to select a proxy for backup.
  4. Add VSA proxies:
    1. Select one or more proxies from the Exclude list.

      The list displays all the UNIX clients that have the Virtual Server Agent installed and all the client groups. You can select one or more clients or client groups. When you select a client group, ensure that at least one client in the group has the Virtual Server Agent installed.

    2. Click Include or Include All.

      You can change the order of the proxies in the list by clicking up arrow or the down arrow. The first proxy in the list is the coordinator proxy.

    3. Click OK.
  5. Click OK to create the Docker client.

Last modified: 12/17/2018 8:23:35 PM