Creating a Docker Container Image for Commvault

Updated

You can create a Docker container image by running the ./cvpkgadd command from the Commvault DVD/Disk3 directory.

Important: To upgrade to a new release or hotfix of the Commvault software, you must rebuild the Commvault image with the new DVD, and then upgrade the Commvault docker container as a rolling non-disruptive upgrade. Upgrading Commvault by pushing hotfixes from the CommCell Console might not be successful if the pods have restarted.

Before You Begin

Create an installation package with the Commvault software. For more information, see Downloading Software for UNIX, Linux, and Macintosh Computers Using the Download Manager.

Procedure

  1. On the Linux client where the Docker package is installed and the Docker repository is running, copy the Commvault installation media to create and push the Commvault images.

    Note: You can copy the installation media from the software cache directory.

  2. In the /tmp directory, run the following command to create a touch file on the client that you are creating the docker image on:

    touch /tmp/cvpkgadd_unlock_docker
  3. Run the following command from the installation package or the mount point:

    ./cvpkgadd

    The OEM Selection page appears.

  4. Select Commvault, and then click Next.

    The welcome page appears.

  5. Click Next.

    The Install Task page appears.

  6. Select Create custom package, and then click Next.

    The Custom Package Type page appears.

  7. Select Create a docker image, and then click Next.

  8. Select Join an existing CommCell Group, and then click Next.

  9. Select the database, and then click Next.

  10. Follow the instructions to complete the installation.

    You can select the default options to complete the installation.

  11. To verify whether the Docker container was created successfully, run the docker images command.

    If the Docker image was created successfully, you will see the image name and other details in the output screen.