DockerImages
docker build
Builds an image from a Dockerfile.
Syntax
docker build -t <name>:<tag> <context>
Examples
Build and tag an image from the current directory
docker build -t myapp:latest .Builds an image from a Dockerfile.
docker build -t <name>:<tag> <context>
Build and tag an image from the current directory
docker build -t myapp:latest .