Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

运行构建dockerfile

  1. -f 指定dockerfile 文件构建镜像
docker build -f D:\docker\dockerfile\Dockerfile
  1. -t
docker build -t image_name:tag .