Comments (4)
Can you check if problem fixed in latest version?
from docker-registry-web.
My Java (and especially Groovy) is really weak, but, the tags list view determines the blob size(s) with:
restService.headLength("${name}/blobs/${digest}") ?: 0
the image details view uses:
entry.Size ?: restService.headLength("${name}/blobs/${blobs[i]}")
(entry
being an entry of the list of history.v1Compatibility
)
Meaning that if the headLength
call fails for whatever reason; one returns 0, but the other uses the Size
field from the history.v1Compatibility
json strings. I have a feeling it would be prudent to make both use the same method, either fixing a possible problem in a comparable fashion in one or for forcing a possible bug in the other.
from docker-registry-web.
Thank for bug report, @madeddie.
The problem is entry.Size
used only for compatibility with images created in docker engine version < 1.10. It seems working in you case but should no longer work with freshly generated images.
What registry storage backend are you using?
from docker-registry-web.
Yes, the sizes are there now. The loading of the tags list is somewhat slower, so I assume it actually does something it didn't do before :)
We're using the s3 backend.
We host quite some older images from around docker engine 1.6, so that would explain why the v1comp stuff still worked :)
from docker-registry-web.
Related Issues (20)
- registry -e REGISTRY_AUTH_HTPASSWD_REALM=Registry_Realm
- Api for adding a user
- Cannot get property 'Cmd' on null object. Stacktrace follows: HOT 2
- Can I save & road the login account information?
- server gave HTTP response to HTTPS client
- javax.net.ssl.SSLException: Received fatal alert: protocol_version HOT 2
- Docker Login Issue
- [Feature] Implement LDAP authentication
- how to allow anonymous user to pull images
- [ Error ] Building using Dockerfile - org.grails.wrapper.GrailsWrapper
- Able to delete multiple image tags
- denied: requested access to the resource is denied HOT 2
- v2 scheme imageId HOT 1
- Admin access does not work
- invalid translation for Estonian
- use gitlab registry
- Is this project stop ???
- Error in Web UI with basic authentication HOT 6
- The password change function does not work HOT 1
- curl UNAUTHORIZED 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-web.