Hi
I come across sentences like:
Build the Docker image and tag it with
my-tag.
supposing the image that is used for the docker file is ubuntu
is it:
docker build -t my-tag .
or
docker build -t ubuntu:my-tag .
Hi
I come across sentences like:
Build the Docker image and tag it with
my-tag.
supposing the image that is used for the docker file is ubuntu
is it:
docker build -t my-tag .
or
docker build -t ubuntu:my-tag .
It is the first option you have given. How you tag an image you build is unrelated to the source you built it from.