There is a problem with docker creating nginx container.

:docker run -p 80:80 --name mynginx -v $PWD/www:/www -v $PWD/conf/nginx.conf:/etc/nginx/nginx.conf -v $PWD/logs:/wwwlogs  -d nginx
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 \\\"/root/conf/nginx.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/0d3bc40b3dbdaeaa49ca1fe50f5e4fac7a265066cb9a7eff4202b1aa5d0abdcf/merged\\\" at \\\"/var/lib/docker/overlay2/0d3bc40b3dbdaeaa49ca1fe50f5e4fac7a265066cb9a7eff4202b1aa5d0abdcf/merged/etc/nginx/nginx.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.

how to solve this problem?

Mar.22,2021

look at this https://stackoverflow.com/que.

docker volume rm $(docker volume ls -q)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e42467-43918.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e42467-43918.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?