docker compose

tags: learning docker

content

what’s docker compose:

  • a tool for building multi-container applications
  • allow configurations for network, services, volumes of different containers in one yaml file

compare to normal docker build:

  • docker build: build one image from a Dockerfile
  • docker compose: build and run multiple containers, each with their own Dockerfile

up

down

reference