One site fails on startup - Caddy does not start

I found this topic: All sites down when Caddy can't validate ONE site

But how would I do this in a container (my Caddy is in Docker)?