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

[BUG]Unauthorized with docker build #1082

Closed
SeekPoint opened this issue Dec 7, 2023 · 1 comment
Closed

[BUG]Unauthorized with docker build #1082

SeekPoint opened this issue Dec 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@SeekPoint
Copy link

Bug description

amd00@MZ32-00:~/yk_repo/HugeCTR/Merlin/docker$ sudo docker build --pull -t merlin:ctr -f dockerfile.ctr --build-arg RELEASE=false --build-arg RMM_VER=vnightly --build-arg CUDF_VER=vnightly --build-arg NVTAB_VER=vnightly --build-arg HUGECTR_DEV_MODE=true --no-cache .
[sudo] password for amd00:
[+] Building 2.3s (7/7) FINISHED docker:default
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from dockerfile.ctr 0.0s
=> => transferring dockerfile: 3.54kB 0.0s
=> resolve image config for docker.io/docker/dockerfile:1.2 1.3s
=> CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdbcc 0.0s
=> [internal] load build definition from dockerfile.ctr 0.0s
=> [internal] load .dockerignore 0.0s
=> ERROR [internal] load metadata for nvcr.io/nvstaging/merlin/merlin-base:23.06 0.8s

[internal] load metadata for nvcr.io/nvstaging/merlin/merlin-base:23.06:


dockerfile.ctr:1

1 | >>> # syntax=docker/dockerfile:1.2
2 | ARG MERLIN_VERSION=23.06
3 | ARG TRITON_VERSION=23.06

ERROR: failed to solve: pulling from host nvcr.io failed with status code [manifests 23.06]: 401 Unauthorized
amd00@MZ32-00:~/yk_repo/HugeCTR/Merlin/docker$

@SeekPoint SeekPoint added the bug Something isn't working label Dec 7, 2023
@jperez999
Copy link
Collaborator

Hello @SeekPoint, you are getting this because you are trying to access a private container registry. Unfortunately we do not publish the base container to the public only the three finalized containers, merlin-hugectr, merlin-tensorflow, and merlin-pytorch. You can find those on ngc.nvidia.com and they are available for public. If you need to make further changes, you would need to reference the target container and layer your changes on top of that. Let us know if you need any further help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants