add more image information (Dockerfile/README) in UI #18
Comments
Yes, as we discussed in https://gitter.im/tobegit3hub/pirate , it shall use registry API. I just think this feature looks very good, if we can find the simple solution to do this, we maybe provide it before ready of the API. We can also know what could be useful in enterprise for the image sharing |
What I want now is (mostly same as dockerhub)
Anything else, maybe this information can be put into index server |
So far for solution 1 is like below
So pirate will be able to access the registry data directly (yes, ugly), then we can check 4-5 layers of easy docker image to find |
it can check 6 layers for /app/README.md now based on image id wait for the GUI part so far it is run in UI images/<id>/info check nginx-registry image
it can check 6 layers for /app/README.md now based on image id wait for the GUI part so far it is run in UI images/<id>/info check nginx-registry image
new structure for the imageinfo some data are faked so far
1. Dockerfile is checked like README.md, either of them is found in one layer, check is finished 2. image information is checked and passed back
Update image info page according to the design, ref #18
So far we plan to have information from From image layer,
They shall exist in upper layer (so far searched for |
for # package version is for this spec, used for upgrade when needed
PACKAGE_VERSION=0.3
# some important logs for the build and general information
README=/app/README.md
DOCKERFILE=/app/Dockerfile
# build information for reference
BUILDLOG=/app/BUILD.log
BUILDLINK=http://jenkins.example.com/jobs
BUILDURL=http://jenkins.example.com/jobs/123
# source base
SOURCEURL=http://gerrit.example.com/gblit/ABC
SOURCE_COMMIT=788271625626
# tag is the tag pushed to registry as this image created.
TAG=20150102-SNAPSHOT,LATEST,SPRINT-1
# some admin CM stuff ?
VERSION=DOKK-15001
ORGANIZATION=DOKK What else ? |
try to close this issue since some important data are already there, the @tobegit3hub @sdd330 please try it locally and give comments. GUI will be improved before 0.3.0 release |
PR #33, and it is good enough for this release, close it now. |
Dockerfile & README is very important for docker image.
we need to find a way to find it out, not for all docker image, but show it out if we can
Solution 1: Find the information in Docker image
Ask docker image maintainer to keep Dockerfile/README.md inside docker image, which is a good practice for public image
Solutin 2: use external system
Like wiki system we implemented before.
Other good idea ?
The text was updated successfully, but these errors were encountered: