Using RPi3 installation on RPi4

I have two Raspberry Pi’s, a 3 and a 4. I currently have Home Assistant (newest version) running in a docker container on Raspbian on the 3. Should I be able to just take that same SD card and plug it into the 4 and it will work or do I need to reinstall on the 4?