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
Hi, I use this docker registry UI and I have an issue...
Since version 2.2.0 the nginx crashes with the following error when the dafault.conf is mounted into the container:
sed: can't move '/etc/nginx/conf.d/default.confLFCogB' to '/etc/nginx/conf.d/default.conf': Resource busy
Obviously this has something to do with a change of the underlying nginx image that you are using. I could not figure out what exactly changed there.
I would suggest to adjust the examples. /~https://github.com/Joxit/docker-registry-ui/blob/main/examples/read-only-auth/docker-compose.yml#L19
Maybe you could change it like this. I worked around this by simple creating an own Dockerfile.
Dockerfile.ui:
FROM joxit/docker-registry-ui:2 COPY nginx.conf /etc/nginx/conf.d/default.conf
docker-compose.yml:
version: '2.0' services: registry: image: registry:2.7 volumes: - ./registry-data:/var/lib/registry - ./registry.yml:/etc/docker/registry/config.yml networks: - registry-ui-net ui: build: context: . dockerfile: Dockerfile.ui ports: - 80:80 environment: - REGISTRY_TITLE=My Private Docker Registry - SINGLE_REGISTRY=true volumes: - ./read-write.htpasswd:/etc/nginx/auth/read-write.htpasswd:ro - ./read-only.htpasswd:/etc/nginx/auth/read-only.htpasswd depends_on: - registry networks: - registry-ui-net networks: registry-ui-net:
Then simply:
docker-compose build --pull
docker-compose up -d
The text was updated successfully, but these errors were encountered:
NGINX_CUSTOM_CONF
c84c9f3
Hello, thank you for using my project.
Issue confirmed and may be fixed in 2.2.1 😄
Sorry, something went wrong.
No branches or pull requests
Hi, I use this docker registry UI and I have an issue...
Bug description
Since version 2.2.0 the nginx crashes with the following error when the dafault.conf is mounted into the container:
sed: can't move '/etc/nginx/conf.d/default.confLFCogB' to '/etc/nginx/conf.d/default.conf': Resource busy
Obviously this has something to do with a change of the underlying nginx image that you are using. I could not figure out what exactly changed there.
I would suggest to adjust the examples. /~https://github.com/Joxit/docker-registry-ui/blob/main/examples/read-only-auth/docker-compose.yml#L19
Maybe you could change it like this. I worked around this by simple creating an own Dockerfile.
Dockerfile.ui:
docker-compose.yml:
Then simply:
docker-compose build --pull
docker-compose up -d
The text was updated successfully, but these errors were encountered: