×ðÁú¿­Ê±

dockerÔõôÍ˳öÈÝÆ÷

Í˳ö docker ÈÝÆ÷µÄËÄÖÖÒªÁ죺ÈÝÆ÷ÖÕ¶ËÖÐʹÓà ctrl+d ¿ì½Ý¼üÈÝÆ÷ÖÕ¶ËÖÐÊäÈë exit ÏÂÁîËÞÖ÷»úÖÕ¶ËÖÐʹÓà docker stop ÏÂÁîËÞÖ÷»úÖÕ¶ËÖÐʹÓà docker kill ÏÂÁǿÖÆÍ˳ö£©

ÔõÑùÍ˳ö Docker ÈÝÆ÷

Í˳ö Docker ÈÝÆ÷ÓÐÒÔÏÂÒªÁ죺

1. ʹÓà Ctrl+D ¿ì½Ý¼ü

ÔÚÈÝÆ÷ÖÕ¶ËÖУ¬°´ Ctrl+D ¿ì½Ý¼ü¡£Õâ»á·¢ËÍÒ»¸ö EOF£¨Îļþβ£©ÐźŸøÈÝÆ÷£¬´Ó¶øÍ˳öÈÝÆ÷¡£

2. ʹÓà exit ÏÂÁî

ÔÚÈÝÆ÷ÖÕ¶ËÖУ¬ÊäÈë exit ÏÂÁî¡£ÕâÒ²»á·¢ËÍÒ»¸ö EOF ÐźŸøÈÝÆ÷£¬´Ó¶øÍ˳öÈÝÆ÷¡£

3. ʹÓà docker stop ÏÂÁî

ÔÚËÞÖ÷»úµÄÖÕ¶ËÖУ¬ÔËÐÐÒÔÏÂÏÂÁîÀ´×èÖ¹ÈÝÆ÷£º

docker stop <container_name></container_name>

µÇ¼ºó¸´ÖÆ

ÆäÖÐ ÊÇÒª×èÖ¹µÄÈÝÆ÷µÄÃû³Æ¡£Õâ»áÓÅÑŵعرÕÈÝÆ÷ÖеÄËùÓÐÀú³Ì£¬È»ÍËÈ´³öÈÝÆ÷¡£

4. ʹÓà docker kill ÏÂÁî

ÈôÊÇ docker stop ÏÂÁî²»Æð×÷Ó㬿ÉÒÔʹÓà docker kill ÏÂÁîÀ´Ç¿ÖÆÍ˳öÈÝÆ÷¡£ÔÚËÞÖ÷»úµÄÖÕ¶ËÖУ¬ÔËÐÐÒÔÏÂÏÂÁ

docker kill <container_name></container_name>

µÇ¼ºó¸´ÖÆ

Õâ»áÁ¬Ã¦ÖÕÖ¹ÈÝÆ÷ÖеÄËùÓÐÀú³Ì£¬²¢Í˳öÈÝÆ÷¡£

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

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

Ïà¹ØÐÂÎÅ

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

18523999891

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

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

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