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.23k stars 638 forks source link

starting container process caused: chdir to cwd ("/data") set in config.json failed: permission denied: unknown #687

Closed slushpuppy closed 1 year ago

slushpuppy commented 1 year ago

Using default tag: latest latest: Pulling from maptiler/tileserver-gl Digest: sha256:83805ff4b99fdff245fde45ca21e9f8b816ef33cc9dbb446e28a27ac5845a50c Status: Image is up to date for maptiler/tileserver-gl:latest docker.io/maptiler/tileserver-gl:latest


*

docker-compose up -d tileserver-gl Starting openmaptiles_tileserver-gl_1 ... error

ERROR: for openmaptiles_tileserver-gl_1 Cannot start service tileserver-gl: OCI runtime create failed: container_linux.go:367: starting container process caused: chdir to cwd ("/data") set in config.json failed: permission denied: unknown

ERROR: for tileserver-gl Cannot start service tileserver-gl: OCI runtime create failed: container_linux.go:367: starting container process caused: chdir to cwd ("/data") set in config.json failed: permission denied: unknown ERROR: Encountered errors while bringing up the project. make: *** [Makefile:501: start-tileserver] Error 1

This is my first time running tileserver-gl via https://github.com/openmaptiles/openmaptiles. Sorry if this isn't the right git to post this install

slushpuppy commented 1 year ago

nvm fixed it, make sure to chmoddirectory you are running it from to 0755