hello 180456,
this should due to Jetson-GPIO not working on Python inside the container, please check this topic to customized Jetson.GPIO for Nano. thanks