How to remove docker and docker daemon (raspberry pi/debian)

I use docker on raspberry pi 3, and now I moved the SD card to another raspberry. I think that since the architetures are different, docker now won’t run in the new raspberry.

I installed with curl -sSL https://get.docker.com | sh. How do I remove things so I can install again and it picks the right docker?

I need to remove docker daemon too