A

Admin • 828.43K Points
Coach

Q. Which Dockerfile instruction sets the working directory inside the container?

  • (A) CMD
  • (B) WORKDIR
  • (C) VOLUME
  • (D) ENTRYPOINT

Explanation by: Admin
WORKDIR sets the working directory for any RUN, CMD, ENTRYPOINT instructions that follow.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.