Good day!
Need your input on the question from the SY0-701 Lab re: Using containers. The question is, "How do you enter a container session for 'MyContainer'"?
I understand that a container needs to be started first, before you exec it hence, docker start is the answer
However, there was no premise that was stated in the question, so many of the students thought that the answer is docker exec - based on the laboratory instructions.
Some may argue that the keyword at the end should be cmd however, powershell can actually be used in docker in real life scenario.
What do you think?
Need your input on the question from the SY0-701 Lab re: Using containers. The question is, "How do you enter a container session for 'MyContainer'"?
I understand that a container needs to be started first, before you exec it hence, docker start is the answer
However, there was no premise that was stated in the question, so many of the students thought that the answer is docker exec - based on the laboratory instructions.
Some may argue that the keyword at the end should be cmd however, powershell can actually be used in docker in real life scenario.
What do you think?