I haven't, personally, had good luck running Docker/podman on Raspberry Pi. I haven't tried on a Pi 5, though.
Previous Pi models didn't seem to have enough mulicore power to get responsive docker/podman runs, for what I was trying.
I don't recall that I was trying anything too crazy, but arguably my baseline weekend project is a bit crazy, so your mileage may vary.
It's been awhile, but I feel like I ended up running Podman, instead of Docker, for some esoteric reason of my own. It was probably easier to build for the ARM processor.
But again, it's been awhile, and my memory is famously bad about these things.