Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

182
Vistas
Change Docker backoff time

There is a foreground process in a docker container. It depends on other service (Kafka), so if Kafka fails to start, container fails to start as well.

Docker tries to restart container after 30 seconds, then 1 minute, then 2 minutes, then 4, 8, 16, 32 etc (approximately numbers).

So when I turn outer service back, docker container does not start automatically, instead it waits for these 32, 64 minutes, and that's too much.

Is there any way to change this behavior, for example, to be linear - restart attempts every 1 minute?

PS. I use docker-compose.yml (v2) and set option restart: always

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

There is an open issue on GitHub requesting an upper bound on the restart time, as well as, this SO post from early last year indicating that what you want is currently not possible.

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda