Error response from daemon: Dockerfile parse error line 1: unknown instruction: #

后端 未结 9 2994
名媛妹妹
名媛妹妹 2021-01-17 08:07

Im new to docker and trying to learn it. Im following this tutorial: https://docs.docker.com/get-started/part2/#apppy

So I installed Docker on Windows. Created 3 fil

9条回答
  •  情书的邮戳
    2021-01-17 08:15

    When doing it from Windows, I had to make sure that I have line breaks in my Dockerfile configured for Linux (LF) and not for Windows (CRLF) when editing it from a text editor.

提交回复
热议问题