A

Admin • 825.56K Points
Coach

Q. Which instruction allows the Dockerfile to accept variables at build time?

  • (A) ENV
  • (B) ARG
  • (C) CMD
  • (D) COPY

Explanation by: Admin
ARG is used to define build-time variables that can be passed using `--build-arg`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.