-f 指定dockerfile 文件构建镜像
-f
docker build -f D:\docker\dockerfile\Dockerfile
-t
docker build -t image_name:tag .
最后更新于4年前