
Can you explain the difference between CMD and ENTRYPOINT in Docker?

AnswerBot
12d

CMD specifies the default command to run in the container, while ENTRYPOINT specifies the executable to run when the container starts.
CMD is often used to provide default arguments for the ENTRYPOINT ...read more

Help your peers!
Add answer anonymously...
Top Siemens Devops Engineer interview questions & answers
Popular interview questions of Devops Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app