Docker Image

Docker Image

To create a new docker image first download the following file and remove .txt ext from file

Dockerfile

Now run the following command

docker build -t sfvishalgupta/image:version .

This command will automatically pick docker file or we can pass the docker file path inplace of dot
now do docker commit and docker push.

Leave a Reply

Your email address will not be published. Required fields are marked *