当前位置:Gxlcms > 数据库问题 > dokcerfile 制作Msql镜像

dokcerfile 制作Msql镜像

时间:2021-07-01 10:21:17 帮助过:43人阅读

/etc/mysql/
docker build -t 192.168.188.64:5000/mysql5.7.29 -f dockerfile .

 

docker save 192.168.188.64:5000/mysql5.7.29:latest |gzip >> mysql5.7.29.tar.gz

docker load < mysql5.7.29.tar.gz 
docker tag  192.168.188.64:5000/mysql5.7.29 172.21.6.201:5000/mysql5.7.29
docker push 172.21.6.201:5000/mysql5.7.29

kubectl delete pod mysql 

 

dokcerfile 制作Msql镜像

标签:color   div   制作   deploy   open   最新版   镜像   pen   highlight   

人气教程排行