diff --git a/docker/README.md b/docker/README.md index cdba507be..58312de04 100644 --- a/docker/README.md +++ b/docker/README.md @@ -27,7 +27,7 @@ docker build --file Dockerfile.local --tag mira_dkg:latest . Once the build finished, you can run the container locally as ```shell -docker run -d -p 8771:8771 -e MIRA_NEO4J_URL=bolt://0.0.0.0:7687 mira_dkg:latest +docker run -d -p 8771:8771 -e MIRA_NEO4J_URL=bolt://0.0.0.0:7687 --name mira_dkg mira_dkg:latest ``` This exposes a REST API at `http://localhost:8771`. Note that the `-d` flag @@ -45,5 +45,5 @@ docker build --file Dockerfile.metaregistry --tag mira_metaregistry:latest . Once the build finished, you can run the container locally as: ```shell -docker run --detach -p 8772:8772 mira_metaregistry:latest +docker run --detach -p 8772:8772 --name mira_metaregistry mira_metaregistry:latest ```