build -t docker code example
Example 1: docker build
docker build -t [tag] .
Example 2: docker build -t
--tag , -t ----> Name and optionally a tag in the ‘name:tag’ format
docker build -t [tag] .
--tag , -t ----> Name and optionally a tag in the ‘name:tag’ format