docker run -d -p 8080:8080 --name midpoint evolveum/midpoint:latest
Installing MidPoint Using Docker Image
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 |
-
Install Docker for your operating system. Please follow the instructions at official Docker Docs page: https://docs.docker.com/engine/installation/
Guide
To run midPoint in Docker container please follow these 2 simple steps: |
-
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.
-
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.
-
-
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
-