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

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x