Docker run command arguments
To create containers for Domino, you use the the docker run
command
with the following arguments.
- When you issue commands in the Docker command-line interface, by default,
you're required to precede commands with
sudo
. To avoid the need to do this, system administrators can create a UNIX group calleddocker
and add appropriate users to it. The steps in this documentation assume use of thedocker
group and exclude thesudo
prefix in docker commands. For more information on creating adocker
group, see Post installation steps for Linux in the Docker documentation. - As of Domino 12, Pod Manager tool (podman) is a supported containerization runtime. Follow the documentation for Domino on Docker, but on the command line replace docker with podman.
Argument | Description |
---|---|
<execution mode> |
Specifies which mode to use when the container runs. Always use the specified mode when you run the container.
Alternatively, you can use the |
--rm |
Tells Docker to remove the container after the container stops. Typically this is used when creating a temporary container to run server setup or to perform an upgrade. |
--name <container name> (required) |
Specifies a unique, friendly name to use to reference the container when issuing Docker commands. |
-v <docker volume name> (required) |
Specifies the Docker volume to persistently store the Domino data
directory. Note: The volume is created if it doesn't exist
already. |
--hostname <hostname> (required) |
Specifies the host name that is mapped to the Domino container, typically the fully qualified internet host name of the host system on which Docker runs. |
--cap-add=SYS_PTRACE (recommended) |
Enables settings to allow NSD to capture callstacks via the ptrace tool should a problem occur that requires a Support ticket. |
--env secretpwfile=<container secrets
file> |
Sets a container variable, secretpwfile,
that specifies the data directory path to a secrets file that
stores the password for a Domino server ID. For example:
Required only when a server ID is password-protected and a
container runs in detached mode. For more information, see Creating a secrets file for a password-protected server ID. |
-p <HostPort:ContainerPort>
|
Specifies which ports from the Domino container to publish to the
host system. For proper Domino server function, the appropriate port
for each desired Domino service must be listed. External hosts
cannot reach services without published ports. For reference, here
is a list of standard ports for common Domino services:
Note: Server Controller and Java Console are not supported on a
container-based Domino server.
To add or remove ports after initial Domino container creation, delete the container and create a new one that specifies all of the desired ports. |
<image> (required) |
The name of the Docker image previously loaded to Docker from the
tar archive file that is provided with the web kit download. Tip: Use docker image ls to see a list
of available Docker images on the system. |
<Domino image arguments> |
|
--autoconf |
Invokes one-step Domino setup. For more information, see One-touch Domino setup. |
For a complete description of Docker commands, see Use the Docker command line in the Docker documentation. You
can also type docker
from your system's command prompt and press ENTER
to see a description of each command.