diff --git a/README.md b/README.md index 3f8753e..974ecff 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Alternatively, you can use the `tileserver-gl-light` package instead, which is p An alternative to npm to start the packed software easier is to install [Docker](http://www.docker.com/) on your computer and then run in the directory with the downloaded MBTiles the command: ```bash -docker run -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl +docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl ``` This will download and start a ready to use container on your computer and the maps are going to be available in webbrowser on localhost:8080. diff --git a/docs/installation.rst b/docs/installation.rst index 9357144..286c3db 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -7,7 +7,7 @@ Docker When running docker image, no special installation is needed -- the docker will automatically download the image if not present. -Just run ``docker run -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl``. +Just run ``docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl``. Additional options (see :doc:`/usage`) can be passed to the TileServer GL by appending them to the end of this command. You can, for example, do the following: