运行构建dockerfile
-f指定dockerfile 文件构建镜像
docker build -f D:\docker\dockerfile\Dockerfile
-t
docker build -t image_name:tag .
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
-f 指定dockerfile 文件构建镜像docker build -f D:\docker\dockerfile\Dockerfile
-tdocker build -t image_name:tag .