Docker Community Forums

Share and learn in the Docker community.

Save Docker Compose and multicontainers


(Defining) #1

Hi,

I’m new on the docker world and I would like to use the best practices. I’m developing a Wordpress site with docker. I’m using Docker compose to use a MySql image and a Wordpress image. The question is:

If I’m doing lots of modifications and I would like to save them into my docker hub what is the best method to do it? I mean, I know how to save a simple container but a project with multiple container? Do I have to build a image PER container and save the docker-compose.yml? It doesn’t seem to be the best way…

Thank you!


(Defining) #2

Nobody knows?

I have found https://stackoverflow.com/questions/35575674/how-to-save-all-docker-images-and-copy-to-another-machine but it doesn’t seem to be the best way to do it… Could you share you best practises to send a Docker-compose with multiplte container to another machine (a VPS)