Which of the following is not a valid Dockerfile instruction?

  1. FROM
  2. COPY
  3. PUSH
  4. RUN
Correct answer PUSH

Explanation

`PUSH` is not a valid Dockerfile instruction. `docker push` is a CLI command.

Update: Admin added a tag on this question

Topics

By Admin · · 40 views