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 Dumps Valid Version with 59 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments