Docker push own image file times wrong:
allen@ubuntu:/var$ sudo docker push allen-tomcat-app the
push refers to a repository [docker.io/library/ Allen-tomcat-app]
fee32021a7ec:retrying in 1 second
5722c4c406c8:preparing
66382c28cb47:preparing
839d4870245c:preparing
cf516324493c:preparing
denied:requested access to the resource is denied
Reported denied:requested access to the resource is denied exception, meaning no permissions
Need to change name with Docker tag
Docker tag Allen-tomcat-app mydockerapp/allen-tomcat-app:latest
Re-upload:
sudo docker tag Allen-tomcat-app mydockerapp/allen-tomcat-app:latest
Cause Analysis:
The above information is denied access, because tag's name slash front section allen-tomcat-app is not my user name, the following changes it to mydockerapp/xxxxx on push success. It is important to note that Mydockerapp is my Docker user name. Go to the Docker hub website and discover a more public repository.
Page Open: Https://www.docker.com/mydockerapp
You can see the uploaded image file.