-
Notifications
You must be signed in to change notification settings - Fork 613
Cannot update nginx config: device or resource busy #317
New issue
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
Comments
Same here. |
update images tags reorganize config directory structure use named volume for /etc/nginx/conf.d as workaround for nginx-proxy/docker-gen#317
I just found workaround for this. I have moved custom configs from |
Same problem with |
I do not have this problem with the old version Docker 2.1.5.0 |
I have the same problem in windown 10 |
@hustlahusky, @ekyna, @paradoxina, @bathanh4996: Instead of letting Example version: '3.7'
services:
ssh-gen:
image: jwilder/docker-gen:0.7.0
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./templates:/etc/docker-gen/templates
- ./output/:/output/
# Workaround for https://github.com/jwilder/docker-gen/issues/317
# Let docker-gen write to internal container file system,
# then run cp as notify command to copy the config file to mounted Docker directory
command: -only-published -watch -notify "cp /tmp/containers.conf /output/containers.conf && some-reload-command-if-you-need-it" /etc/docker-gen/templates/dev-containers.tmpl /tmp/containers.conf In this example This workaround works for me with the latest Docker Desktop edge 2.2.2.0 (43066) on Windows 10 Pro x64 and WSL 1. |
@hustlahusky, @ekyna, @paradoxina, @bathanh4996, @matteocng: |
Hi
I use
jwilder/docker-gen
docker image alongside withnginx
docker image for proxying containers with other web services on my local development environment (Docker for Windows). This combination worked great for a long time. But after recent Docker for Windows update (current stable version 2.2.0.0) I start getting errors injwilder/docker-gen
container:I tried to boot into container tty instead of running docker-gen script and move file manually and it works without errors.
My docker-compose config:
The text was updated successfully, but these errors were encountered: