FILL BLANK - Which statement in a Dockerfile defines which command should be started in the container by default when it is started? (Specify ONLY the statement's name without any values or parameters.)
Ans us CMD.
The main purpose of a CMD is to provide defaults for an executing container. These defaults can include an executable, or they can omit the executable, in which case you must specify an ENTRYPOINT instruction as well.
https://docs.docker.com/engine/reference/builder/#cmd
CMD
Highlighted that,
"The main purpose of a CMD is to provide defaults for an executing container."
from https://docs.docker.com/engine/reference/builder/#cmd
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
mucmike
Highly Voted 2 years, 7 months agoignasi
Most Recent 2 months, 3 weeks agogilbertlelancelo
1 year, 5 months agojsdnhk
2 years, 6 months agomri
2 years, 6 months agomelyess
2 years, 10 months agohector1978
2 years, 11 months ago