C
C
cosonicsq2021-07-19 13:55:27
Docker
cosonicsq, 2021-07-19 13:55:27

What's the difference between ENTRYPOINT and CMD?

Both instructions allow you to specify a command with arguments that should be executed when the container is started. And what's the difference between them? I did not find a short and understandable explanation on the Internet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-07-19
@cosonicsq

The very first line in Google kamon
https://habr.com/ru/company/southbridge/blog/329138/
If you can't choose - take ENTRYPOINT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question