Closed zhangguanzhang closed 4 years ago
Yes indeed, that's why I stated it in the README:
Fake layers ID are not calculated the same way than Docker client does (I don't know yet how layer hashes are generated, but it seems deterministic and based on the client)
Do you mean that you know how those hashes are originally calculated? If so, feel free to give some information, I'll implement the change.
Anyway, even with this version of fake_layerid, not relevant of the original Docker client, the image still works, so this shouldn't be a problem.
and don't support quay.io
Just checked it and apparently quay.io uses the old v1 manifest format and doesn't use the v2 yet (that's why it's failing).
We aim to switch it on globally at the end of the year but in case the underlying changes will take longer than expected it would slip to next year.
Source: https://groups.google.com/forum/m/#!topic/quay-sig/lImWndQIrE0
Concerning the fake layer ID, is there any issue when using Docker features? I haven't noticed any until then, but maybe I missed something.
I'll investigate on the Docker save command though.
I used the
docker save -o
test to find that the fake_layerid is different from the script generated.