Author : MD TAREQ HASSAN | Updated : 2023/07/19

What is a container image?

Docker image is one of the container image formats.

About docker image

Docker images have revolutionized application deployment and software distribution by simplifying the packaging and distribution process. They have become a standard way to package applications, making it easier for developers to build, share, and run applications in any environment that supports Docker. Normally, container images are stored in Container Registry (i.e. Azure Container Registry) and pulled from the registry while deploying.

docker build

Command format

docker build [OPTIONS] PATH | URL | -

# Example
docker build --tag myapp:2.0 .

Build context & Dockerfile location:

[OPTIONS] is additional flags and parameters that modify the build process. Some common options include:

PATH | URL | -

docker run