I'm trying to launch the tool with a config.yam file on my computer.
Here is the command :
docker run -it -v /home/francis/projects/transport/greenlight_validator/config.yaml:/greenlight/config.yaml -v /home/francis/Downloads/TBM_NeTEx/bordeaux_metropole-aggregated-netex/OFFRE_bordeaux_metropole_20220302001237Z/BORDEAUX_METROPOLE_offre_Bus_1_54_54.xml:/greenlight lekojson/greenlight -i /greenlight
It fails with the following message :
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/home/francis/projects/transport/greenlight_validator/config.yaml" to rootfs at "/greenlight/config.yaml" caused: mount through procfd: open o_path procfd: open /var/snap/docker/common/var-lib-docker/overlay2/5bf4783716880385cc8d323ff83e64bb840da606013fd2cda2521844d3be4451/merged/greenlight/config.yaml: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
The content of the config.yaml is the one given in the doc.
note
The -i /greenlight is the workaround suggested in #16
I'm trying to launch the tool with a config.yam file on my computer.
Here is the command :
It fails with the following message :
The content of the config.yaml is the one given in the doc.
note
The
-i /greenlight
is the workaround suggested in #16