Welcome to the Linux Foundation Forum!

Error with Lab 7.2. Building a Docker Image with Dockerfile - Page 4

I get the below error running the page 4 lab exercise :smile:
Error response from daemon: dockerfile parse error line 10: unknown instruction: "/VAR/LOG/NGINX",

Comments

  • Hi @mangeshbelwalkar,

    That is correct, the "/var/log/nginx" is not an instruction. It is, however, one of the mountable directories defined by the VOLUME instruction.

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training