502 Bad Gateway

Raspbian is 32-bit, at present. If you want a 64-bit OS on a Raspberry Pi, try BalenaOS instead. It’s especially suited to running 64-bit docker containers on the Raspberry Pi.