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 platform release or maintenance release 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 maintenance releases 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. Run the following command from the installation package or the mount point:

    ./cvpkgadd

    The OEM Selection page appears.

  3. Select Commvault, and then click Next.

    The welcome page appears.

  4. Click Next.

    The Install Task page appears.

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

    The Custom Package Type page appears.

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

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

  8. Select the database, and then click Next.

  9. Follow the instructions to complete the installation.

    You can select the default options to complete the installation.

  10. 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.