Run Curity Using Docker
In this tutorial we will use the official Docker image of the Curity Identity Server to run the server locally, using Docker.
Pull the latest image from Docker hub¶
docker pull curity/idsvr
To use other variants of the container, refer to the details on Docker Hub.
The docker run command¶
- Set the admin user password in an environment variable and start the server.
- The port 6749 is the default port for the admin UI so expose it in the
docker runcommand to access it.
- The port 8443 is also exposed in this example to prepare for the First Configuration
docker run -it -e PASSWORD=<ADMIN_PASSWORD> -p 6749:6749 -p 8443:8443 curity/idsvr
You can also run in detached mode (by passing
-d in the
docker run command).
The unattended installer will run in the container when it is starting for the first time, only if a
$PASSWORD is set
Once the server is up, you should be able to access the Admin UI in https://localhost:6749/admin Login with the username
admin and the password you provided in the
Note: You can also find a more advanced tutorial with docker-compose here
Now Curity is up and running but without any configuration. The next step is to setup the basic profiles and services.