QuestionQ33

VerifiedAutomation, Orchestration, and Scripting

An administrator needs to launch an Ubuntu terminal in a container. Which of the following enables the administrator to do so?

Explanation

docker run creates and starts a container from an image. The -i option keeps standard input open and -t allocates a pseudo-terminal, so docker run -it ubuntu starts an interactive terminal session in an Ubuntu container.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!