L4t-tensorrt:r8.0.1-runtime: run apt update, Could not resolve 'cuda-internal.nvidia.com'

Hi, after I run docker L4t-tensorrt:r8.0.1-runtime
I got this

root@up2-desktop:/# apt update
Err:1 http://cuda-internal.nvidia.com/release-candidates/kitpicks/tensorrt-rel-8-0-tegra/8.0.1/002/repos/l4t/arm64  InRelease
  Could not resolve 'cuda-internal.nvidia.com'
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 Packages [1285 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/restricted arm64 Packages [572 B]                                                                                                                        
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages [11.0 MB]                                                                                                                        
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages [153 kB]                                                                                                                       
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [4423 B]                                                                                                              
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5317 B]                                                                                                              
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1977 kB]                                                                                                               
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1977 kB]                                                                                                               
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1734 kB]                                                                                                                   
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB]                                                                                                             
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [11.2 kB]                                                                                                                 
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2824 B]                                                                                                             
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1278 kB]                                                                                                              
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [3742 B]                                                                                                             
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1347 kB]                                                                                                                  
Fetched 17.7 MB in 47s (380 kB/s)                                                                                                                                                                          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
50 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://cuda-internal.nvidia.com/release-candidates/kitpicks/tensorrt-rel-8-0-tegra/8.0.1/002/repos/l4t/arm64/InRelease  Could not resolve 'cuda-internal.nvidia.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@up2-desktop:/# 

Also, I cant install ros-melodic on this image, when I run roscore, just got a lot of errors

Hi,

Do you run it on a JetPack 4.6 environment?
Thanks.

Yes

Hi,

How do you launch the docker?
We try it and don’t see the same error.

Would you mind trying it again?

$ sudo docker run -it --rm --net=host --runtime nvidia -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix nvcr.io/nvidia/l4t-tensorrt:r8.0.1-runtime
Unable to find image 'nvcr.io/nvidia/l4t-tensorrt:r8.0.1-runtime' locally
r8.0.1-runtime: Pulling from nvidia/l4t-tensorrt
ce67eeb8cf75: Pull complete
...
Digest: sha256:8f3ead547ecfd714b310c2be7786f382a4a523d5da1f5bee8737ff8b44bb29e5
Status: Downloaded newer image for nvcr.io/nvidia/l4t-tensorrt:r8.0.1-runtime
root@tegra-ubuntu:/# apt update
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB]
Ign:2 http://cuda-internal.nvidia.com/release-candidates/kitpicks/tensorrt-rel-8-0-tegra/8.0.1/002/repos/l4t/arm64  InRelease
Get:3 http://cuda-internal.nvidia.com/release-candidates/kitpicks/tensorrt-rel-8-0-tegra/8.0.1/002/repos/l4t/arm64  Release [696 B]
Get:4 http://cuda-internal.nvidia.com/release-candidates/kitpicks/tensorrt-rel-8-0-tegra/8.0.1/002/repos/l4t/arm64  Release.gpg [836 B]
Ign:5 http://cuda-internal.nvidia.com/release-candidates/kitpicks/tensorrt-rel-8-0-tegra/8.0.1/002/repos/l4t/arm64  Packages
Get:5 http://cuda-internal.nvidia.com/release-candidates/kitpicks/tensorrt-rel-8-0-tegra/8.0.1/002/repos/l4t/arm64  Packages [2448 B]
...

Thanks.