たれぱんのびぼーろく

わたしの備忘録、生物学とプログラミングが多いかも

docker-compose

Use Compose in production  

This first rebuilds the image for web and then stop, destroy, and recreate just the web service. The --no-deps flag prevents Compose from also recreating any services which web depends on.
Overview of Docker Compose
  
Only recreate containers that have changed🔗
Compose caches the configuration used to create a container. When you restart a service that has not changed, Compose re-uses the existing containers. Re-using containers means that you can make changes to your environment very quickly.

k8sだとPodまるまるの破棄による更新な感じ.
appはmulti-Podで作るのかな?