0
输出是为什么Docker版本没有-f参数?从</p> <pre><code>sudo docker build --help </code></pre> <p>
--force-rm=false Always remove intermediate containers, even after unsuccessful builds
--no-cache=false Do not use cache when building the image
-q, --quiet=false Suppress the verbose output generated by the containers
--rm=true Remove intermediate containers after a successful build
-t, --tag="" Repository name (and optionally a tag) to be applied to the resulting image in case of success
有在线文档https://docs.docker.com/reference/commandline/build/
基本上更多的参数,例如参数-f指定Dockerfile
的文件名