docker build
Image ManagementBuild an image from a Dockerfile
Options & Flags
Available options for this command
-t NAME:TAGTag the image
-f DOCKERFILESpecify Dockerfile path
--no-cacheBuild without using cache
Examples
Common usage examples
Build image from current directory
docker build -t myapp:1.0 .Build without cache
docker build -t myapp --no-cache .Related Commands
You might also find these useful