P

Priyanka Tomar • 35.28K Points
Coach

Q. Which command is used to start a container in the background?

  • (A) docker start -d container_name
  • (B) docker run -d container_name
  • (C) docker start container_name
  • (D) docker exec -d container_name

Explanation by: Priyanka Tomar
'docker run -d container_name' starts a container in detached mode (background).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.