A

Admin • 828.43K Points
Coach

Q. What does the RUN instruction do in a Dockerfile?

  • (A) Starts the container
  • (B) Executes a command while building the image
  • (C) Sets default command for container
  • (D) Exposes a port

Explanation by: Admin
RUN executes commands in a new layer on top of the current image and commits the results.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.