What does this command do?
docker build -t myapp .
- Build an image from the Dockerfile
- Start a container from that image name
- Publish the image to a remote registry
- Delete the image and its cached layers
docker build creates an image from the Dockerfile in the current directory.
Play DevOps ▸