snagles / docker-registry-manager Goto Github PK
View Code? Open in Web Editor NEWWeb front end for managing multiple private docker registries
License: Apache License 2.0
Web front end for managing multiple private docker registries
License: Apache License 2.0
using webhooks from the registry https://github.com/docker/distribution/blob/master/docs/notifications.md
For adding registry from interface. Will run GetRegistryStatus
Could lookup base images (i.e golang:alpine) based on FROM statement and do a lookup for that docker hub entry via their api, then display and link to it.
Linguist and check files?
Interesting registry manager.
Before making any tweaks, pulled it down and ran go build successfully.
Running the app results in a panic though:
panic: ./app flag redefined: graceful
goroutine 1 [running]:
flag.(*FlagSet).Var(0xc42005a180, 0xde0fa0, 0xe47274, 0xab3d70, 0x8, 0xac5c36, 0x21)
/usr/lib/go-1.9/src/flag/flag.go:793 +0x5e1
flag.BoolVar(0xe47274, 0xab3d70, 0x8, 0xc42004bf00, 0xac5c36, 0x21)
/usr/lib/go-1.9/src/flag/flag.go:572 +0x72
github.com/snagles/docker-registry-manager/vendor/github.com/astaxie/beego/grace.init.0()
/home/ubuntu/gowork/src/github.com/snagles/docker-registry-manager/vendor/github.com/astaxie/beego/grace/grace.go:93 +0x60
github.com/snagles/docker-registry-manager/vendor/github.com/astaxie/beego/grace.init()
:1 +0x89
github.com/snagles/docker-registry-manager/vendor/github.com/astaxie/beego.init()
:1 +0x73
github.com/snagles/docker-registry-manager/app/routers.init()
:1 +0x44
main.init()
:1 +0x8e
Any suggestions on what I may be doing wrong?
When tags are removed the registry still returns tags in the get catalog list, but all of the metadata is empty.
Hi,
I cannot seem to manage a registry which is hosted on Azure Containers Registry services.
It is a docker registry running on port 443 and I authenticate it using the MANAGER_REPOSITORIES variable.
- MANAGER_REGISTRIES='https://username:[email protected]:443'
I get the error Failed to parse registry from the passed url.
, but I guess it is related
to the fact that Azure is controlling the password field and that when they generate a
password they use special characters such as \=%$/
etc.
Would you have an idea how to authenticate using that kind of characters in the basic auth password schema?
Is there a way to escape special characters?
Regards
Dominick
Add tabs for image overview, activity, how to push, and docker file stages. Add ability to download dockerfile and blobs? Conversion to docker-compose? Layer information
Could do some cool things via https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/
Manifest Schema1 config information can be retrieved by first getting the Schema2 manifest:
curl http://localhost:5000/v2/ubuntu/manifests/16.04 -H 'Accept: application/vnd.docker.distribtion.manifest.v2+json'
then using the config digest
"config": {
"mediaType": "application/vnd.docker.container.image.v1+json",
"size": 3624,
"digest": "sha256:f7b3f317ec734a73deca91b34c2b1e3dd7454650da9c8ef3047d29a873865178"
},
we can do a blob retrieval for the Schema1 information:
curl http://localhost:5000/v2/ubuntu/blobs/sha256:f7b3f317ec734a73deca91b34c2b1e3dd7454650da9c8ef3047d29a873865178 -H 'Accept: application/vnd.docker.distribution.manifest.v1+json
Automatically pull and update often used images from dockerhub to reduce web traffic for frequent deployments. Have ability to schedule downloads and updates and interface to select them from docker hub.
Hi I just trying your webui, it really fantastic, but have question. We have secured registry but i need add it like user:[email protected]. If there any update which will hide whis?
Thx
Best regards
Anton
Can use etcd or something similar to easily deploy and discover other registry instances.
I'm thinking an initial compose file that turns up the web gui and a registry pair on the same host (and automatically adds and links), and then compose file that easily links each registry on separate hosts back to the main gui without manually adding them.
I am using the docker image available from docker hub and start up the registry as docker run -d --name registry-ui -p 8080:8080 snagles/docker-registry-manager
I then add my private v2 docker registry using the UI. After awhile I can see a list of all the repositories. I browse to a particular repository (i.e. "myRepoName/myImage"). I see a list of tags for "myImage". I select one of the image tag from the list by clicking on the check-box beside it and click the "Delete" button at the bottom of the page. Nothing happens. Don't see any response to my click action.
Browse to "Settings -> Logs" and I see following error, but it's hard to tell if this error is related to the Delete action.
Failed to retrieve manifest information for https://myRegistry:443
FYI: The registry is already enabled with delete option and I'm able to delete image tags successfully manually by using registry API and also using a different registry-manager (hyper/docker-registry-web)
I have a registry v2 running on a machine using a self-signed certificate. I don't have any authentication setup to be able to push/pull from this registry.
I'm running docker-registry-manager in my local machine using following command:
docker run --detach --name docker-registry-manager -p 8080:8080 snagles/docker-registry-manager
When I launch "http://localhost:8080" on my machine, I can access the registry manager. But, using the interface I cannot add a new registry that can be monitored by this registry manager. I fill-in all the required fields and when I click on "Test" button, I get a generic error. But, I choose to add the registry despite the failure from previous test, I get a one line error on the browser regarding x509 certificate signed by unknown authority error.
Is it possible to use this registry manager to access a privately hosted v2 docker registry that is using a self-signed certificate?
If size gets larger than x, or x number of images etc.
Sometimes objects tags are still present in the get tags call, but they're empty values where they could not unmarshalled.
I am using the docker image available from docker hub and start up the registry as docker run -d --name registry-ui -p 8080:8080 snagles/docker-registry-manager
I then add my private v2 docker registry using the UI. After awhile I can see a list of all the repositories. I browse to a particular repository (i.e. "myRepoName/myImage"). It shows a list of tags for "myImage" but I noticed that it's missing several tags. There are total 45 tags for "myImage" but in the UI, I can only see 39 tags.
All the tags are in the format of v#-<timestamp>
. Some tags are formatted as "v1.0-GM", "v1.1-GM", "v2.0-GM", etc, all of which are missing except "v3.0-GM-17.2". Also one tag with the timestamp format is missing. So.... not really seeing a pattern and don't see anything in the logs either.
We have a private registry running and are looking for a manager, this project looks promising, but we can't connect because it's behind authentication.
Would love the ability to connect with out private repository (being authentication)
currently getting the following result:
Get https://OURREPOSITORYURL:5000/v2/: http: non-successful response (status=401 body="{\"errors\":[{\"code\":\"UNAUTHORIZED\",\"message\":\"authentication required\",\"detail\":null}]}\n")
In the settings tab
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.