Run Docker Commands

After you have updated the environment file with your License Server details, and made any optional changes, you can run the containers.

To run the Docker Compose system

  1. Open a command prompt.

  2. Log in to docker by typing the following command:

    docker login -u microfocusidolreadonly

    When prompted, type the API key provided by Micro Focus Support.

    This log in allows you to access the IDOL containers in the microfocusidolserver organization on Docker Hub.

  3. In the command prompt, switch to the directory for the Docker Compose system that you want to run (for example basic-idol, data-admin, or site-admin).

    NOTE: Docker uses these folder names to create the names of the container instances. If you change the default basic-idol, data-admin, or site-admin folder names or modify the COMPOSE_PROJECT_NAME environment variable, you must adapt some of the examples in later sections of this chapter.

  4. Run the docker-compose up command to build and run the containers:

    docker-compose up

    This option builds the simple system.

    To add any of the additional features, you can use the -f argument with the name of each YAML file that you want to use. For example, for basic-idol, the following command runs the basic system with a bindmount and exposes the component ports:

    docker-compose -f docker-compose.yml -f docker-compose.expose-ports.yml -f docker-compose.bindmount.yml up

    For details of the available YAML files, see IDOL Docker Compose Files.