You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible for us to accept vnd.oci.image.manifest.v1+json here as well? This would allow for proper retrieval of Docker-Content-Digest like so:
For those of us that use OCI registries - container version update checking on the GUI is currently not working because (I think?) of DockerClient only accepting docker-specific manifests in the header https://github.com/limetech/webgui/blob/5813662359147c9072e58a467278022183ff268d/plugins/dynamix.docker.manager/include/DockerClient.php#L446. So, when requesting the manifest to check
Docker-Content-Digest
from an OCI registry, with the current docker-specifc accept header results in:Would it be possible for us to accept
vnd.oci.image.manifest.v1+json
here as well? This would allow for proper retrieval ofDocker-Content-Digest
like so:Of course, this will need to be tested and I don't guarantee that the above details are a full solution.
But from a quick test on my setup-
Before:
![image](https://user-images.githubusercontent.com/12350474/171984183-dd64f70c-0fd5-4cc7-afc5-b38167ede455.png)
After adding
![image](https://user-images.githubusercontent.com/12350474/171984225-fefa724c-80d6-4175-8f7f-db056847c034.png)
$header = ['Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json'];
:And after a quick test push:
![image](https://user-images.githubusercontent.com/12350474/171984806-597f509f-974c-44bd-8cac-4e81024c3348.png)
For reference, I use a self-hosted instance of Harbor for my OCI Registry.
Thank you so much for any input or insights that you can offer!
The text was updated successfully, but these errors were encountered: