Docker · Directive
ENTRYPOINT
ENTRYPOINT sets the executable that starts when a container runs. The exec form accepts runtime arguments and works with CMD for default arguments.
Last updated
Syntax
ENTRYPOINT ["executable", "param1", "param2"]
ENTRYPOINT command param1 param2In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
CMDRUNSHELLdocker run --entrypoint