You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run docker using a bind mount as described here. I receive the following error:
raise ScannerError("while scanning a simple key", key.mark,
yaml.scanner.ScannerError: while scanning a simple key in "/etc/pycsw/pycsw.yml", line 109, column 9
could not find expected ':'in "/etc/pycsw/pycsw.yml", line 110, column 9
Command
docker run --name pycsw --detach --volume ./pycsw.yml:/etc/pycsw/pycsw.yml --publish 8000:8000 geopython/pycsw
hi Kate, i noticed also this behaviour, it relates to the recent change of the config file to use yaml
I solved it by mounting a customised yaml file into the container
but would be good to fix the default docker image
docker run -p 8000:8000 -v $(pwd)/pycsw.yml:/etc/pycsw/pycsw.yml ghcr.io/geopython/pycsw
Description
I am trying to run docker using a bind mount as described here. I receive the following error:
raise ScannerError("while scanning a simple key", key.mark,
yaml.scanner.ScannerError: while scanning a simple key in "/etc/pycsw/pycsw.yml", line 109, column 9
could not find expected ':'in "/etc/pycsw/pycsw.yml", line 110, column 9
Command
docker run --name pycsw --detach --volume ./pycsw.yml:/etc/pycsw/pycsw.yml --publish 8000:8000 geopython/pycsw
My custom configuration file
pycsw.zip
Environment
Steps to Reproduce
Clone the latest version of pycsw and run the docker command above.
The text was updated successfully, but these errors were encountered: