Ich habe einen Fehler, wenn ich docker-compose up nginx
mit meinem Gast Weg laufen:Docker Compose Host Wegfehlers mit nginx
ERROR: for nginx Cannot start service nginx: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/d/Sites/lfdwveille/app/config/docker/nginx.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/aufs/mnt/fce42187ef3ff6bcc0d5acf53a77d2218348a432063e2d5fe00b8ac945578f63\\\" at \\\"/mnt/sda1/var/lib/docker/aufs/mnt/fce42187ef3ff6bcc0d5acf53a77d2218348a432063e2d5fe00b8ac945578f63/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\""
: 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
[31mERROR[0m: Encountered errors while bringing up the project.
Die URL-Ordner ist richtig :(Ich weiß nicht, warum nginx nicht will, montieren Ordner und ich habe kein Problem mit PHP und MySQL.
ich bin auf Windows- mit docker-compose v1.9.0 und docker 1.12
Fehlerprotokoll:
container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/d/Sites/lfdwveille/app/config/docker/nginx.conf\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/aufs/mnt/fce42187ef3ff6bcc0d5acf53a77d2218348a432063e2d5fe00b8ac945578f63\\\" at \\\"/mnt/sda1/var/lib/docker/aufs/mnt/fce42187ef3ff6bcc0d5acf53a77d2218348a432063e2d5fe00b8ac945578f63/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\""
Jede Idee?
Vielen Dank!
Haben Sie es gelöst? – Robert
Mögliches Duplikat von [Docker komponieren - Freigabe des Volumes Nginx] (https://stackoverflow.com/questions/35995626/docker-compose-share-volume-nginx) – rofrol
Können Sie Ihre docker-compose.yml freigeben? – dbrekelmans