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

后端 未结 9 2859
名媛妹妹
名媛妹妹 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

    I just tested the same and by default VSCode seems to save the Dockerfile with UTF-16 LE encoding.

    Resaving the file as UTF-8 allowed docker build to run without error.

提交回复
热议问题