Comments (4)
https://github.com/Quiq/docker-registry-ui/blob/master/config.yml
https://github.com/cesanta/docker_auth
from docker-registry-ui.
Thanks, but I have docker_auth
installed and work perfectly with dock registry and ldap but still can't run docker-registry-ui with base config, here is my config.yml:
# Listen interface.
listen_addr: 0.0.0.0:8000
# Base path of Docker Registry UI.
base_path: /
# Registry URL with schema and port.
registry_url: https://myregistry.com:5000
# Verify TLS certificate when using https.
verify_tls: true
# Docker registry credentials.
# They need to have a full access to the registry.
# If token authentication service is enabled, it will be auto-discovered and those credentials
# will be used to obtain access tokens.
# When the registry_password_file entry is used, the password can be passed as a docker secret
# and read from file. This overides the registry_password entry.
registry_username: test
registry_password: 123456
# registry_password_file: /run/secrets/registry_password_file
# Event listener token.
# The same one should be configured on Docker registry as Authorization Bearer token.
event_listener_token: token
# Retention of records to keep.
event_retention_days: 7
# Event listener storage.
event_database_driver: sqlite3
event_database_location: data/registry_events.db
# event_database_driver: mysql
# event_database_location: user:password@tcp(localhost:3306)/docker_events
# Cache refresh interval in minutes.
# How long to cache repository list and tag counts.
cache_refresh_interval: 10
# If users can delete tags. If set to False, then only admins listed below.
anyone_can_delete: false
# Users allowed to delete tags.
# This should be sent via X-WEBAUTH-USER header from your proxy.
admins: [test1]
# Debug mode. Affects only templates.
debug: true
# How many days to keep tags but also keep the minimal count provided no matter how old.
purge_tags_keep_days: 90
purge_tags_keep_count: 2
# Enable built-in cron to schedule purging tags in server mode.
# Empty string disables this feature.
# Example: '25 54 17 * * *' will run it at 17:54:25 daily.
# Note, the cron schedule format includes seconds! See https://godoc.org/github.com/robfig/cron
purge_tags_schedule: ''
Basically, the only change is registry URL and user/pass to authen against token server, I use ssl on registry node so https
.
Command that I run to invoke docker-registry-ui:
docker run -d -p 8000:8000 -v config.yml:/opt/config.yml:ro --name=registry-ui quiq/docker-registry-ui
just copy config.yml to home directory and modify some lines.
Problem is that I don't see registry-ui
container in the output of docker ps
, howto run it properly?
The container is created an immediately exit, no output when I invoke docker run <..>
, I use archliux os that up-to-date.
from docker-registry-ui.
Please paste the shell output of docker run on how you create container +
docker ps -a
docker logs registry-ui
There should be an error when a container is created in the first place or once started but you should see logs. What's docker version BTW?
from docker-registry-ui.
Thanks with your help, I found out the issue:
I assumed /etc/hosts file wil be used by containers, turn out it's not, connections broke between containers.
After fix some url strings, it works as expected.
from docker-registry-ui.
Related Issues (20)
- SQLite Events DB file (registry_events.db) not created HOT 15
- Authentication by requesting auth token for AWS ECR HOT 2
- [feature request] provide docker registry metrics HOT 3
- duplicate image of library namespace HOT 4
- Sorting Images HOT 1
- Support showing image details for OCI images in the registry HOT 4
- Working kubernetes manifest HOT 1
- Deleting a manifest list only deletes the first manifest HOT 6
- Unsupported platform on arm64v8 RPI4 HOT 2
- default namespace HOT 2
- Restrict access to events HOT 1
- Can't build, dependency issue HOT 3
- Go binary without Docker? HOT 4
- Home screen does not show New Namespace or reflect new repos without the restart of container HOT 2
- cannot initialize api client or unsupported auth method HOT 1
- Fatal error template file: template repositories.html can't be loaded HOT 1
- css: tag page TD width is burst HOT 3
- Allow verify a self signed CA HOT 3
- docker-registry-ui container restarting. panic: yaml: line 83: did not find expected key HOT 3
- Some flexibility for configuration parameters HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-registry-ui.