2020-01

Docker

docker-compose upで「ERROR: for nginx Cannot start service nginx」とか出る場合の対処

Windows10でdocker-compose upを実行したら以下のようなエラーが出ました。 対処法を書いていきます。 ERROR: for laradock_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint laradock_nginx_1 (47613c8491191e91fdbd37fbfe7613bb9e988d34937ce61f4ad9b8cdddaf8ecd): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Docker

docker-compose upで「Cannot start service php-fpm: OCI runtime create failed: container_linux.go:346: starting container process caused “process_linux.go:449: container init caused “rootfs_linux.go:58: mounting…」とか出る場合の対処

Windows10でdocker-compose upを実行したら以下のようなエラーが出ました。 対処法を書いていきます。 ERROR: for laradock_php-fpm_1 Cannot start service php-fpm: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/host_mnt/c/Users/xxxx/laradock/php-fpm/php7.3.ini\\\" to rootfs \\\"/var/lib/docker/overlay2/042b2d3a8065bff1cd4bc15916305c3077b150f7e31dd138def02d87e7d07fe6/merged\\\" at \\\"/var/lib/docker/overlay2/042b2d3a8065bff1cd4bc15916305c3077b150f7e31dd138def02d87e7d07fe6/merged/usr/local/etc/php/php.ini\\\" 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
スポンサーリンク
タイトルとURLをコピーしました