Issue disabling IPv6 - troubleshooting guide fix not working #1481
Unanswered
warriorsoul15
asked this question in
Getting Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current Behavior
So we dont have IPv6 enabled and I looked up in the Troubleshooting Guide how to disable it.
I edited my docker-compose.overrride.yml file as follows
services:
netbox:
ports:
- "8000:8080"
volumes:
- /the-new-file-path/nginx-unit.json:/etc/unit/nginx-unit.json:ro
When I run docker compose up it errors out with:
Attaching to netbox-1, netbox-housekeeping-1, netbox-worker-1, postgres-1, redis-1, redis-cache-1
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 "/the-new-file-path/nginx-unit.json" to rootfs at "/etc/unit/nginx-unit.json": create mountpoint for /etc/unit/nginx-unit.json mount: cannot create subdirectories in "/var/lib/docker/fuse-overlayfs/762f75e39cd650e6cca6c9650300a3eb52794e41cd24ff17feaa7b0aef26cc5d/merged/etc/unit/nginx-unit.json": 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
I cant figure out how to fix this one.
Expected Behavior
I would expect per the troubleshooting guide it would replace the file
Docker Compose Version
Docker Compose version v2.38.1
Docker Version
The git Revision
477decd
The git Status
Startup Command
docker compose up
NetBox Logs
Content of docker-compose.override.yml
Beta Was this translation helpful? Give feedback.
All reactions