运行构建dockerfile

  1. -f 指定dockerfile 文件构建镜像

docker build -f D:\docker\dockerfile\Dockerfile
  1. -t

docker build -t image_name:tag .

最后更新于

这有帮助吗?