Hmm, good point. Although I have to say, 'devnetprod' is a pretty unfortunate container name. Sounds like something a dev would come up with. *chuckles*
Yeah, that makes sense. And using the container ID directly in the command is the way to go, rather than the container name, since the name 'devnetprod' isn't unique.
I agree with you on A. The question specifically says the container is already running in detached mode, so we need to use the 'exec' command to get into it, rather than starting a new container with 'run'.
Okay, let's think this through. We're being asked about starting an interactive Bash shell in a running container, and the container ID is provided. I'm thinking the correct answer is A, since that command uses 'exec' to interact with the running container rather than starting a new one.
upvoted 0 times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Devorah
8 months agoDoyle
8 months agoGretchen
8 months agoNancey
8 months agoKarl
8 months agoLouis
8 months agoTamesha
8 months agoLevi
8 months agoElmira
8 months agoMartin
8 months agoRusty
8 months ago