Ravi Sir's Cards › Chapter 53: Docker Compose Tutorial: Services, depends_on Healthchecks, Env Files, Profiles, Overrides, Scaling and Every Command
exec vs run in Compose?
exec vs run in Compose? exec runs inside an existing service container. run starts a new one-off container (use --rm).

Lesson: 53.9 Every docker compose command: full reference · मराठी card