Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

293
Views
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?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

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.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!