What is the difference between `CMD` and `ENTRYPOINT`?
Correct answer
CMD provides defaults; ENTRYPOINT defines fixed commands
Explanation
`CMD` can be overridden, while `ENTRYPOINT` defines the main command that always runs.
Update: Admin added a tag on this question
Topics
By Admin · · 43 views