Skip to content

TensorRT Docker images cannot install ngc #2057

@zacool64

Description

@zacool64

Description

While building the ubuntu 20.04 Dockerfile for TensorRT, I encountered the following error which never occurred for me prior to today:

chmod: cannot access 'ngc': No such file or directory
The command '/bin/bash -c cd /usr/local/bin && wget https://ngc.nvidia.com/downloads/ngccli_cat_linux.zip && unzip ngccli_cat_linux.zip && chmod u+x ngc && rm ngccli_cat_linux.zip ngc.md5 && echo "no-apikey\nascii\n" | ngc config set' returned a non-zero code: 1

It looks like a new version of ngc-cli was released recently, and the existing docker images are out-of-date.

Environment

TensorRT Version: 8.2.5.1
NVIDIA GPU: Tesla T4
NVIDIA Driver Version: 470.57.02
CUDA Version: 11.4.2
CUDNN Version: 8
Operating System: Ubuntu 20.04
Python Version (if applicable):
Tensorflow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if so, version): Container; building ubuntu-20.04.Dockerfile associated with the 22.06 release

Steps To Reproduce

  1. Clone the latest version of this repository
  2. Invoke ./docker/build.sh to begin building the image. I was able to reproduce without modifying any of the parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssue has been triaged by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions