I am starting docker container as:
docker run -it -v "$PWD"/syslog-ng.conf:/etc/sys
But unfortunately it is failing to mount my custom (local) configuration file from source to host, complaining about mounting a directory onto file
Error:
docker: Error response from daemon: OCI runtime create failed:
container_linux.go:348: starting container process caused
"process_linux.go:402: container init caused \"rootfs_linux.go:58:
mounting \\"/home/smb/code/conf/syslog-
Am I missing something?
Please let me know
Many Thanks
Mujeeb