Creating a container to run Domino processes with the server down
If you need to run Domino processes such as fixup or updall when the server is down, create a specialized container.
About this task
Typically when you create a container for Domino, a startup script runs that launches the Domino server. To instead create a container that does not start the server and instead provides access through a bash shell, use the arguments --entrypoint /bin/bash and --user notes in the docker run command.
If you use podman, replace docker with podman
in the commands in this procedure. For
example:
podman container stop <container name>
Procedure
-
Stop any containers that are currently accessing the Domino data directory volume:
docker container stop <container name>
-
To create and start the new container, use the following command:
The following example creates a new container called domino1101stopped:docker run -it --name <container name> -v <docker volume name>:<data directory> --entrypoint /bin/bash --user notes --hostname <hostname> --cap-add=SYS_PTRACE <-p HostPort:ContainerPort> <image>
docker run -it --name domino1101stopped -v notesdata:/local/notesdata --entrypoint /bin/bash --user notes --hostname docker.renovations.com --cap-add=SYS_PTRACE -p 1352:1352 domino-docker:V1101
Results
/opt/hcl/domino/bin/server/fixup