6. What is the differenet between CMD vs Entrypoint? Johnson

Both ENTRYPOINT and CMD allow you to specify the startup command for an image. The main difference is we cannot override the ENTRYPOINT instruction by using command-line parameters to the docker run command.

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x