Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udocker pull from GCR fails with 'No host part in URL' error #439

Open
ed-ma opened this issue Feb 3, 2025 · 0 comments
Open

udocker pull from GCR fails with 'No host part in URL' error #439

ed-ma opened this issue Feb 3, 2025 · 0 comments

Comments

@ed-ma
Copy link

ed-ma commented Feb 3, 2025

Hi there,

I'm encountering an issue with udocker pull when trying to pull from Google Container Registry (GCR). The command fails with a No host part in the URL error.

Basic command tried:

udocker pull gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable 

Full error:

Info: downloading layer sha256:27cf8d2f779da47cf9359659a663b1b25cd92b9232a513bba0e14adb40129ed5
Error: in download: URL rejected: No host part in the URL
Error: in download: URL rejected: No host part in the URL
Error: no files downloaded

Adding --registry in diverse combinations:

udocker pull --registry=https://gcr.io gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable
udocker pull --registry=gcr.io gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable
udocker pull --registry=gcr.io cloud-tagging-10302018/gtm-cloud-image:stable

results in the same error message:

Info: downloading layer sha256:27cf8d2f779da47cf9359659a663b1b25cd92b9232a513bba0e14adb40129ed5
Error: in download: URL rejected: No host part in the URL
Error: in download: URL rejected: No host part in the URL
Error: no files downloaded

podman pull works just fine:

podman pull gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable
Trying to pull gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable...
Getting image source signatures
Copying blob 33e068de2649 done   | 
Copying blob c6b97f964990 done   | 
Copying blob 8ffb3c3cf71a done   | 
Copying blob bfb59b82a9b6 done   | 
Copying blob 7c12895b777b done   | 
Copying blob b6824ed73363 done   | 
Copying blob 5664b15f108b done   | 
Copying blob 27be814a09eb done   | 
Copying blob 4aa0ea1413d3 done   | 
Copying blob da7816fa955e done   | 
Copying blob 9aee425378d2 done   | 
Copying blob 06e8c7084bea done   | 
Copying blob f823d6cf5f75 done   | 
Copying blob 6f971e93c4e2 done   | 
Copying blob c83c31ce41af done   | 
Copying blob 0cb5c07f8edd done   | 
Copying blob b7f0325efe29 done   | 
Copying blob b13c38ebe066 done   | 
Copying blob d2d367155858 done   | 
Copying config 27cf8d2f77 done   | 
Writing manifest to image destination
27cf8d2f779da47cf9359659a663b1b25cd92b9232a513bba0e14adb40129ed5

udocker version:

udocker --version
version: 1.3.17
tarball: https://download.a.incd.pt/udocker/udocker-englib-1.2.11.tar.gz https://raw.githubusercontent.com/jorge-lip/udocker-builds/master/tarballs/udocker-englib-1.2.11.tar.gz
tarball_release: 1.2.11

System:

cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Has anyone encountered this before? Any suggestions would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant