mvn clean install
```
-### Building Docker image and install the package into the local repository
+### Building Docker image and install the package into local repository
```
mvn clean install -P docker
```
```
### Running Docker container from docker-compose with EJBCA
-Docker-compose uses nexus image of certservice.
+Docker-compose uses a local image of certservice.
+Build a docker image locally before run docker compose command. See a section **Building Docker image and install the package into local repository**
```
docker-compose up
```