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.
    docker run -it -v <Docker volume name>:<data directory> --name <container name> --entrypoint /bin/bash -p <HostPort:ContainerPort> domino-docker:<image>
    For example:
    docker run -it -v notesdata:/local/notesdata --name adminserver --entrypoint /bin/bash -p 8585:8585 -p 1352:1352 -p 443:443 domino-docker:V1200
  3. Run the following commands to export system environment variables that enable one-touch Domino setup to be invoked in the next step:
    export SetupAutoConfigure=1
    export SetupAutoConfigureParams=setup.json
  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.