Anyone help me to know what's i'm wrong?
This is my process order:
POST /v2/<name>/blobs/uploads/ > get uuid and Location
RUN linux shell docker save <image> >get a tarfile of my image
RUN linux shell sha256sum tarfile >get my tarfile digest
PUT /v2/<name>/blobs/uploads/<uuid>?digest=<digest> >use step 3 generated digest upload
i use curl -T tarfile -X PUT /v2/<name>/blobs/uploads/<uuid>?digest=<digest>
PUT /v2/<name>/manifests/<reference> >get a ERROR ,MANIFEST_INVALID manifest invalid,but i look the registry file system,my image was upload success only not has a manifest in the folder named _manifest
My question:
when i upload a new image to registry ,where can i get the right manifest content?
When i push a images by http api v2 ,i failed. I obey the https://docs.docker.com/registry/spec/api/
Anyone help me to know what's i'm wrong? This is my process order:
POST /v2/<name>/blobs/uploads/
> get uuid and Locationdocker save <image>
>get a tarfile of my imagesha256sum tarfile
>get my tarfile digestPUT /v2/<name>/blobs/uploads/<uuid>?digest=<digest>
>use step 3 generated digest upload i usecurl -T tarfile -X PUT /v2/<name>/blobs/uploads/<uuid>?digest=<digest>
PUT /v2/<name>/manifests/<reference>
>get a ERROR ,MANIFEST_INVALID manifest invalid,but i look the registry file system,my image was upload success only not has a manifest in the folder named _manifestMy question: when i upload a new image to registry ,where can i get the right manifest content?
PS:My english is not good,thx for your read