×ðÁú¿­Ê±¹ÙÍøµÇ¼

dockerÔõôÖØÆô

ÖØÆô docker ÈÝÆ÷µÄÒªÁ죺»ñÈ¡ÈÝÆ÷ id£¨docker ps£©£»×èÖ¹ÈÝÆ÷£¨docker stop £©£»Æô¶¯ÈÝÆ÷£¨docker start £©£»ÑéÖ¤ÖØÆôÀֳɣ¨docker ps£©¡£ÆäËûÒªÁ죺docker compose£¨docker-compose restart£©»ò docker api£¨²Î¿¼ docker Îĵµ£©¡£

ÔõÑùÖØÆô Docker ÈÝÆ÷

ÔÚ Docker ÇéÐÎÖÐ £¬ÖØÆôÈÝÆ÷ÊÇÒ»ÖÖ³£¼û²Ù×÷ £¬¿ÉÒÔ½â¾öÖÖÖÖÎÊÌâ £¬ÀýÈçÓ¦ÓóÌÐò¹ÊÕÏ»òÉèÖøü¸Ä¡£ÒÔÏÂÊÇÖØÆô Docker ÈÝÆ÷µÄ°ì·¨£º

1. È·¶¨ÈÝÆ÷ ID

ʹÓà docker ps ÏÂÁî»ñÈ¡ÒªÖØÆôµÄÈÝÆ÷ ID¡£

2. ×èÖ¹ÈÝÆ÷

ʹÓà docker stop ÏÂÁî×èÖ¹ÈÝÆ÷¡£

docker stop <container_id></container_id>

µÇ¼ºó¸´ÖÆ

3. Æô¶¯ÈÝÆ÷

ʹÓà docker start ÏÂÁîÖØÐÂÆô¶¯ÈÝÆ÷¡£

docker start <container_id></container_id>

µÇ¼ºó¸´ÖÆ

4. ÑéÖ¤ÖØÆôÇéÐÎ

ʹÓà docker ps ÏÂÁîÑéÖ¤ÈÝÆ÷ÊÇ·ñÒÑÖØÐÂÆô¶¯¡£

ÆäËûÒªÁì

ʹÓà Docker Compose

ÈôÊÇÄúʹÓõÄÊÇ Docker Compose £¬¿ÉÒÔͨ¹ýÔËÐÐÒÔÏÂÏÂÁîÖØÆôËùÓÐÈÝÆ÷£º

docker-compose restart

µÇ¼ºó¸´ÖÆ

ʹÓà Docker API

Äú»¹¿ÉÒÔʹÓà Docker API ͨ¹ý±à³Ì·½·¨ÖØÆôÈÝÆ÷¡£ÓйØÏêϸÐÅÏ¢ £¬Çë²ÎÔÄ Docker Îĵµ¡£

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

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

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

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

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

QR code
ÍøÕ¾µØͼ