Docker sdk manager flash NX struck at 99%

I am trying to flash the jetson NX module using the ubuntu 22 sdk manager docker image. i am flashing the jetpack 6.2.1 rev 1 . This always goes to 99 percent and struck there. even though i wait for 3 hr it did not finish. i think the issue is NFS access inside the container.
my command to start the docker container is
docker run -it --privileged --name jetpack_build -v /dev/bus/usb:/dev/bus/usb/ -v /dev:/dev -v /media/$USER:/media/nvidia:slave -v /var/run/docker.sock:/var/run/docker.sock -v ~/.docker:/home/nvidia/.docker -v /run/nvidia_initrd_flash:/run/nvidia_initrd_flash --network host sdkmanager:latest --cli

and i tried installing and restarting the NFS service
sudo apt install nfs-kernel-server
sudo systemctl restart nfs-kernel-server

and also i tried what logs are trying to say. Given the access to those folders also.

but still this gets struck at 99 percent.

through the SDK manager the flash is happening properly. But my use case is to flash the jetson using docker. So, please help me in resolving the issue.

Hi,

As noted in the developer guide, flashing external devices is not well supported. Please use the native SDK Manager instead.

Thanks