Member since
02-14-2022
2
Posts
0
Kudos Received
0
Solutions
03-22-2023
01:10 PM
Ok I can pull engine 13 just fine when your running your command. There isn't a daemon.json file in /etc/docker so nothing to paste. As for the actual authentication error, here's what we're getting when running docker build: # docker build --network host -t cdsw-rstudio:1.23 . -f cdsw-rstudio_1.23.docker Sending build context to Docker daemon 23.34 GB Step 1/10 : FROM docker.repository.cloudera.com/cdsw/engine:13 ---> b7a3740cff9e Step 2/10 : WORKDIR /tmp ---> Using cache ---> 96c7163e7e85 Step 3/10 : ADD required_packages /tmp/required_packages ---> 7d344c7fd765 Removing intermediate container 6d536b926846 Step 4/10 : RUN apt-get update && apt-get install -y --no-install-recommends linuxbrew-wrapper xauth x11-apps xvfb xfonts-base libapparmor1 libclang-dev lsb-release psmisc sudo && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* ---> Running in ba5bc1cabf09 Get:2 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB] Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Err:1 https://archive.cloudera.com/cdh6/6.2.0/ubuntu1804/apt bionic-cdh6 InRelease 401 Authentication required [IP: 199.232.8.167 443] Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB] Err:2 https://dl.yarnpkg.com/debian stable InRelease The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx> Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3,640 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1,503 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2,381 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [30.8 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.5 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3,219 kB] Get:14 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1,462 kB] Get:15 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,607 kB] Get:16 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [23.8 kB] Reading package lists... E: Failed to fetch https://archive.cloudera.com/cdh6/6.2.0/ubuntu1804/apt/dists/bionic-cdh6/InRelease 401 Authentication required [IP: 199.232.8.167 443] E: The repository 'https://archive.cloudera.com/cdh6/6.2.0/ubuntu1804/apt bionic-cdh6 InRelease' is no longer signed. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx> The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends linuxbrew-wrapper xauth x11-apps xvfb xfonts-base libapparmor1 libclang-dev lsb-release psmisc sudo && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
... View more
03-16-2023
03:47 PM
I'm trying to build a Docker container from Cloudera's repo but am getting an authentication error. This is the beginning of my .docker file: FROM docker.repository.cloudera.com/cdsw/engine:13 I have the credentials from the generator and can easily pull-down things via wget but how do I tell the docker engine to use the credentials when it goes to retrieve the engine from the cloudera repo?
... View more
Labels: