I have a project running on a host using docker compose.
Can anyone advise me on how can I move the docker-compose containers to another host?
I have a project running on a host using docker compose.
Can anyone advise me on how can I move the docker-compose containers to another host?
You would bring the containers up on the new host by running the same "docker compose up -d" command you used on the current host to get things running.
This would pull the images and run the containers in the exact same way they run on your current host, creating the same networks etc.
Please note that any data within the containers would not be transferred to your new host. You would have to copy this over manually. This is not an issue if your containers aren't using volumes and/or you don't need to keep the ephemeral data in the current containers.