Which Docker command is used to start an interactive Bash shell in a running container named “test”?
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
Answer: C
Latest 300-910 Practice Questions with 59 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments