My first app pushed on docker hub
Navigate to the docker file location and execute the following command: $ docker build -f Dockerfile -t mydockerapp
$ docker run -p 9900:8080 mydockerapp
here, 8080 is source port and 9900 is the masking port
$ docker login Username: Password:
#$ docker tag / $ docker tag mydockerapp lemutugi/first-docker
#$ docker push /: $ docker push leo/first-docker:latest
#$ docker pull /: $ docker pull leo/first-docker:latest
$ docker logout
$ docker exit