docker-compose fails
ralyodio opened this issue · 1 comments
ralyodio commented
$ docker-compose up --build
statsprofullstackcom_db_1 is up-to-date
Starting statsprofullstackcom_web_1 ...
Starting statsprofullstackcom_web_1 ... error
ERROR: for statsprofullstackcom_web_1 Cannot start service web: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container initcaused \"rootfs_linux.go:58: mounting \\\"/home/ubuntu/www/stats.profullstack.com/matomo.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/c54f18fa84a896d528ffe333d43976da274d814f8238d3d8e13cb150b6f7a84a/merged\\\" at \\\"/var/lib/docker/overlay2/c54f18fa84a896d528ffe333d43976da274d814f8238d3d8e13cb150b6f7a84a/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 \\\"/home/ubuntu/www/stats.profullstack.com/matomo.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/c54f18fa84a896d528ffe333d43976da274d814f8238d3d8e13cb150b6f7a84a/merged\\\" at \\\"/var/lib/docker/overlay2/c54f18fa84a896d528ffe333d43976da274d814f8238d3d8e13cb150b6f7a84a/merged/etc/nginx/conf.d/default.conf\\\" caused \\\"not a directory\\\"\"": unknown: Areyou 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.
ralyodio commented
needed the conf file.