nginx container fails to start because of missing proxy.conf #5

Closed
opened 2021-10-13 22:04:39 +00:00 by rishighan · 1 comment
rishighan commented 2021-10-13 22:04:39 +00:00 (Migrated from github.com)

When attempting to run the ThreeTwo! stack using docker-compose up --build -d, nginx fails to spin up because of:

ERROR: for nginx  Cannot start service nginx: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/proxy.conf" to rootfs at "/etc/nginx/conf.d/default.conf" caused: mount through procfd: 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.
When attempting to run the `ThreeTwo!` stack using `docker-compose up --build -d`, `nginx` fails to spin up because of: ```bash ERROR: for nginx Cannot start service nginx: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/proxy.conf" to rootfs at "/etc/nginx/conf.d/default.conf" caused: mount through procfd: 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. ```
rishighan commented 2021-10-14 21:16:27 +00:00 (Migrated from github.com)

Fixed the nginx.conf mapping issue in this commit

Fixed the `nginx.conf` mapping issue in [this commit](https://github.com/rishighan/threetwo/commit/c8eb2882bd821ab065353939334b6d7eed6caeb4)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: frishi/threetwo#5