NVIDIA-Merlin / Merlin

NVIDIA Merlin is an open source library providing end-to-end GPU-accelerated recommender systems, from feature engineering and preprocessing to training deep learning models and running inference in production.
Apache License 2.0
715 stars 111 forks source link

[BUG]Unauthorized with docker build #1082

Closed SeekPoint closed 7 months ago

SeekPoint commented 7 months ago

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$

jperez999 commented 7 months ago

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.