I managed to use the SDKManager docker image.
I am using the command (found here Jetson Nano unable to boot and flash ):
docker run -it --rm --privileged -v /dev:/dev --name JetPack_Jetson_Nano sdkmanager:1.6.0.8170 --cli install --logintype devzone --product Jetson --version 4.6 --targetos Linux --host --target JETSON_NANO_TARGETS --flash all --license accept --staylogin true --datacollection enable
During the flash process I have the following error on the serial console:
[0002.407] Processing in recovery mode
[0002.411] A02 Bootrom Patch rev = 1023
[0002.414] Power-up reason: software reset
[0002.418] Established communication link with host
[0003.422] NvTbootI2cWrite(): error code 0x00045100 Error while starting write transaction
[0003.430] NvTbootI2cDeviceRead(): error code 0x00045001 Error while sending the offset to slave
[0003.439] NvTbootI2c: Read failed for slave 0xac, offset 0x00 with error code 0x00045001
and the flash process fails