Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

139
Vistas
When a task turn ECS does the docker run in detached mode or Foreground mode

When a task run in ECS does it docker run in Foreground or in detached mode. Is it possible to set these options in the task definition?

9 months ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

They run in detached mode. This is evident if you login to your container instance and inspect the docker run command used to launch your task.

An example from my ECS instance:

docker run \
        [parts not shown]
        --detach=true \
        1234455666.dkr.ecr.us-east-1.amazonaws.com/a03c-fffffecr-fffffos4q \
        python3 app.py

Notice the --detach=true option.

I'm not aware of any way to change this option. When ECS starts, there is no terminal tty to run in the attached mode anyway.

9 months 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 empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.