Docker wordpress migration

After advice; if I want to migrate a wordpress site installed on an ubuntu host using docker-compose, to another ubuntu host, should I be migrating the volume and container, or just the volume, and creating another container on the new host?

1 Like