pushing docker image to dockerhub

后端 未结 3 2058
感情败类
感情败类 2020-12-25 14:30

I ve created my own docker file ( that runs a shell script which prints \"helloworld\"). The image is \"hellodocker\" and the tag is \"mytag\" I now have:

ba         


        
3条回答
  •  爱一瞬间的悲伤
    2020-12-25 15:08

    If you want hellodocker repository under myuserid namespace, you have to first tag your local hellodocker to myuseridlike:

    docker tag hellodocker myuserid/hellodocker

    And then push this myuserid/hellodocker repository to hub like:

    docker push myuserid/hellodocker

提交回复
热议问题