QuestionQ22Verified/702.3 Container Image BuildingCopy linkReport a problemAsk AstroTutorSave questionWhich of the following Dockerfile statements result in a container that outputs hello world?Choose twoAENTRYPOINT "echo hello world"BENTRYPOINT echo hello worldCENTRYPOINT [ "echo", "hello", "world" ]DENTRYPOINT [ "echo hello world" ]EENTRYPOINT "echo", "hello", "world"Show AnswerAnswerExplanationENTRYPOINT accepts shell form, where echo hello world is executed by a shell, and exec form, where a JSON array specifies the executable and separate arguments. echo with the arguments hello and world outputs hello world.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion