Build Docker with SDK manger

I want to create a docker of ubuntu18.04 including sdkmanger on ubuntu 20.04
and I follow the step by this instruction

and after run ./build completely, I execute ./run

#!/bin/bash                                                                                                                                                   
docker run -it \
    --name=jetpack-sdk \
    --rm=true \
    --net=host \
    --ipc host\
    --privileged \
    --volume="/dev/bus/usb:/dev/bus/usb" \
    --user "$(id -u):$(id -g)" \
    --env="DISPLAY=$DISPLAY" \
    --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
    jetpack-sdk /bin/bash

and error occurs
--user is not required when logging in with developer.nvidia.com

I’ve log in nvidia account on website and also try uninstalling the sdkmanager but still doesn’t work
please tell me where is wrong thanks

I solved this problem by modifying sdk manager command line

the original command line is below

sdkmanager \
--cli install \
--user user@mail \
--password abcdefg \
--logintype devzone \
--product Jetson \
--version 4.6.2 \
--targetos Linux \
--host \
--target JETSON_AGX_XAVIER_TARGETS \
--flash all \
--license accept

we don’t need --user and --password

sdkmanager \
--cli install \
--logintype devzone \
--product Jetson \
--version 4.6.2 \
--targetos Linux \
--host \
--target JETSON_AGX_XAVIER_TARGETS \
--flash all \
--license accept

when run the docker, sdk manager will send the verification message like

To initiate login process open https://static-login.nvidia.com/service/default/pin?user_code=65309634 in a browser or scan the QR code on your handheld device then login with your NVIDIA Developer account. SDK Manager will start once done.
Login user code: 65309634. (valid for: 10 minutes).
? SDK Manager is waiting for you to complete login. 
  1) Generate a new login user code
  2) Display the QR Code
  3) Cancel login
  Answer:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.