{"id":60814,"date":"2019-06-20T09:00:03","date_gmt":"2019-06-20T01:00:03","guid":{"rendered":"https:\/\/blog.trendmicro.com.tw\/?p=60814"},"modified":"2019-06-20T16:05:17","modified_gmt":"2019-06-20T08:05:17","slug":"%e4%bd%95%e8%ac%82%e5%ae%b9%e5%99%a8container%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/blog.trendmicro.com.tw\/?p=60814","title":{"rendered":"\u4f55\u8b02\u5bb9\u5668(Container)\uff1f"},"content":{"rendered":"\n<p>\u4ec0\u9ebc\u662f\u300c\u5bb9\u5668 (Container) \u300d? \u300c\u5bb9\u5668 (Container)? \u300d  \u662f\u4e00\u500b\u8edf\u9ad4\u55ae\u5143\uff0c\u88e1\u9762<a href=\"https:\/\/www.docker.com\/resources\/what-container\">\u5305\u542b\u4e86<\/a>\u6240\u6709\u8b93\u61c9\u7528\u7a0b\u5f0f\u5728\u5404\u7a2e\u4e0d\u540c\u74b0\u5883 (\u5982\u4e0d\u540c\u96fb\u8166\u786c\u9ad4\u3001\u57fa\u790e\u67b6\u69cb\u6216\u96f2\u7aef\u74b0\u5883) \u90fd\u80fd\u9806\u5229\u57f7\u884c\u7684\u5fc5\u8981\u5143\u7d20\uff0c\u5305\u62ec\uff1a\u7a0b\u5f0f\u78bc\u3001\u57f7\u884c\u6642\u671f\u74b0\u5883\u3001\u7cfb\u7d71\u5de5\u5177\u3001\u7cfb\u7d71\u7a0b\u5f0f\u5eab\u3001\u8edf\u9ad4\u76f8\u4f9d\u6027\u7b49\u7b49\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/documents.trendmicro.com\/images\/TEx\/articles\/Container-01.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u63a1\u7528\u5bb9\u5668\uff0c\u8b93\u8edf\u9ad4\u958b\u767c\u66f4\u52a0\u65b9\u4fbf\u3002\u50b3\u7d71\u4e0a\uff0c\u4e00\u500b\u8edf\u9ad4\u8981\u5f9e\u67d0\u500b\u904b\u7b97\u74b0\u5883\u79fb\u690d\u5230\u53e6\u4e00\u500b\u904b\u7b97\u74b0\u5883\u4e0a\u57f7\u884c\uff0c\u6703\u906d\u9047\u8a31\u591a\u56f0\u96e3\u3002\u4f8b\u5982\uff0c\u7576\u5e95\u5c64\u652f\u63f4\u7684\u8edf\u9ad4\u74b0\u5883\u4e0d\u540c\u6642\uff0c\u5c31\u53ef\u80fd\u5e36\u4f86\u8a31\u591a<a href=\"https:\/\/www.cio.com\/article\/2924995\/what-are-containers-and-why-do-you-need-them.html\">\u6311\u6230<\/a>\u3002\u800c\u5bb9\u5668\u4e4b\u6240\u4ee5\u80fd\u89e3\u6c7a\u6b64\u554f\u984c\uff0c\u5c31\u662f\u56e0\u70ba\u5bb9\u5668\u5c07\u6240\u6709\u5fc5\u8981\u7684\u5143\u7d20\u5168\u90e8\u5305\u88dd\u5728\u4e00\u8d77\u3002\u5982\u6b64\u4e00\u4f86\uff0c\u5c31\u80fd\u6d88\u9664\u5e95\u5c64\u4f5c\u696d\u7cfb\u7d71\u548c\u57fa\u790e\u67b6\u69cb\u5dee\u7570\u6027\u6240\u5e36\u4f86\u7684\u554f\u984c\uff0c\u56e0\u70ba\u5bb9\u5668\u57f7\u884c\u6642\u671f\u74b0\u5883\u5df2\u62bd\u96e2\u9019\u4e9b\u5dee\u7570\u6027\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4ec0\u9ebc\u662f\u5bb9\u5668\u6620\u50cf(container image)\uff1f<\/h2>\n\n\n\n<p>\u5bb9\u5668\u6620\u50cf (container image) \u5305\u542b\u4e86\u53ef\u57f7\u884c\u7a0b\u5f0f\u78bc\u3001\u652f\u63f4\u7a0b\u5f0f\u5eab\u3001\u904b\u7b97\u8981\u6c42\u689d\u4ef6\uff0c\u4ee5\u53ca\u5728\u67d0\u7a2e\nIT \u57fa\u790e\u67b6\u69cb\u4e0a\u904b\u4f5c\u4e00\u500b\u57f7\u884c\u7a0b\u5e8f\u6240\u9700\u7684\u5176\u4ed6\u7269\u4ef6\u3002\u6bcf\u500b\u5bb9\u5668\u90fd\u9700\u8981\u8f09\u5165\u4e00\u500b\u5bb9\u5668\u6620\u50cf\u4f86\u57f7\u884c\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u5bb9\u5668\u6620\u50cf\u662f\u85c9\u7531\u5c64\u5c64\u5806\u758a\u7684\u6a94\u6848\u7cfb\u7d71\u5c64 (file system layer) \u800c\u5efa\u69cb\u51fa\u4e00\u500b\u4fee\u6539\u5f8c\u7684\u6620\u50cf\u6216\u5168\u65b0\u7684\u6620\u50cf\u3002\u8981\u5efa\u7acb\u4e00\u500b\u6620\u50cf\uff0c\u53ef\u4f7f\u7528\u5bb9\u5668\u5e73\u53f0\u7684\u5efa\u69cb\n(build) \u6307\u4ee4\u5f9e\u7121\u5230\u6709\u5168\u65b0\u6253\u9020\uff0c\u4e5f\u53ef\u4ee5\u5f9e\u65e2\u6709\u7684\u6620\u50cf\u4fee\u6539\u800c\u4f86\uff0c\u8b8a\u6210\u65b0\u5bb9\u5668\u7684\u57fa\u790e\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u9084\u53ef\u6301\u7e8c\u66f4\u65b0\u5bb9\u5668\u4f86\u4fee\u6b63\u554f\u984c\u3001\u52a0\u5165\u66f4\u591a\u529f\u80fd\uff0c\u6216\u5c07\u7522\u54c1\u5168\u9762\u7ffb\u65b0\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u78ba\u4fdd\u5bb9\u5668\u5b89\u5168?<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/documents.trendmicro.com\/images\/TEx\/articles\/ContainerSecurity-01.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p><em><\/em>\u78ba\u4fdd\u5bb9\u5668\u5b89\u5168\u9700\u627e\u51fa\u5bb9\u5668\u5167\u6240\u6709\u5143\u7d20\u7684\u6f0f\u6d1e\u3002<\/p>\n\n\n\n<p>\u7576\u5bb9\u5668\u5728\u57f7\u884c\u61c9\u7528\u7a0b\u5f0f\u6642\uff0c\u9700\u8f09\u5165\u5bb9\u5668\u6620\u50cf\u3002\u800c\u542b\u6709\u6f0f\u6d1e\u7684\u6620\u50cf\uff0c\u5c07\u4f7f\u5f97\u5bb9\u5668\u66b4\u9732\u5728\u611f\u67d3\u60e1\u610f\u7a0b\u5f0f\u6216\u906d\u5230\u6f0f\u6d1e\u653b\u64ca\u7684\u98a8\u96aa\uff0c\u751a\u81f3\u4f7f\u5f97\u57f7\u884c\u5bb9\u5668\u7684\u4e3b\u6a5f\u4e5f\u906d\u9047\u5371\u96aa\u3002\u9019\u985e\u8cc7\u5b89\u6f0f\u6d1e\u61c9\u76e1\u65e9\u5728\u5bb9\u5668\u5efa\u69cb\u6642\u671f\u4ee5\u53ca\u5bb9\u5668\u5728\u751f\u7522\u74b0\u5883\u4e0a\u7dda\u4e4b\u524d\u9810\u5148\u767c\u6398\u3002\u63db\u53e5\u8a71\u8aaa\uff0c\u5c31\u662f\u5c07\u8cc7\u5b89\u878d\u5165\u6574\u500b\u6d41\u7a0b\u7576\u4e2d\uff0c\u63d0\u4f9b\u7a69\u5b9a\u53ef\u9760\u7684\u5bb9\u5668\u7d66\u751f\u7522\u74b0\u5883\u4f7f\u7528\uff0c\u7bc0\u7701\u6642\u9593\u548c\u4eba\u529b\u3002\u6b64\u5916\uff0c\u9084\u53ef\u6e1b\u8f15\u61c9\u7528\u7a0b\u5f0f\u958b\u767c\u9031\u671f\u7684\u6210\u672c\u8207\u958b\u767c\u4e2d\u65b7\u7684\u60c5\u6cc1\u3002\u4ee5\u4e0b\u662f\u78ba\u4fdd<a href=\"https:\/\/www.trendmicro.com\/vinfo\/us\/security\/news\/security-technology\/security-by-design-a-checklist-for-safeguarding-virtual-machines-and-containers\">\u5bb9\u5668\u5b89\u5168<\/a>\u7684\u4e00\u4e9b\u4f5c\u6cd5\uff1a<\/p>\n\n\n\n<ul><li>\u5bb9\u5668\u6620\u50cf\u5fc5\u9808\u7d93\u904e\u6383\u7784\u3002\u6383\u7784\u5f8c\uff0c\u5df2\u77e5\u5b89\u5168\u7684\u5bb9\u5668\u6620\u50cf\u5c31\u5fc5\u9808\u51a0\u4e0a\u7c3d\u7ae0\u3001\u9a57\u8b49\u7b49\u8b49\u660e\uff0c\u4e26\u653e\u5230\u4fe1\u8cf4\u7684\u767b\u9304\n(Trusted Registry) \u7576\u4e2d\u4ee5\u4f9b\u5b58\u53d6\u3002\u4f7f\u7528\u8005\u53ea\u9700\u55ae\u7d14\u76f8\u4fe1\u767b\u9304\u7684\u5b89\u5168\u6027\u5373\u53ef\u3002\u4f46\u5982\u679c\u4e8b\u5148\u7684\u5b89\u5168\u63aa\u65bd\u4e0d\u5920\u5b8c\u5584\uff0c\u5f88\u53ef\u80fd\u5c31\u6703\u767c\u751f\u554f\u984c\u3002<\/li><li>\u5bb9\u5668\u7684\u57f7\u884c\u6642\u671f\u74b0\u5883\u5fc5\u9808\u5b89\u5168\u7121\u865e\uff0c\u56e0\u70ba\u5bb9\u5668\u662f\u5728\u4e00\u500b\u534a\u9694\u96e2\u7684\u74b0\u5883\u4e0b\u57f7\u884c\u3002\u82e5\u5bb9\u5668\u57f7\u884c\u74b0\u5883\u4e0d\u5b89\u5168\uff0c\u5f88\u53ef\u80fd\u5c07\u70ba\u5bb9\u5668\u548c\u57f7\u884c\u5bb9\u5668\u7684\u4e3b\u6a5f\u5e36\u4f86\u56b4\u91cd\u5f8c\u679c\u3002\u56e0\u6b64\uff0c\u5176\u5b58\u53d6\u5fc5\u9808\u53d7\u5230\u7ba1\u5236\u3002\u800c\u4e14\u7576\u9023\u4e0a\u7db2\u8def\u6642\uff0c\u9084\u5fc5\u9808\u63a1\u7528\u52a0\u5bc6\u901a\u8a0a\u5354\u5b9a\u3002<\/li><li>\u8cc7\u6e90\u61c9\u505a\u597d\u9694\u96e2\u3002\u4f8b\u5982\uff0c\u5fc5\u9808\u6b63\u78ba\u8a2d\u5b9a\u63a7\u5236\u7fa4\u7d44 (control group) \u548c\u547d\u540d\u7a7a\u9593\n(namespace)\uff1b\u5fc5\u9808\u6c7a\u5b9a\u4e00\u500b\u5bb9\u5668\u53ef\u4f7f\u7528\u54ea\u4e9b\u8cc7\u6e90\u4ee5\u53ca\u53ef\u4f7f\u7528\u7684\u6578\u91cf\u3002<\/li><li>\u8cc7\u5b89\u5fc5\u9808\u878d\u5165\u6d41\u7a0b\u7576\u4e2d\uff0c\u624d\u80fd\u63d0\u5347\u71df\u904b\u6574\u9ad4\u6548\u7387\u3002\u4f8b\u5982 Docker \u5373\u63d0\u4f9b\u4e86\u4e00\u4e9b<a href=\"https:\/\/www.docker.com\/sites\/default\/files\/WP_IntrotoContainerSecurity_08.19.2016.pdf\">\u6587\u4ef6<\/a>\u4f86\u8aaa\u660e\u5176\u5bb9\u5668\u5f15\u64ce\u5167\u5efa\u4e86\u54ea\u4e9b\u8cc7\u5b89\u529f\u80fd\u3002<\/li><\/ul>\n\n\n\n<p>\u5982\u9700\u66f4\u591a\u6709\u95dc\u8da8\u52e2\u79d1\u6280\u5bb9\u5668\u9632\u8b77\u7684\u76f8\u95dc\u8cc7\u8a0a\uff0c\u8acb\u53c3\u95b1<a href=\"https:\/\/www.trendmicro.com\/en_us\/business\/products\/hybrid-cloud\/container.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u6b64\u8655<\/a>\u3002 <\/p>\n\n\n\n<p>\u539f\u6587\u51fa\u8655\uff1a<a href=\"https:\/\/www.trendmicro.com\/vinfo\/us\/security\/definition\/container\">Container<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u9ebc\u662f\u300c\u5bb9\u5668 (Container) \u300d? \u300c\u5bb9\u5668 (Container)? \u300d \u662f\u4e00\u500b\u8edf\u9ad4\u55ae\u5143\uff0c\u88e1\u9762\u5305\u542b\u4e86\u6240 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wpscppro_dont_share_socialmedia":false,"_wpscppro_custom_social_share_image":0,"_facebook_share_type":"","_twitter_share_type":"","_linkedin_share_type":"","_pinterest_share_type":"","_linkedin_share_type_page":"","_instagram_share_type":"","_medium_share_type":"","_threads_share_type":"","_google_business_share_type":"","_selected_social_profile":[],"_wpsp_enable_custom_social_template":false,"_wpsp_social_scheduling":{"enabled":false,"datetime":null,"platforms":[],"status":"template_only","dateOption":"today","timeOption":"now","customDays":"","customHours":"","customDate":"","customTime":"","schedulingType":"absolute"},"_wpsp_active_default_template":true},"categories":[1],"tags":[4314,4296],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/60814"}],"collection":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60814"}],"version-history":[{"count":0,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/60814\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.trendmicro.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}