Invoking one-touch Domino setup with parameters in a JSON file on Docker
Complete this procedure to invoke one-touch Domino setup with parameters in a JSON file if you run Domino on Docker.
Before you begin
About this task
Procedure
-
Create a volume to store the Domino data directory. For example, to create a
volume called notesdata, issue the following Docker
command:
docker volume create notesdata
-
Run the following Docker command. This command creates a Docker container
without yet configuring Domino by making the container entry point a bash shell.
The command also exports system environment variables that enable one-touch
Domino setup to be invoked in the final step.
docker run -it -v <Docker volume name>:<data directory> --name <container name> --entrypoint /bin/bash --env SetupAutoConfigure=1 --env SetupAutoConfigureParams=<filename>.json -p <HostPort:ContainerPort> domino-docker:<image>
For example:docker run -it -v notesdata:/local/notesdata --name adminserver --entrypoint /bin/bash --env SetupAutoConfigure=1 --env SetupAutoConfigureParams=setup.json -p 8585:8585 -p 1352:1352 -p 443:443 domino-docker:V1200
-
Copy your source JSON file, for example, setup.json,
to/local/notesdata in your container using a
docker cp
command or other method. -
Run the Domino Docker startup script from the Domino program directory to set
up and run the server:
/local/start.sh