windows и получаю такую ошибку ERROR: for chm Cannot start service chm: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/f/projects/php/php-7.4/nashtravel.loc/docker/nginx/chm.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/overlay2/4d46e2e5971cbf3d5235cfc44bfacc038a1970a539f5c2376ea175db4f3ca89f/merged\\\" at \\\"/mnt/sda1/var/lib/docker/overlay2/4d46e2e5971cbf3d5235cfc44bfacc038a1970a539f5c2376ea175db4f3ca89f/merged/etc/nginx/sites-available/default\\\" 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
ERROR: Encountered errors while bringing up the project.
включи докер, там покажи настройки волюмов
volumes: - ./:/app - ./docker/nginx/chm.conf:/etc/nginx/sites-enabled/default
Обсуждают сегодня