Publish mirror
Publish to Dockerhub
First, make sure that your Dockerhub can log in. Log in
according to the user name, and enter your password after entering
docker login -u liufucheng
In order to make the image easy to use, regenerate the image with version number and level name
View original image
docker images
Generate a new image
docker tag d5c4408c9088 liufucheng/diytomcat:1.0
Publish the new image to Dockerhub
docker push liufucheng/diytomcat:1.0
Publish to Alibaba Cloud
Add a namespace to your Alibaba Cloud container image service
Create an image warehouse
Enter the management page
Publish images according to the commands on the management page
log in
docker login --username=loveliufucheng registry.cn-zhangjiakou.aliyuncs.com
release
docker tag d5c4408c9088 registry.cn-zhangjiakou.aliyuncs.com/liufucheng_docker/dockerdiytomcat:1.0
docker push registry.cn-zhangjiakou.aliyuncs.com/liufucheng_docker/dockerdiytomcat:1.0