melowntech / vts-backend

VTS Backend Helper.
Other
2 stars 9 forks source link

Error response from docker #6

Closed maka-io closed 6 years ago

maka-io commented 6 years ago

When trying to run mapproxy docker image using a defined map proxy project (I'm trying to use the Mars tutorial) I tried to add my local directory to the image but got an error:

docker run -ti -p 3070:3070 --name mapproxy --rm -v projects/mapproxy-wmts:/vts/datasets/mapproxy-wmts:rw vts-mapproxy

Produced:

docker: Error response from daemon: create projects/mapproxy-wmts: "projects/mapproxy-wmts" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intented to pass a host directory, use absolute path.
See 'docker run --help'.

I'm guessing it doesn't like the relative path to "projects." In the docker image, does "projects" live on root?

maka-io commented 6 years ago

never mind, I got the local vs docker directories mixed up!