admin管理员组文章数量:1181942
I'm trying to run docker pull nvcr.io/nvidia/nemo.24.05.llama3.1 in terminal, but it still throws this error Using default tag: latest Error response from daemon: unauthorized:
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.22.1</center>
</body>
</html>
How can i fix that?
I think I need to be registered somewhere and run this command docker login -u username --password-stdin but I do not know where.
I'm trying to run docker pull nvcr.io/nvidia/nemo.24.05.llama3.1 in terminal, but it still throws this error Using default tag: latest Error response from daemon: unauthorized:
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.22.1</center>
</body>
</html>
How can i fix that?
I think I need to be registered somewhere and run this command docker login -u username --password-stdin but I do not know where.
Share Improve this question asked Jan 27 at 9:59 Арсений ЛенинАрсений Ленин 1 New contributor Арсений Ленин is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.1 Answer
Reset to default 0Get a New API Key for the NGC Registry Log in to https://ngc.nvidia.com
In the top right corner, click your user account icon and select Setup.
Click Get API key to open the Setup > API Key page.
The API Key is the mechanism used to authenticate your access to the NGC container registry.
Click Generate API Key to generate your API key. A warning message appears to let you know that your old API key will become invalid if you create a new key.
Click Confirm to generate the key.
Your API key appears.
You only need to generate an API Key once. NGC does not save your key, so store it in a secure place. (You can copy your API Key to the clipboard by clicking the copy icon to the right of the API key. )
Should you lose your API Key, you can generate a new one from the NGC website. When you generate a new API Key, the old one is invalidated.
Then.. you can read this:
Here's where you start (Installing the CLI):
- AMD64 Linux Installation
DOWNLOAD PAGE
The NGC CLI binary for Linux is supported on Ubuntu 16.04 and later distributions.
Click Download CLI to download the zip file containing the binary, then move the zip file to a directory where you have permissions and then unzip and run the binary. You can also download, unpack, and install from the command line by moving to a directory where you have execute permissions, and then running the following command:
wget --content-disposition https://api.ngc.nvidia.com/v2/resources/nvidia/ngc-apps/ngc_cli/versions/3.58.0/files/ngccli_linux.zip -O ngccli_linux.zip && unzip ngccli_linux.zip
Check the md5 hash of the binary to ensure that the file was not corrupted during the download:
find ngc-cli/ -type f -exec md5sum {} + | LC_ALL=C sort | md5sum -c ngc-cli.md5
Check the SHA256 hash of the binary to ensure the file was not corrupted during download. Run the following command
sha256sum ngccli_linux.zip
Compare it to the following value, which can also be found in the Feature Release Notes:
1aa09819bb26f66a1c7af3cbf5439b236acbbdcc041f2f0f6b8d2ceb28c6955f
After checking the value, make the NGC CLI binary executable and add your current directory to the path:
chmod u+x ngc-cli/ngc
echo "export PATH=\"\$PATH:$(pwd)/ngc-cli\"" >> ~/.bash_profile && source ~/.bash_profile
You must configure the NGC CLI for your use before you can run the commands. Enter the following command, including your API key when prompted:
ngc config set
Once installed, you'll be able to use the registry easily. Read the [docs] to find out how to do what you need to do.
DOCS: CMD_REGISTRY
本文标签: terminaltrying to run docker pullStack Overflow
版权声明:本文标题:terminal - trying to run docker pull - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738272418a2072329.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论