Which Docker command is used to start an interactive Bash shell in a running container named "test"?

QuestionsCategory: 300-910Which Docker command is used to start an interactive Bash shell in a running container named "test"?
Admin Staff asked 3 months ago
Which Docker command is used to start an interactive Bash shell in a running container named "test"?

A. docker attach -it test /bin/bash

B. docker run -it test /bin/bash

C. docker exec -it test /bin/bash

D. docker run test /bin/bash








 

Suggested Answer: C



This question is in 300-910 Implementing DevOps Solutions and Practices Using Cisco Platforms (DEVOPS) Exam
For getting Cisco Certified DevNet Professional Certificate



Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Cisco.
Trademarks, certification & product names are used for reference only and belong to Cisco.
The website does not contain actual questions and answers from Cisco's Certification Exam.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.