Installing MidPoint Using Docker Image

Last modified 22 Apr 2021 17:31 +02:00

You can deploy midPoint in Linux environment. All you need is to have installed Docker.

Prerequisites

If you already have installed docker just continue to the section GUIDE

Guide

To run midPoint in Docker container please follow these 2 simple steps:

  1. Create container:

    • Open your console and execute command below. This command will create container from downloaded midPoint image and run that container. If your docker does not contain a midpoint image yet, command will look for it on DockerHub and download it.

      docker run -d -p 8080:8080 --name midpoint evolveum/midpoint:latest
    • You can also delete midPoint container and create it again but please note that this will erase your configuration in midPoint. For deleting midPoint container run command below (You have to stop container before removing it or use -f option for force removing):

      docker rm midpoint

      If it is not necessary do not remove midPoint container.

  2. Start and Stop container

    Once you have your container created use start and stop commands for starting and stopping it.

    • Start not running container:

      docker start midpoint
    • Stop running container:

      docker stop midpoint

      Stop command will save your configuration until you remove midPoint container.

    • To enter the midPoint container bash use:

      docker exec -it midpoint bash