culTest

    One of the 50 questions in this topic

    How much do you know about Docker?

    Which Dockerfile statement defines the command to be executed when the container starts?

    Answers

    ENTRYPOINTCorrect
    START
    EXECUTE
    COMMAND

    The ENTRYPOINT statement defines the executable that will be invoked when the container starts. Unlike CMD, which can be overridden by parameters in docker run, ENTRYPOINT is always executed, and docker run parameters are passed as arguments to ENTRYPOINT.