I would like to take my application stack, consisting of 3 docker images and managed by docker-compose, and move it in its entirety from my development machine onto a production machine. I know of a few ways to do this with straight up docker:
- Push the images to the registry and pull them back out from production
- docker save from development and then docker load on production
- rebuild the images on production (would rather keep dependencies down on production, so not a good option.)
I'm currently leaning towards doing docker save and then docker load, but am wondering if there's a way to do this with the whole set of containers that docker-compose manages?
Thanks in advance