Image push to dockerHub

You need to tag your docker image

docker image tag <image_name>:<tag> <DockerHub_username>/<image_name>:<tag>

Now Image push to dockerHub

docker push <DockerHub_username>/<image_name>:<tag>

Example:

docker image tag two-tier-app:latest hemantjangir/two-tier-app:latest
docker push hemantjangir/two-tier-app:latest

Here you can see the docker image successfully push to dockerhub.