{"id":67766,"date":"2023-08-02T17:35:14","date_gmt":"2023-08-02T09:35:14","guid":{"rendered":"http:\/\/gulass.cn\/?p=67766"},"modified":"2023-08-02T17:35:14","modified_gmt":"2023-08-02T09:35:14","slug":"linuxkit-containers","status":"publish","type":"post","link":"https:\/\/gulass.cn\/linuxkit-containers.html","title":{"rendered":"LinuxKit\uff1a\u4e00\u4e2a\u5728\u5bb9\u5668\u4e2d\u8fd0\u884c\u5bb9\u5668\u7684\u64cd\u4f5c\u7cfb\u7edf"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e00\u4e9b\u4ee4\u4eba\u632f\u594b\u7684\u6d88\u606f\u5f15\u53d1\u4e86\u6211\u5bf9\u4eca\u5e74 DockerCon \u7684\u5174\u8da3\uff0c\u5728\u8fd9\u6b21\u4f1a\u8bae\u4e2d\uff0c\u65e0\u53ef\u4e89\u8bae\u7684\u5bb9\u5668\u5de8\u5934\u516c\u53f8 Docker \u53d1\u5e03\u4e86\u4e00\u4e2a\u65b0\u7684\u64cd\u4f5c\u7cfb\u7edf\uff1aLinuxKit\u3002\u8fd9\u5bb6\u5bb9\u5668\u5de8\u5934\u5ba3\u5e03\u7684\u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u53ef\u6269\u5c55\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u800c\u4e3a\u4e86\u53ef\u79fb\u690d\u6027\uff0c\u7cfb\u7edf\u670d\u52a1\u4e5f\u662f\u8fd0\u884c\u5728\u5bb9\u5668\u4e4b\u4e2d\u3002\u751a\u81f3\uff0c\u4ee4\u4eba\u60ca\u8bb6\u7684\u662f\uff0c\u5c31\u8fde Docker \u8fd0\u884c\u65f6\u73af\u5883\u4e5f\u662f\u8fd0\u884c\u5728\u5bb9\u5668\u5185\uff01\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u7b80\u8981\u4ecb\u7ecd\u4e00\u4e0b LinuxKit \u4e2d\u6240\u627f\u8bfa\u7684\u5185\u5bb9\uff0c\u4ee5\u53ca\u5982\u4f55\u81ea\u5df1\u5c1d\u8bd5\u4e00\u4e0b\u8fd9\u4e2a\u4e0d\u65ad\u7cbe\u7b80\u3001\u4f18\u5316\u7684\u5bb9\u5668\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u4e00\u4e9b\u4ee4\u4eba\u632f\u594b\u7684\u6d88\u606f\u5f15\u53d1\u4e86\u6211\u5bf9\u4eca\u5e74 DockerCon \u7684\u5174\u8da3\uff0c\u5728\u8fd9\u6b21\u4f1a\u8bae\u4e2d\uff0c\u65e0\u53ef\u4e89\u8bae\u7684\u5bb9\u5668\u5de8\u5934\u516c\u53f8 Docker \u53d1\u5e03\u4e86\u4e00\u4e2a\u65b0\u7684\u64cd\u4f5c\u7cfb\u7edf\uff1aLinuxKit\u3002\u8fd9\u5bb6\u5bb9\u5668\u5de8\u5934\u5ba3\u5e03\u7684\u662f\u4e00\u4e2a\u7075\u6d3b\u7684\u3001\u53ef\u6269\u5c55\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u800c\u4e3a\u4e86\u53ef\u79fb\u690d\u6027\uff0c\u7cfb\u7edf\u670d\u52a1\u4e5f\u662f\u8fd0\u884c\u5728\u5bb9\u5668\u4e4b\u4e2d\u3002\u751a\u81f3\uff0c\u4ee4\u4eba\u60ca\u8bb6\u7684\u662f\uff0c\u5c31\u8fde Docker \u8fd0\u884c\u65f6\u73af\u5883\u4e5f\u662f\u8fd0\u884c\u5728\u5bb9\u5668\u5185\uff01\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u7b80\u8981\u4ecb\u7ecd\u4e00\u4e0b LinuxKit \u4e2d\u6240\u627f\u8bfa\u7684\u5185\u5bb9\uff0c\u4ee5\u53ca\u5982\u4f55\u81ea\u5df1\u5c1d\u8bd5\u4e00\u4e0b\u8fd9\u4e2a\u4e0d\u65ad\u7cbe\u7b80\u3001\u4f18\u5316\u7684\u5bb9\u5668\u3002<\/p>\n

\u5c11\u5373\u662f\u591a<\/strong><\/div>\n

\u4e0d\u53ef\u5426\u8ba4\u7684\u662f\uff0c\u7528\u6237\u4e00\u76f4\u5728\u5bfb\u627e\u4e00\u4e2a\u53ef\u4ee5\u8fd0\u884c\u4ed6\u4eec\u7684\u5fae\u670d\u52a1\u7684\u7cbe\u7b80\u7248\u672c\u7684 Linux \u3002\u901a\u8fc7\u5bb9\u5668\u5316\uff0c\u4f60\u4f1a\u5c3d\u53ef\u80fd\u5730\u6700\u5c0f\u5316\u6bcf\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f7f\u5176\u6210\u4e3a\u4e00\u4e2a\u9002\u5408\u4e8e\u8fd0\u884c\u5728\u5176\u81ea\u8eab\u5bb9\u5668\u5185\u7684\u72ec\u7acb\u8fdb\u7a0b\u3002\u4f46\u662f\uff0c\u7531\u4e8e\u4f60\u9700\u8981\u5bf9\u90a3\u4e9b\u9a7b\u7559\u5bb9\u5668\u7684\u5bbf\u4e3b\u673a\u51fa\u73b0\u7684\u95ee\u9898\u8fdb\u884c\u4fee\u8865\uff0c\u56e0\u6b64\u4f60\u4e0d\u65ad\u5730\u5728\u5bbf\u4e3b\u673a\u95f4\u79fb\u52a8\u5bb9\u5668\u3002\u5b9e\u9645\u4e0a\uff0c\u5982\u679c\u6ca1\u6709\u50cf Kubernetes \u6216 Docker Swarm \u8fd9\u6837\u7684\u7f16\u6392\u7cfb\u7edf\uff0c\u5bb9\u5668\u7f16\u6392\u51e0\u4e4e\u603b\u662f\u4f1a\u5bfc\u81f4\u505c\u673a\u3002
\n\u4e0d\u7528\u8bf4\uff0c\u8fd9\u53ea\u662f\u8ba9\u4f60\u4fdd\u6301\u64cd\u4f5c\u7cfb\u7edf\u5c3d\u53ef\u80fd\u5c0f\u7684\u539f\u56e0\u4e4b\u4e00\u3002
\n\u6211\u66fe\u591a\u6b21\u5728\u4e0d\u540c\u573a\u5408\u91cd\u590d\u8fc7\u7684\u6700\u559c\u7231\u7684\u540d\u8a00\uff0c\u6765\u81ea\u8377\u5170\u7684\u5929\u624d\u7a0b\u5e8f\u5458 Wietse Zweitze\uff0c\u4ed6\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u91cd\u8981\u7684 Email \u8f6f\u4ef6 Postfix \u548c TCP Wrappers \u7b49\u77e5\u540d\u8f6f\u4ef6\u3002<\/p>\n

\u5728 Postfix \u7f51\u7ad9<\/a> \u6307\u51fa\uff0c\u5373\u4f7f\u4f60\u7f16\u7801\u548c Wietse \u4e00\u6837\u5c0f\u5fc3\uff0c\u201c\u6bcf 1000 \u884c[\u4f60]\u5c31\u4f1a\u5728 Postfix \u4e2d\u5f15\u5165\u4e00\u4e2a\u989d\u5916\u7684 bug\u201d\u3002\u4ece\u6211\u7684\u4e13\u4e1a\u7684 DevSecOps \u89d2\u5ea6\u770b\uff0c\u8fd9\u91cc\u63d0\u5230\u7684\u201cbug\u201d \u53ef\u4ee5\u5c06\u5176\u5927\u81f4\u770b\u505a\u5b89\u5168\u95ee\u9898\u3002<\/p>\n

\u4ece\u5b89\u5168\u7684\u89d2\u5ea6\u6765\u770b\uff0c\u6b63\u662f\u7531\u4e8e\u8fd9\u4e2a\u539f\u56e0\uff0c\u4ee3\u7801\u4e16\u754c\u4e2d\u201c\u5c11\u5373\u662f\u591a\u201d\u3002\u7b80\u5355\u5730\u8bf4\uff0c\u4f7f\u7528\u8f83\u5c11\u7684\u4ee3\u7801\u884c\u6709\u5f88\u591a\u597d\u5904\uff0c\u5373\u5b89\u5168\u6027\u3001\u7ba1\u7406\u65f6\u95f4\u548c\u6027\u80fd\u3002\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\uff0c\u8fd9\u610f\u5473\u7740\u5b89\u5168\u6f0f\u6d1e\u8f83\u5c11\uff0c\u66f4\u65b0\u8f6f\u4ef6\u5305\u7684\u65f6\u95f4\u66f4\u77ed\uff0c\u542f\u52a8\u65f6\u95f4\u66f4\u5feb\u3002<\/p>\n

\u6df1\u5165\u89c2\u5bdf<\/strong><\/div>\n

\u8003\u8651\u4e0b\u5728\u5bb9\u5668\u5185\u90e8\u8fd0\u884c\u4f60\u7684\u7a0b\u5e8f\u3002<\/p>\n

\u4e00\u4e2a\u597d\u7684\u8d77\u70b9\u662f Alpine Linux<\/a>\uff0c\u5b83\u662f\u4e00\u4e2a\u82d7\u6761\u3001\u7cbe\u7b80\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u901a\u5e38\u6bd4\u90a3\u4e9b\u7b28\u91cd\u7684\u7cfb\u7edf\u66f4\u53d7\u559c\u6b22\uff0c\u5982 Ubuntu \u6216 CentOS \u7b49\u3002Alpine \u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a miniroot \u6587\u4ef6\u7cfb\u7edf\uff08\u7528\u4e8e\u5bb9\u5668\u5185\uff09\uff0c\u6700\u8fd1\u6211\u770b\u5230\u7684\u5927\u5c0f\u662f\u60ca\u4eba\u7684 1.8M\u3002\u4e8b\u5b9e\u4e0a\uff0c\u8fd9\u4e2a\u5b8c\u6574\u7684 Linux \u64cd\u4f5c\u7cfb\u7edf\u4e0b\u8f7d\u540e\u6709 80M\u3002<\/p>\n

\u5982\u679c\u4f60\u51b3\u5b9a\u4f7f\u7528 Alpine Linux \u4f5c\u4e3a Docker \u57fa\u7840\u955c\u50cf\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u5728 Docker Hub \u4e0a\u627e\u5230<\/a>\u4e00\u4e2a\uff0c \u5b83\u5c06\u5176\u63cf\u8ff0\u4e3a\uff1a\u201c\u4e00\u4e2a\u57fa\u4e8e Alpine Linux \u7684\u6700\u5c0f Docker \u955c\u50cf\uff0c\u5177\u6709\u5b8c\u6574\u7684\u5305\u7d22\u5f15\uff0c\u5927\u5c0f\u53ea\u67095 MB\uff01\u201d<\/p>\n

\u636e\u8bf4\u65e0\u5904\u4e0d\u5728\u7684 \u201cWindow \u5f00\u59cb\u83dc\u5355\u201d \u6587\u4ef6\u4e5f\u662f\u5927\u81f4\u76f8\u540c\u7684\u5927\u5c0f\uff01\u6211\u6ca1\u6709\u9a8c\u8bc1\u8fc7\uff0c\u4e5f\u4e0d\u4f1a\u8fdb\u4e00\u6b65\u8bc4\u8bba\u3002<\/p>\n

\u8bb2\u771f\uff0c\u5e0c\u671b\u4f60\u53bb\u4e86\u89e3\u4e00\u4e0b\u8fd9\u4e2a\u521b\u65b0\u7684\u7c7b Unix \u64cd\u4f5c\u7cfb\u7edf\uff08\u5982 Alpine Linux\uff09\u7684\u5f3a\u5927\u529f\u80fd\u3002<\/p>\n

\u9501\u5b9a\u4e00\u5207<\/strong><\/div>\n

\u518d\u8bf4\u4e00\u70b9\uff0cAlpine Linux \u662f\uff08\u5e76\u4e0d\u60ca\u4eba\uff09\u57fa\u4e8e BusyBox<\/a>\uff0c\u8fd9\u662f\u4e00\u5957\u8457\u540d\u7684\u6253\u5305\u4e86 Linux \u547d\u4ee4\u7684\u96c6\u5408\uff0c\u8bb8\u591a\u4eba\u4e0d\u4f1a\u610f\u8bc6\u5230\u4ed6\u4eec\u7684\u5bbd\u5e26\u8def\u7531\u5668\u3001\u667a\u80fd\u7535\u89c6\uff0c\u5f53\u7136\u8fd8\u6709\u4ed6\u4eec\u5bb6\u5ead\u4e2d\u7684\u7269\u8054\u7f51\u8bbe\u5907\u5c31\u6709\u5b83\u3002<\/p>\n

Alpine Linux \u7ad9\u70b9\u7684\u201c\u5173\u4e8e<\/a>\u201d\u9875\u9762\u7684\u8bc4\u8bba\u4e2d\u6307\u51fa\uff1a<\/p>\n

\u201cAlpine Linux \u7684\u8bbe\u8ba1\u8003\u8651\u5230\u5b89\u5168\u6027\u3002\u5185\u6838\u4f7f\u7528 grsecurity\/PaX \u7684\u975e\u5b98\u65b9\u79fb\u690d\u8fdb\u884c\u4e86\u4fee\u8865\uff0c\u6240\u6709\u7528\u6237\u6001\u4e8c\u8fdb\u5236\u6587\u4ef6\u90fd\u7f16\u8bd1\u4e3a\u5177\u6709\u5806\u6808\u4fdd\u62a4\u7684\u5730\u5740\u65e0\u5173\u53ef\u6267\u884c\u6587\u4ef6\uff08PIE\uff09\u3002 \u8fd9\u4e9b\u4e3b\u52a8\u5b89\u5168\u7279\u6027\u53ef\u4ee5\u9632\u6b62\u6240\u6709\u7c7b\u522b\u7684\u96f6\u65e5\u6f0f\u6d1e\u548c\u5176\u5b83\u6f0f\u6d1e\u5229\u7528\u3002\u201d<\/p><\/blockquote>\n

\u6362\u53e5\u8bdd\u8bf4\uff0c\u8fd9\u4e9b\u6346\u7ed1\u5728 Alpine Linux \u4e2d\u7684\u7cbe\u7b80\u4e8c\u8fdb\u5236\u6587\u4ef6\u63d0\u4f9b\u7684\u529f\u80fd\u901a\u8fc7\u4e86\u90a3\u4e9b\u884c\u4e1a\u7ea7\u5b89\u5168\u5de5\u5177\u7b5b\u9009\uff0c\u4ee5\u7f13\u89e3\u7f13\u51b2\u533a\u6ea2\u51fa\u653b\u51fb\u6240\u5e26\u6765\u7684\u5371\u5bb3\u3002
\n\"LinuxKit\uff1a\u5728\u5bb9\u5668\u4e2d\u8fd0\u884c\u5bb9\u5668\"<\/p>\n

\u591a\u51fa\u4e00\u53ea\u889c\u5b50<\/strong><\/div>\n

\u4f60\u53ef\u80fd\u4f1a\u95ee\uff0c\u4e3a\u4ec0\u4e48\u5f53\u6211\u4eec\u8c08\u53ca Docker \u7684\u65b0\u64cd\u4f5c\u7cfb\u7edf\u65f6\uff0c\u5bb9\u5668\u7684\u5185\u90e8\u7ed3\u6784\u5f88\u91cd\u8981\uff1f<\/p>\n

\u90a3\u4e48\uff0c\u4f60\u53ef\u80fd\u5df2\u7ecf\u731c\u5230\uff0c\u5f53\u6d89\u53ca\u5bb9\u5668\u65f6\uff0c\u4ed6\u4eec\u7684\u76ee\u6807\u662f\u7cbe\u7b80\u3002\u9664\u975e\u7edd\u5bf9\u5fc5\u8981\uff0c\u5426\u5219\u4e0d\u5305\u62ec\u4efb\u4f55\u4e1c\u897f\u3002\u6240\u4ee5\u4f60\u53ef\u4ee5\u653e\u5fc3\u5730\u6e05\u7406\u6a71\u67dc\u3001\u82b1\u56ed\u68da\u5b50\u3001\u8f66\u5e93\u548c\u889c\u5b50\u62bd\u5c49\u4e86\u3002<\/p>\n

Docker \u7684\u786e\u56e0\u4e3a\u5b83\u4eec\u7684\u5148\u89c1\u800c\u83b7\u5f97\u58f0\u671b\u3002\u636e\u62a5\u9053\uff0c2 \u6708\u521d\uff0cDocker \u8058\u8bf7\u4e86 Alpine Linux \u7684\u4e3b\u8981\u63a8\u52a8\u8005 Nathaniel Copa\uff0c\u4ed6\u5e2e\u52a9\u5c06\u9ed8\u8ba4\u7684\u5b98\u65b9\u955c\u50cf\u5e93\u4ece Ubuntu \u5207\u6362\u5230 Alpine\u3002Docker Hub \u4ece\u65b0\u8fd1\u7cbe\u7b80\u955c\u50cf\u8282\u7701\u7684\u5e26\u5bbd\u53d7\u5230\u4e86\u8d5e\u8a89\u3002<\/p>\n

\u5e76\u4e14\u6700\u65b0\u7684\u60c5\u51b5\u662f\uff0c\u8fd9\u9879\u5de5\u4f5c\u5c06\u4e0e\u6700\u65b0\u7684\u57fa\u4e8e\u5bb9\u5668\u7684\u64cd\u4f5c\u7cfb\u7edf\u76f8\u7ed3\u5408\uff1aDocker \u7684 LinuxKit\u3002<\/p>\n

\u8981\u8bf4\u6e05\u695a\u7684\u662f LinuxKit \u6ce8\u5b9a\u4e0d\u4f1a\u4ee3\u66ff Alpine\uff0c\u800c\u662f\u4f4d\u4e8e\u5bb9\u5668\u4e0b\u5c42\uff0c\u5e76\u4f5c\u4e3a\u4e00\u4e2a\u5b8c\u6574\u7684\u64cd\u4f5c\u7cfb\u7edf\u51fa\u73b0\uff0c\u4f60\u53ef\u4ee5\u9ad8\u5174\u5730\u542f\u52a8\u4f60\u7684\u8fd0\u884c\u65f6\u5b88\u62a4\u7a0b\u5e8f\uff08\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u662f\u751f\u6210\u4f60\u7684\u5bb9\u5668\u7684Docker \u5b88\u62a4\u7a0b\u5e8f \uff09\u3002<\/p>\n

\u91d1\u53d1\u5973\u90ce\u7684 Atomic<\/strong><\/div>\n

\u7ecf\u8fc7\u7cbe\u5fc3\u8c03\u8bd5\u7684\u5bbf\u4e3b\u673a\u7edd\u5bf9\u4e0d\u662f\u4e00\u4ef6\u65b0\u4e8b\u7269\uff08\u4ee5\u524d\u63d0\u5230\u8fc7\u5d4c\u5165\u5f0f Linux \u7684\u5bb6\u7528\u8bbe\u5907\uff09\u3002\u5728\u8fc7\u53bb\u51e0\u5341\u5e74\u4e2d\u4e00\u76f4\u5728\u4f18\u5316 Linux \u7684\u5929\u624d\u5728\u67d0\u4e2a\u65f6\u5019\u610f\u8bc6\u5230\u5e95\u5c42\u7684\u64cd\u4f5c\u7cfb\u7edf\u624d\u662f\u5feb\u901f\u751f\u4ea7\u542b\u6709\u5927\u91cf\u5bb9\u5668\u4e3b\u673a\u7684\u5173\u952e\u3002<\/p>\n

\u4f8b\u5982\uff0c\u5f3a\u5927\u7684\u7ea2\u5e3d\u957f\u671f\u4ee5\u6765\u4e00\u76f4\u5728\u51fa\u552e\u5df2\u7ecf\u8d21\u732e\u7ed9 Project Atomic<\/a> \u7684\u00a0\u7ea2\u5e3d Atomic<\/a>\u00a0\u3002\u540e\u8005\u7ee7\u7eed\u89e3\u91ca\uff1a<\/p>\n

\u201c\u57fa\u4e8e Red Hat Enterprise Linux \u6216 CentOS \u548c Fedora \u9879\u76ee\u7684\u6210\u719f\u6280\u672f\uff0cAtomic Host \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u3001\u4e0d\u53ef\u53d8\u7684\u5e73\u53f0\uff0c\u5176\u8bbe\u8ba1\u76ee\u7684\u4ec5\u5728\u4e8e\u8fd0\u884c\u5bb9\u5668\u5316\u5e94\u7528\u7a0b\u5e8f\u3002\u201d<\/p><\/blockquote>\n

\u5c06\u5e95\u5c42\u7684\u3001\u4e0d\u53ef\u53d8\u7684 Atomic OS \u4f5c\u4e3a\u7ea2\u5e3d\u7684 OpenShift PaaS\uff08\u5e73\u53f0\u5373\u670d\u52a1\uff09\u4ea7\u54c1\u63a8\u8350\u6709\u4e00\u4e2a\u5f88\u597d\u7406\u7531\uff1a\u5b83\u6700\u5c0f\u5316\u3001\u9ad8\u6027\u80fd\u3001\u5c16\u7aef\u3002<\/p>\n

\u7279\u6027<\/strong><\/div>\n

\u5728 Docker \u5173\u4e8e LinuxKit \u7684\u516c\u544a\u4e2d\uff0c\u201c\u5c11\u5373\u662f\u591a\u201d\u7684\u53e3\u53f7\u662f\u663e\u800c\u6613\u89c1\u7684\u3002\u5b9e\u73b0 LinuxKit \u613f\u666f\u7684\u9879\u76ee\u663e\u7136\u662f\u4e0d\u5c0f\u7684\u4e8b\u4e1a\uff0c\u5b83\u7531 Docker \u8001\u5c06\u548c\u00a0Unikernel<\/a>\u00a0\u7684\u4e3b\u7ba1 Justin Cormack \u6307\u5bfc\uff0c\u5e76\u4e0e HPE\u3001Intel\u3001ARM\u3001IBM \u548c Microsoft LinuxKit \u5408\u4f5c\uff0c\u53ef\u4ee5\u8fd0\u884c\u5728\u4ece\u5927\u578b\u673a\u5230\u57fa\u4e8e\u7269\u8054\u7f51\u7684\u51b0\u67dc\u4e4b\u4e2d\u3002<\/p>\n

LinuxKit \u7684\u53ef\u914d\u7f6e\u6027\u3001\u53ef\u63d2\u62d4\u6027\u548c\u53ef\u6269\u5c55\u6027\u5c06\u5438\u5f15\u8bb8\u591a\u5bfb\u6c42\u5efa\u7acb\u5176\u670d\u52a1\u57fa\u51c6\u7684\u9879\u76ee\u3002\u901a\u8fc7\u5f00\u6e90\u9879\u76ee\uff0cDocker \u660e\u667a\u5730\u9080\u8bf7\u6bcf\u4e2a\u4eba\u5168\u8eab\u5fc3\u5730\u6295\u5165\u5176\u529f\u80fd\u5f00\u53d1\uff0c\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u5b83\u4f1a\u50cf\u597d\u7684\u5976\u916a\u90a3\u6837\u6210\u719f\u3002<\/p>\n

\u5e03\u4e01\u4f5c\u8bc1<\/strong><\/div>\n

\u6309\u7167\u8be5\u53d1\u5e03\u6d88\u606f\u4e2d\u6240\u627f\u8bfa\u7684\uff0c\u90a3\u4e9b\u6025\u4e8e\u4f7f\u7528\u65b0\u7cfb\u7edf\u7684\u4eba\u4e0d\u7528\u518d\u7b49\u5f85\u4e86\u3002\u5982\u679c\u4f60\u51c6\u5907\u7740\u624b LinuxKit\uff0c\u4f60\u53ef\u4ee5\u4ece GitHub \u4e2d\u5f00\u59cb\uff1aLinuxKit<\/a>\u3002<\/p>\n

\u5728 GitHub \u9875\u9762\u4e0a\u6709\u5173\u4e8e\u5982\u4f55\u542f\u52a8\u548c\u8fd0\u884c\u4e00\u4e9b\u529f\u80fd\u7684\u6307\u5bfc\u3002<\/p>\n

\u65f6\u95f4\u5141\u8bb8\u7684\u8bdd\u6211\u51c6\u5907\u66f4\u52a0\u6df1\u5165\u7814\u7a76 LinuxKit\u3002\u5bf9\u6709\u4e89\u8bae\u7684 Kubernetes \u4e0e Docker Swarm \u7f16\u6392\u529f\u80fd\u5bf9\u6bd4\u4f1a\u662f\u6709\u8da3\u7684\u5c1d\u8bd5\u3002\u6b64\u5916\uff0c\u6211\u8fd8\u60f3\u770b\u5230\u5185\u5b58\u5360\u7528\u3001\u542f\u52a8\u65f6\u95f4\u548c\u78c1\u76d8\u7a7a\u95f4\u4f7f\u7528\u7387\u7684\u57fa\u51c6\u6d4b\u8bd5\u3002<\/p>\n

\u5982\u679c\u8be5\u627f\u8bfa\u53ef\u9760\uff0c\u5219\u4f5c\u4e3a\u5bb9\u5668\u8fd0\u884c\u7684\u53ef\u63d2\u62d4\u7cfb\u7edf\u670d\u52a1\u662f\u6784\u5efa\u64cd\u4f5c\u7cfb\u7edf\u7684\u8ff7\u4eba\u65b9\u5f0f\u3002Docker \u5728\u535a\u5ba2<\/a>\uff09\u4e2d\u63d0\u5230\uff1a\u201c\u56e0\u4e3a LinuxKit \u662f\u539f\u751f\u5bb9\u5668\uff0c\u5b83\u6709\u4e00\u4e2a\u975e\u5e38\u5c0f\u7684\u5c3a\u5bf8 - 35MB\uff0c\u5f15\u5bfc\u65f6\u95f4\u975e\u5e38\u5c0f\u3002\u6240\u6709\u7cfb\u7edf\u670d\u52a1\u90fd\u662f\u5bb9\u5668\uff0c\u8fd9\u610f\u5473\u7740\u53ef\u4ee5\u5220\u9664\u6216\u66ff\u6362\u6240\u6709\u7684\u5185\u5bb9\u3002\u201d<\/p>\n

\u6211\u4e0d\u77e5\u9053\u4f60\u89c9\u5f97\u600e\u4e48\u6837\uff0c\u4f46\u8fd9\u975e\u5e38\u7b26\u5408\u6211\u7684\u80c3\u53e3\u3002<\/p>\n

\u547c\u53eb\u8b66\u5bdf<\/strong><\/div>\n

\u9664\u4e86\u6211\u7ad9\u5728 DevSecOps \u89d2\u5ea6\u770b\u5230\u7684\u529f\u80fd\uff0c\u6211\u4f1a\u770b\u770b\u5176\u5bf9\u5b89\u5168\u7684\u627f\u8bfa\u3002<\/p>\n

Docker \u5728\u4ed6\u4eec\u7684\u535a\u5ba2\u4e0a\u5f15\u7528\u6765\u81ea NIST\uff08\u56fd\u5bb6\u6807\u51c6\u4e0e\u6280\u672f\u7814\u7a76\u6240<\/a>\uff09\u7684\u8bdd\uff1a<\/p>\n

\u201c\u5b89\u5168\u6027\u662f\u6700\u9ad8\u76ee\u6807\uff0c\u8fd9\u4e0e NIST \u5728\u5176\u300a\u5e94\u7528\u7a0b\u5e8f\u5bb9\u5668\u5b89\u5168\u6307\u5357\u300b\u8349\u6848\u4e2d\u8bf4\u660e\u7684\u4fdd\u6301\u4e00\u81f4\uff1a\u2018\u4f7f\u7528\u5bb9\u5668\u4e13\u7528\u64cd\u4f5c\u7cfb\u7edf\u800c\u4e0d\u662f\u901a\u7528\u64cd\u4f5c\u7cfb\u7edf\u6765\u51cf\u5c11\u653b\u51fb\u9762\u3002\u5f53\u4f7f\u7528\u4e13\u7528\u5bb9\u5668\u64cd\u4f5c\u7cfb\u7edf\u65f6\uff0c\u653b\u51fb\u9762\u901a\u5e38\u6bd4\u901a\u7528\u64cd\u4f5c\u7cfb\u7edf\u5c0f\u5f97\u591a\uff0c\u56e0\u6b64\u653b\u51fb\u548c\u5371\u53ca\u4e13\u7528\u5bb9\u5668\u64cd\u4f5c\u7cfb\u7edf\u7684\u673a\u4f1a\u8f83\u5c11\u3002\u2019\u201d<\/p><\/blockquote>\n

\u53ef\u80fd\u6700\u91cd\u8981\u7684\u5bb9\u5668\u5230\u4e3b\u673a\u548c\u4e3b\u673a\u5230\u5bb9\u5668\u7684\u5b89\u5168\u521b\u65b0\u662f\u5c06\u7cfb\u7edf\u5bb9\u5668\uff08\u7cfb\u7edf\u670d\u52a1\uff09\u5b8c\u5168\u5730\u6c99\u7bb1\u5316\u5230\u81ea\u5df1\u7684\u975e\u7279\u6743\u7a7a\u95f4\u4e2d\uff0c\u800c\u53ea\u7ed9\u5b83\u4eec\u9700\u8981\u7684\u5916\u90e8\u8bbf\u95ee\u3002<\/p>\n

\u901a\u8fc7\u5185\u6838\u81ea\u6211\u4fdd\u62a4\u9879\u76eeKernel Self Protection Project<\/rt><\/ruby>\uff08KSPP<\/a>\uff09\u7684\u534f\u4f5c\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\uff0c\u6211\u5f88\u6ee1\u610f Docker \u5f00\u59cb\u4e13\u6ce8\u4e8e\u4e00\u4e9b\u975e\u5e38\u503c\u5f97\u7684\u4e1c\u897f\u4e0a\u3002\u5bf9\u4e8e\u90a3\u4e9b\u4e0d\u719f\u6089\u7684 KSPP \u7684\u4eba\u800c\u8a00\uff0c\u5b83\u5b58\u5728\u7406\u7531\u5982\u4e0b\uff1a<\/p>\n

\u201c\u542f\u52a8\u8fd9\u4e2a\u9879\u76ee\u7684\u7684\u5047\u8bbe\u662f\u5185\u6838 bug \u7684\u5b58\u5728\u65f6\u95f4\u5f88\u957f\uff0c\u5185\u6838\u5fc5\u987b\u8bbe\u8ba1\u6210\u53ef\u4ee5\u9632\u6b62\u8fd9\u4e9b\u7f3a\u9677\u7684\u5371\u5bb3\u3002\u201d<\/p><\/blockquote>\n

KSPP \u7f51\u7ad9\u8fdb\u4e00\u6b65\u8868\u6001\uff1a<\/p>\n

\u201c\u8fd9\u4e9b\u52aa\u529b\u975e\u5e38\u91cd\u8981\u5e76\u8fd8\u5728\u8fdb\u884c\uff0c\u4f46\u5982\u679c\u6211\u4eec\u8981\u4fdd\u62a4\u6211\u4eec\u7684\u5341\u4ebf Android \u624b\u673a\u3001\u6211\u4eec\u7684\u6c7d\u8f66\u3001\u56fd\u9645\u7a7a\u95f4\u7ad9\uff0c\u8fd8\u6709\u5176\u4ed6\u8fd0\u884c Linux \u7684\u4ea7\u54c1\uff0c\u6211\u4eec\u5fc5\u987b\u5728\u4e0a\u6e38\u7684 Linux \u5185\u6838\u4e2d\u5efa\u7acb\u79ef\u6781\u7684\u9632\u5fa1\u6027\u6280\u672f\u3002\u6211\u4eec\u9700\u8981\u5185\u6838\u5b89\u5168\u5730\u51fa\u9519\uff0c\u800c\u4e0d\u53ea\u662f\u5b89\u5168\u5730\u8fd0\u884c\u3002\u201d<\/p><\/blockquote>\n

\u800c\u4e14\uff0c\u5982\u679c Docker \u6700\u521d\u53ea\u662f\u5728 LinuxKit \u524d\u8fdb\u4e86\u4e00\u5c0f\u6b65\uff0c\u90a3\u4e48\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\uff0c\u6210\u719f\u5ea6\u5e26\u6765\u7684\u597d\u5904\u53ef\u80fd\u4f1a\u5728\u5bb9\u5668\u9886\u57df\u4e2d\u53d6\u5f97\u957f\u8db3\u7684\u8fdb\u6b65\u3002<\/p>\n

\u79bb\u7ec8\u70b9\u8fd8\u8fdc<\/strong><\/div>\n

\u50cf Docker \u8fd9\u6837\u4e0d\u65ad\u53d1\u5c55\u58ee\u5927\u7684\u5de8\u5934\u65e0\u8bba\u5728\u54ea\u4e2a\u65b9\u5411\u4e0a\u53d6\u5f97\u5de8\u5927\u7684\u98de\u8dc3\u90fd\u5c06\u4f1a\u7528\u6237\u548c\u5176\u4ed6\u8f6f\u4ef6\u5e26\u6765\u76ca\u5904\u3002<\/p>\n

\u6211\u9f13\u52b1\u6240\u6709\u5bf9 Linux \u611f\u5174\u8da3\u7684\u4eba\u5bc6\u5207\u5173\u6ce8\u8fd9\u4e2a\u9886\u57df\u3002<\/p>\n


\n

via: http:\/\/www.devsecops.cc\/devsecops\/containers.html<\/a><\/p>\n

\u4f5c\u8005\uff1aChris Binnie<\/a> \u8bd1\u8005\uff1ageekpi<\/a> \u6821\u5bf9\uff1awxy<\/a><\/p>\n

\u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8518-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1a http:\/\/gulass.cn\/linuxkit-containers.html<\/a>\u7f16\u8f91\u5458\uff1a\u534e\u4e16\u53d1\uff0c\u5ba1\u6838\u5458\uff1a\u51af\u632f\u534e<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u4e00\u4e9b\u4ee4\u4eba\u632f\u594b\u7684\u6d88\u606f\u5f15\u53d1\u4e86\u6211\u5bf9\u4eca\u5e74 DockerCon \u7684\u5174\u8da3\uff0c\u5728\u8fd9\u6b21\u4f1a\u8bae\u4e2d\uff0c\u65e0\u53ef\u4e89\u8bae\u7684\u5bb9\u5668\u5de8\u5934\u516c\u53f8 Docker \u53d1\u5e03\u4e86\u4e00\u4e2a\u65b0\u7684\u64cd\u4f5c\u7cfb\u7edf\uff1aLinuxKit\u3002<\/p>\n","protected":false},"author":63,"featured_media":68003,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-67766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/67766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=67766"}],"version-history":[{"count":5,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/67766\/revisions"}],"predecessor-version":[{"id":279371,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/67766\/revisions\/279371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/68003"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=67766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=67766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=67766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}