To create a new docker image first download the following file and remove .txt ext from file
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.