maptiler / tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
https://tileserver.readthedocs.io/en/latest/
Other
2.19k stars 632 forks source link

Getting error message when trying to execute docker run command #538

Open snir99 opened 3 years ago

snir99 commented 3 years ago

I am trying to download and run with docker using the following command: docker run --rm -it -v $(pwd):/data -p 8080:80 maptiler/tileserver-gl but i am getting the following message:

docker: Error response from daemon: pull access denied for maptiler/tileserver-gl, repository does not exist or may require 'docker login': denied: requested acces to the resource is denied.

I did download and used it once (on other machine) now I am trying to use it on a new machine and can't. I did login with the docker login command but I get the same error. What should I do?

cityofkokomo commented 3 years ago

I ran into a similar error when running tileserver-gl via docker on Ubuntu 20.04. I uninstalled docker and it's dependencies, and did a fresh install, making sure to give docker and all its dependencies full permissions. This did the trick for me.

answerquest commented 2 years ago

alert: the port number on right side needs to be 8080 also. Seems to be a typo on the part of the documentation. The docker container isn't putting up anything on :80 .
docker run --rm -it -v $(pwd):/data -p 8080:8080 maptiler/tileserver-gl