HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

INSTALLING

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 adocker 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.

Parent topic: Invoking one-touch Domino setup

Related concepts
Domino on Docker