docker°æ±¾Ôõô¿´
Òª»ñÈ¡ docker °æ±¾£¬Äú¿ÉÒÔÖ´ÐÐÒÔÏ°취£ºÔËÐÐ docker ÏÂÁî¡°docker –version¡±À´Éó²é¿Í»§¶ËºÍЧÀÍÆ÷°æ±¾¡£¹ØÓÚ mac »ò windows£¬»¹¿ÉÒÔͨ¹ý docker desktop gui µÄ¡°°æ±¾¡±Ñ¡Ï»ò¡°¹ØÓÚ docker desktop¡±²Ëµ¥Éó²é°æ±¾ÐÅÏ¢¡£
ÔõÑùÉó²é Docker °æ±¾
»ñÈ¡ Docker °æ±¾Óм¸ÖÖÒªÁ죺
ÒªÁì 1£ºDocker ÏÂÁî
docker --version
µÇ¼ºó¸´ÖÆ
´ËÏÂÁÏÔʾ Docker ¿Í»§¶ËºÍЧÀÍÆ÷µÄ°æ±¾¡£
ÒªÁì 2£ºDocker Desktop GUI£¨½öÏÞ Mac ºÍ Windows£©
Mac£º´Ó²Ëµ¥À¸ÖÐÑ¡Ôñ “Docker” > “Preferences”£¬È»ºóµ¥»÷ “Version” Ñ¡Ï¡£
Windows£ºÓÒ¼üµ¥»÷ʹÃüÀ¸ÖÐµÄ Docker ͼ±ê£¬È»ºóÑ¡Ôñ “About Docker Desktop”¡£
Ч¹û½â¶Á
Docker °æ±¾ºÅͨ³£½ÓÄÉÒÔÏÂÃûÌãº
Docker version x.y.z-build
µÇ¼ºó¸´ÖÆ
ÆäÖУº
x.y.z ÌåÏÖÖ÷Òª¡¢´ÎÒªºÍÐÞ¶©°æ±¾ºÅ¡£
build ÌåÏÖÌض¨°æ±¾µÄ¹¹½¨ºÅ¡£
ʾÀýÊä³ö
Docker version 20.10.7-dfe6865
µÇ¼ºó¸´ÖÆ
´ËÊä³öÌåÏÖÄúÕýÔÚʹÓà Docker 20.10.7 °æ±¾£¬Æä¹¹½¨ºÅΪ dfe6865¡£
ÒÔÉϾÍÊÇdocker°æ±¾Ôõô¿´µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡