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

Complete the following procedures:

About this task

Consider using this procedure rather than invoking through system environment variables if parameter values include international (non-ASCII) characters. System environment variables use the locale settings of the Docker host which may not be compatible with international characters.

Procedure

  1. 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
  2. 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
  3. Copy your source JSON file, for example, setup.json, to/local/notesdata in your container using a docker cp command or other method.
  4. Run the Domino Docker startup script from the Domino program directory to set up and run the server:
    /local/start.sh

Results

Your new Domino server should be up and running in a new Docker container.