What do you mean by moving “the containers”?
The containers are designed to be easily deleted and recreated, they’re not VMs
Since you already work with compose, I assume you know that, so do you perhaps mean you need to move the volumes / private images?