Loading tutorials
compose.yaml with services, images, and environment variables, and that you can run docker compose up and docker compose down.2 min readcompose.yaml file, run docker compose up and docker compose down, and know what an image and a container are. It covers one idea that the rest of the tutorial builds on: a container that has started is not necessarily a service that is ready.3 min readcompose.yaml file, run docker compose up and docker compose down, and use basic shell commands. It covers how to define a healthcheck. The next chapter covers how to tune its timing.3 min readcompose.yaml, know what a Compose healthcheck is, and have seen pg_isready used as a probe. Here you will learn what each timing option controls and how to choose values.3 min readcompose.yaml file, run docker compose up and docker compose down, and use basic shell commands. It also assumes you have seen a healthcheck block, as covered in the earlier chapters on writing a healthcheck and tuning its timing options.3 min readcompose.yaml file and know what a healthcheck block does. The short depends_on list only controls start order. The long syntax lets you say what each dependency must be doing before the dependent service starts.2 min readcompose.yaml file, run docker compose up and docker compose down, and know what a container image is. It also assumes you have seen a healthcheck definition with test, interval, timeout, retries, and start_period.2 min readhealthcheck and use depends_on with condition: service_healthy. Here you will check health from the command line and make docker compose up wait for it.2 min readcompose.yaml file, run docker compose up and docker compose down, and use depends_on in its short and long syntax. You should also know that a started container is not necessarily ready.3 min readcompose.yaml, run docker compose up, and already know depends_on conditions and healthcheck options. It covers what to check when a dependency never becomes healthy or a one-shot job fails.2 min readcompose.yaml, know the depends_on long syntax, and have written a basic healthcheck. It explains why condition: service_healthy reduces startup failures but does not remove the need for retry logic inside your application.2 min readdepends_on in long syntax, define a healthcheck, and use profiles. It also assumes a recent Compose v2 release. required was added in Compose 2.20.2 min read