I’m confused are you trying to transfer the docker images via network/ssh or via serial UART? You mention both, but these are very different things.
Generally speaking you can use docker save/load
as described here: Deploying Container Images to TorizonCore | Toradex Developer Center
This turns your docker image into a tar file that can then be moved around as you would any other file.
Best Regards,
Jeremias