Skip to content

Docker toolbox では動きませんでした。 #3

@kazumaro1980

Description

@kazumaro1980

`$ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml up
Starting php74_mysql_php_1 ... done
Starting php74_mysql_mysql_1 ... done
Starting 16ac04ac97d9_php74_mysql_web_1 ... error

ERROR: for 16ac04ac97d9_php74_mysql_web_1 Cannot start service web: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/h/Exment/docker-exment/php74_mysql/web/volumes/nginx.conf\" to rootfs \"/mnt/sda1/var/lib/docker/overlay2/21e3f02d1488ce91a858199335bde6b94f6a2dcc3bcf4b438fd76a2667060e01/merged\" at \"/mnt/sda1/var/lib/docker/overlay2/21e3f02d1488ce91a858199335bde6b94f6a2dcc3bcf4b438fd76a2667060e01/merged/etc/nginx/conf.d/default.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

ERROR: for web Cannot start service web: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/h/Exment/docker-exment/php74_mysql/web/volumes/nginx.conf\" to rootfs \"/mnt/sda1/var/lib/docker/overlay2/21e3f02d1488ce91a858199335bde6b94f6a2dcc3bcf4b438fd76a2667060e01/merged\" at \"/mnt/sda1/var/lib/docker/overlay2/21e3f02d1488ce91a858199335bde6b94f6a2dcc3bcf4b438fd76a2667060e01/merged/etc/nginx/conf.d/default.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.
`
webサーバーのコンテナがエラーになって起動しませんでした。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions