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

87
Vistas
Background/foreground with docker-compose

Sometimes, when I do "docker-compose up -d", I forget the "-d" part. So it starts to show me starting logs and if I do Ctrl + C it just terminates all the process and shows me the closing logs.

I have several questions about this :

  1. If I manage to detach the process with detach keys (Ctrl P Ctrl Q by default) is it the exact same result as if I had started docker-compose with -d ?

  2. Now if detach keys don't work (impossible to input Ctrl Q) is it the same result to do "Ctrl-Z" bg compared to starting docker-compose with -d ?

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

0

docker-compose up displays streaming logs. This is the main advantage over docker-compose up -d.

If you ran docker-compose up -d, it's never too late. You are still able to display those streaming logs:

docker-compose logs -f
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