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",


  • 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.



Upcoming Training