docker login into the image code example
Example 1: docker access container
docker exec -it <mycontainer> bash
docker exec -it <mycontainer> sh ##for alpine
Example 2: pushing image to docker hub
docker push yourhubusername/verse_gapminder
docker exec -it <mycontainer> bash
docker exec -it <mycontainer> sh ##for alpine
docker push yourhubusername/verse_gapminder