Creating a secrets file for a password-protected server ID

If a Domino server ID is password-protected and you run the Domino container in detached mode where an administrator cannot input the password directly, create a secrets file to store the password. The Domino server reads the password from the secrets file.

About this task

Ignore this procedure if you plan to run the Domino container in interactive mode. For more information about container execution modes, see Docker run command arguments.

You can create a secrets file manually or through orchestration software such as Docker Swarm or Kubernetes. If you create it manually, during server setup use the docker cp command to copy the secrets file to the container volume.

If you create the secrets file using Docker Swarm or Kubernetes, the file is added to the volume automatically. For more information, see the following resources:

Regardless how you create a secrets file, when you create a container to run Domino, you use the docker run argument --env secretpwfile=<container secrets file> to specify its location.