docker imageÊÇÔõô´æ´¢µÄ
docker ¾µÏñ½ÓÄÉ·Ö²ã´æ´¢»úÖÆ£¬Ã¿Ò»²ãÊǶÔÆ丸²ãµÄÐ޸İ汾£¬ÔÊÐí¾µÏñÇáËɹ²Ïí²ãÒÔ½ÚÔ¼´æ´¢¿Õ¼ä¡£¾µÏñʹÓà oci ±ê×¼»¯´æ´¢ÃûÌ㬴洢ÓÚµ±ÌïÖ÷»ú£¨/var/lib/docker/image£©ºÍ docker ×¢²á±í£¨Èç docker hub£©¡£
Docker ¾µÏñµÄ´æ´¢»úÖÆ
Docker ¾µÏñÊǽ¨ÉèºÍÔËÐÐÈÝÆ÷µÄÄ£°å¡£ËüÃÇ´æ´¢ÔÚ Docker ×¢²á±íÖУ¬¿ÉÒÔ´Ó Docker Hub »òÆäËû×¢²á±íÖÐÀÈ¡¡£
Docker ¾µÏñ·Ö²ã´æ´¢£¬Ã¿Ò»²ã¶¼ÊÇÆ丸²ãµÄÐ޸İ汾¡£ÕâʹµÃ¾µÏñ¿ÉÒÔÇáËɹ²Ïí²ã£¬´Ó¶ø½ÚÔ¼´æ´¢¿Õ¼ä¡£
´æ´¢ÃûÌÃ
Docker ¾µÏñʹÓÃÁËÒ»ÖÖ³ÆΪ OCI (Open Container Initiative) ¾µÏñ¹æ·¶µÄ±ê×¼»¯´æ´¢ÃûÌᣴËÃûÌýç˵Á˾µÏñµÄÎļþ½á¹¹ºÍÄÚÈÝ¡£
´æ´¢Î»ÖÃ
Docker ¾µÏñ´æ´¢ÔÚÒÔÏÂλÖãº
µ±ÌïÖ÷»ú£ºÀÈ¡µÄ¾µÏñ´æ´¢ÔÚ /var/lib/docker/image Ŀ¼ÖС£
Docker ×¢²á±í£º¾µÏñÒ²¿ÉÒÔ´æ´¢ÔÚ Docker ×¢²á±íÖУ¬Èç Docker Hub¡£
·Ö²ã»úÖÆ
Docker ¾µÏñ±»×éÖ¯³ÉһϵÁзֲ㣬ÿһ²ã¶¼ÊÇÆ丸²ãµÄÐ޸İ汾¡£ÕâЩ²ãÊÇ°´Ë³Ðò¶ÑµþµÄ£¬µ×²ãÊÇ»ù´¡¾µÏñ£¬¶¥²ãÊÇ×îеÄÐ޸ġ£
ÿ¸ö²ã°üÀ¨¶ÔÎļþϵͳµÄ¸ü¸Ä£¬ÈçÌí¼Ó»òɾ³ýÎļþ¡£µ±½¨ÉèеľµÏñʱ£¬Ëü½«´Ó¸¸¾µÏñ¼ÌÐøËùÓеײ㣬²¢ÔÚÆ䶥²¿Ìí¼Ó×Ô¼ºµÄÐ޸IJ㡣
½ÚÔ¼¿Õ¼ä
·Ö²ã´æ´¢»úÖÆͨ¹ýÔÊÐí¹²Ïíµ×²ã½ÚÔ¼´æ´¢¿Õ¼ä¡£µ±¶à¸ö¾µÏñ¹²ÏíÏàͬµÄµ×²ãʱ£¬ËüÃÇÖ»ÐèÒª´æ´¢¸÷×ÔµÄÐ޸IJ㡣
ÀýÈ磬ÈôÊÇÓÐÒ»¸ö»ùÓÚ Debian ¾µÏñµÄ¾µÏñ£¬²¢ÇÒÁ½¸ö¾µÏñ¶¼×°ÖÃÁË Apache£¬ÔòËüÃǽ«¹²ÏíÏàͬµÄ Debian µ×²ã¡£Ö»ÓÐ Apache ²ã»áÓÐËù²î±ð£¬´Ó¶ø½ÚÔ¼´æ´¢¿Õ¼ä¡£
ÒÔÉϾÍÊÇdocker imageÊÇÔõô´æ´¢µÄµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡