Error response from daemon: Dockerfile parse error Unknown flag: mount

后端 未结 3 1864
余生分开走
余生分开走 2020-12-29 01:27

There is a previous question (Docker Unknown flag --mount) facing the same error that was due to having an out-of-date version of Docker running. I have an up-to-date versio

3条回答
  •  伪装坚强ぢ
    2020-12-29 02:09

    The error message that you are getting due to writing --mount inside the Dockerfile. You have to enable Docker BuildKit first in order to use this syntax.

    You can check all of the currently available build options through here

提交回复
热议问题