-
Notifications
You must be signed in to change notification settings - Fork 779
Closed
Milestone
Description
Three issues:
First:
Object names in the refs and blobs subdirectories MUST NOT include characters outside of the set of "A" to "Z", "a" to "z", "0" to "9", the hyphen -, the dot ., and the underscore _.
This sentence is wrong because I can have colons : into the refs subdirectory to say ./refs/vbatts-app:latest
Second:
Hash algorithm identifiers containing the colon : will be converted to the hyphen -. For example sha256:5b will map to the layout blobs/sha256-5b.
these two sentences don't play nice together. What are we talking about? refs naming? both? I can have ./refs/sha256:5b58496 but what does that mean that the name will map to blobs/sha256-5b58496? AFAICT the content of that refs which is a descriptor will give us the location in the blobs dirs, not the ref file name.
Third:
$ cd example.com/app/
$ find .
The above (with app/) isn't making clear that an image-layout can carry more than just one app with:
./refs/vbatts-app:latest
./refs/alpine:1.0
./refs/ubuntu:sha256-5bfdjsldf