# Using a Non-Root User for Backup and Restore Operations

Commvault uses an oraclelinux:9 image to perform backup and restore operations as a root user. If you do not want to use root user, then create a custom image and use it for backup and restore operations.

## Procedure

1. To create a custom image use the following Dockerfile:

       FROM oraclelinux:9
       RUN useradd -u 8877 commvault
       USER commvault

   For more information on building custom Docker images, see the docker image build page on the Docker's documentation website.

2. Do the following:

   - If the Kubernetes cluster has external connectivity, then after creating the custom image, set the sK8sWorkerImageName additional setting to the newly created image name. For information on modifying an additional setting, see Editing a Setting for CommCell Entities.

   - If the Kubernetes cluster has no external connectivity, then see instructions on Protecting an Air-Gapped Kubernetes Cluster.

×

Loading...