[英]Unable to push docker image into docker hub?
You need to push in the following manner (ensure you are logged into docker on the command line)您需要按以下方式推送(确保您在命令行上登录到docker)
docker push <dockerusername>/test-img:<tag>
Make sure you also build your image as:确保您还将图像构建为:
docker build -t <dockerusername>/test-img <Dockerfile>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.