Fix docker run command in README
`tileserver-gl` actually listens on internal port `8080` (the port number on the right side of the colon).
This commit is contained in:
parent
c89a5ae029
commit
1a61d1aced
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,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](https://www.docker.com/) on your computer and then run in the directory with the downloaded MBTiles the command:
|
An alternative to npm to start the packed software easier is to install [Docker](https://www.docker.com/) on your computer and then run in the directory with the downloaded MBTiles the command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm -it -v $(pwd):/data -p 8080:80 maptiler/tileserver-gl
|
docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/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.
|
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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue