What is the ENTRYPOINT instruction good for in Docker?

Experience Level: Senior
Tags: Docker

Answer

The ENTRYPOINT instruction defines what process will be executed in a container after it gets created.

Example:

ENTRYPOINT ["top", "-b"]

Comments

No Comments Yet.
Be the first to tell us what you think.
Docker instructions
Docker instructions

Are you learning Docker ? Try our test we designed to help you progress faster.

Test yourself