snehalghute commented on issue #42:
URL:
https://github.com/apache/incubator-flagon-useralejs/issues/42#issuecomment-792748474
we got following error while running docker-compose up -d logstash
ERROR: for logstash Cannot start service logstash: OCI runtime create
failed: container_linux.go:349: starting container process caused
"process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting
\\\"/d/Work/incubator-flagon-master/docker/logstash/6.8.2/pipeline/logstash-userale.conf\\\"
to rootfs
\\\"/mnt/sda1/var/lib/docker/overlay2/c5926c1ea9b8ce3f407194e77f0e831caf06114985f43db07bee21ddc638b9fc/merged\\\"
at
\\\"/mnt/sda1/var/lib/docker/overlay2/c5926c1ea9b8ce3f407194e77f0e831caf06114985f43db07bee21ddc638b9fc/merged/usr/share/logstash/pipeline/logstash-userale.conf\\\"
caused \\\"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
Encountered errors while bringing up the project.
This is coming as under volumes file are mapped as shown below:
volumes:
-
./logstash/6.8.2/pipeline/logstash-userale.conf:/usr/share/logstash/pipeline/logstash-userale.conf
-
./logstash/6.8.2/templates/userale.json:/usr/share/logstash/templates/userale.json
This error wont come if we specify path till folder. But then file mapping
is not working.
Kindly let me know fix for the same.
Thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]