Delay container startup via Docker Compose?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

IamSpartacus

Well-Known Member
Mar 14, 2016
2,516
650
113
I'm looking for a simple way to delay or "sleep" a container for a given amount of time via docker compose. All the solutions I've read about wait-for-it/dockerize seem overly convoluted with heathchecks, etc. I just want to delay a container a given number of seconds. Is this not possible via docker compose?