Open StefanSa opened 2 years ago
Do you have an URL that fails? I just tried first from their list of repositories (at https://hub.docker.com/u/rancher), and that one seemed to work; https://hub.docker.com/r/rancher/hardened-calico
Hi @thaJeztah these for example: https://index.docker.io/r/rancher/rke2-runtime
Pulling runtime image index.docker.io/rancher/rke2-runtime:v1.22.6-rke2r1
FATA[0001] chmod /var/lib/rancher/rke2/data/v1.22.6-rke2r1-e6c1502b55cd/bin: no such file or directory
Thanks! Let me check internally if something is known
Looks like the image itself is there, so seems like it's something in the presentation (not sure why you get that error though);
docker manifest inspect rancher/rke2-runtime:v1.22.6-rke2r1
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
"manifests": [
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 528,
"digest": "sha256:e4cf484ec287c641b98d8f123d0b157c13e217f07f3bf79a4cece30091759f6f",
"platform": {
"architecture": "amd64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 529,
"digest": "sha256:8a3d3caae60eabc100784924675d9de4a0f607b498105215578fec6d734077f0",
"platform": {
"architecture": "amd64",
"os": "windows"
}
}
]
}
@StefanSa a colleague noticed (I overlooked it) that you're using index.docker.io
for the domain, not hub.docker.com
; using hub.docker.com
(which is the correct domain for the Docker Hub UI) looks to work; https://hub.docker.com/r/rancher/rke2-runtime
(Not sure why index.docker.io
also shows the hub front-end, but this could be related to some redirects)
@thaJeztah Thanks for the info, it is generated by the rke2 install script itself, i have no influence on it.
Pulling runtime image index.docker.io/rancher/rke2-runtime:v1.22.6-rke2r1
Right, but that's the registry URL used to pull images (which is separate from the UI - notice that the Pulling image ..
does not have the /r/
in the path as well).
docker pull index.docker.io/rancher/rke2-runtime:v1.22.6-rke2r1
v1.22.6-rke2r1: Pulling from rancher/rke2-runtime
a46628218d70: Pull complete
Digest: sha256:6121296231a82bbdf6d077ee08be5882f7ac162bbf350436b5972627f3cb1645
Status: Downloaded newer image for rancher/rke2-runtime:v1.22.6-rke2r1
docker.io/rancher/rke2-runtime:v1.22.6-rke2r1
Although the correct variant should be docker.io
(without index.
- the index.docker.io
subdomain for references is mostly for backward compatibility; they're normalized internally in the docker engine)
docker pull docker.io/rancher/rke2-runtime:v1.22.6-rke2r1
v1.22.6-rke2r1: Pulling from rancher/rke2-runtime
Digest: sha256:6121296231a82bbdf6d077ee08be5882f7ac162bbf350436b5972627f3cb1645
Status: Image is up to date for rancher/rke2-runtime:v1.22.6-rke2r1
docker.io/rancher/rke2-runtime:v1.22.6-rke2r1
So, I guess you arrived there by pasting that image name in your browser; https://index.docker.io/rancher/rke2-runtime:v1.22.6-rke2r1
I think there's some redirects missing for those to redirect to the corresponding Docker Hub UI URL (I recall I opened an internal ticket for that, but it's still in the backlog)
Exactly, but is that why the pull
fails ?
No the pull itself succeeds for me, but perhaps there's some step after pulling that's happening? the error;
chmod /var/lib/rancher/rke2/data/v1.22.6-rke2r1-e6c1502b55cd/bin: no such file or directory
Seems to be that either a file is missing, or the path is incomplete (/bin
could be pointing to a directory)
Hi there i just tried to install rke2 and i get a
404
error for all rancher images. Is there similar problem as already happened here ? https://github.com/docker/hub-feedback/issues/2196