×ðÁú¿­Ê±

dockerÔõôɾ³ý±êÇ©¾µÏñ

Ҫɾ³ý docker ¾µÏñ±êÇ© £¬Çëƾ֤ÒÔÏ°취²Ù×÷£ºµÇ¼ docker ×¢²á±í¡£Áгö¾µÏñ±êÇ©¡£Ê¹Óà docker image tag ÏÂÁîɾ³ý±êÇ© £¬Óï·¨£ºdocker image tag –rm ¡£ÑéÖ¤±êÇ©ÒÑɾ³ý¡£

ÔõÑùɾ³ý Docker ¾µÏñÖеıêÇ©

Docker ¾µÏñÓɲã×é³É £¬Ã¿¸ö²ã¶¼¿ÉÒÔ¸½¼Ó±êÇ©¡£±êÇ©ÓÃÓÚʹ¾µÏñ¸üÈÝÒ×±»Ê¶±ðºÍÖÎÀí¡£È»¶ø £¬ÔÚijЩÇéÐÎÏ £¬Äú¿ÉÄÜÐèҪɾ³ý¾µÏñÖеıêÇ©¡£

ɾ³ý Docker ¾µÏñ±êÇ©µÄ°ì·¨£º

µÇ¼µ½ Docker ×¢²á±í£º

docker login

µÇ¼ºó¸´ÖÆ

Áгö¾µÏñ±êÇ©£º

ʹÓà docker image inspect ÏÂÁîÁгö¾µÏñµÄ±êÇ©£º

docker image inspect <image-name></image-name>

µÇ¼ºó¸´ÖÆ µÇ¼ºó¸´ÖÆ

ɾ³ý±êÇ©£º

ʹÓà docker image tag ÏÂÁîɾ³ý±êÇ©£º

docker image tag <image-name><new-image-name> --rm <tag></tag></new-image-name></image-name>

µÇ¼ºó¸´ÖÆ

ÆäÖУº

ÊÇÒªÐ޸ĵľµÏñÃû³Æ¡£

ÊǸüкóµÄ¾µÏñÃû³Æ£¨¿ÉÒÔÑ¡ÔñÓëԭʼÃû³ÆÏàͬ£©¡£

ÊÇҪɾ³ýµÄ±êÇ©¡£

ÀýÈç £¬ÒªÉ¾³ý¾µÏñ my-image ÖÐµÄ prod ±êÇ©£º

docker image tag my-image my-image --rm prod

µÇ¼ºó¸´ÖÆ

ÑéÖ¤±êÇ©ÒÑɾ³ý£º

ʹÓà docker image inspect ÏÂÁîÑéÖ¤±êÇ©ÒÑɾ³ý£º

docker image inspect <image-name></image-name>

µÇ¼ºó¸´ÖÆ µÇ¼ºó¸´ÖÆ

ÏÖÔÚ £¬±êÇ©½«´Ó¾µÏñÖÐɾ³ý¡£

ÒÔÉϾÍÊÇdockerÔõôɾ³ý±êÇ©¾µÏñµÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±ÊµÊ±ÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±

13452372176

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
¡¾ÍøÕ¾µØͼ¡¿¡¾sitemap¡¿