We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, the current docker file creates nginx.conf as a folder, resulting in the following error:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; docker compose --file '/path/to/wger/wger.yml' --file "/path/to/wger/compose.override.yml" --env-file '/path/to/appdata/global.env' --env-file '/path/to/wger/wger.env' up -d 2>&1': Network wger_default Creating Network wger_default Created Container wger-cache-1 Creating Container wger-db-1 Creating Container wger-cache-1 Created Container wger-db-1 Created Container wger-web-1 Creating Container wger-web-1 Created Container wger-nginx-1 Creating Container wger-nginx-1 Created Container wger-cache-1 Starting Container wger-db-1 Starting Container wger-db-1 Started Container wger-cache-1 Started Container wger-db-1 Waiting Container wger-cache-1 Waiting Container wger-cache-1 Healthy Container wger-db-1 Healthy Container wger-web-1 Starting Container wger-web-1 Started Container wger-nginx-1 Starting Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/path/to/wger/config/nginx.conf" to rootfs at "/etc/nginx/conf.d/default.conf": create mountpoint for /etc/nginx/conf.d/default.conf mount: cannot create subdirectories in "/path/to/merged/etc/nginx/conf.d/default.conf": 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 OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; docker compose --file '/path/to/wger/wger.yml' --file "/path/to/wger/compose.override.yml" --env-file '/path/to/global.env' --env-file '/path/to/wger/wger.env' up -d 2>&1': Network wger_default Creating Network wger_default Created Container wger-cache-1 Creating Container wger-db-1 Creating Container wger-cache-1 Created Container wger-db-1 Created Container wger-web-1 Creating Container wger-web-1 Created Container wger-nginx-1 Creating Container wger-nginx-1 Created Container wger-cache-1 Starting Container wger-db-1 Starting Container wger-db-1 Started Container wger-cache-1 Started Container wger-db-1 Waiting Container wger-cache-1 Waiting Container wger-cache-1 Healthy Container wger-db-1 Healthy Container wger-web-1 Starting Container wger-web-1 Started Container wger-nginx-1 Starting Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/path/to/wger/config/nginx.conf" to rootfs at "/etc/nginx/conf.d/default.conf": create mountpoint for /etc/nginx/conf.d/default.conf mount: cannot create subdirectories in "/path/to/merged/etc/nginx/conf.d/default.conf": 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 in /usr/share/openmediavault/engined/rpc/compose.inc:1012 Stack trace: #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(628): OMVRpcServiceCompose->{closure}() #1 /usr/share/openmediavault/engined/rpc/compose.inc(979): OMV\Rpc\ServiceAbstract->execBgProc() #2 [internal function]: OMVRpcServiceCompose->doCommand() #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array() #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod() #5 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call() #6 {main}
Workaround is to rmdir /path/to/wger/config/nginx.conf and do touch nginx.conf and copy-paste the contents of https://github.com/wger-project/docker/blob/master/config/nginx.conf into it.
rmdir /path/to/wger/config/nginx.conf
touch nginx.conf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey, the current docker file creates nginx.conf as a folder, resulting in the following error:
Workaround is to
rmdir /path/to/wger/config/nginx.conf
and dotouch nginx.conf
and copy-paste the contents of https://github.com/wger-project/docker/blob/master/config/nginx.conf into it.The text was updated successfully, but these errors were encountered: