{"id":370,"date":"2021-10-01T13:32:39","date_gmt":"2021-10-01T05:32:39","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=370"},"modified":"2023-05-28T01:25:52","modified_gmt":"2023-05-27T17:25:52","slug":"%e5%9c%a8docker%e5%ae%b9%e5%99%a8%e5%86%85%e4%bd%bf%e7%94%a8procdump-for-linux-%e8%87%aa%e5%8a%a8%e5%88%9b%e5%bb%badump","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/linux\/%e5%9c%a8docker%e5%ae%b9%e5%99%a8%e5%86%85%e4%bd%bf%e7%94%a8procdump-for-linux-%e8%87%aa%e5%8a%a8%e5%88%9b%e5%bb%badump\/","title":{"rendered":"\u5728docker\u5bb9\u5668\u5185\u4f7f\u7528ProcDump for linux \u81ea\u52a8\u521b\u5efadump"},"content":{"rendered":"<div class='wxsyncmain'>\n<section style=\"font-size: 15px;color: rgb(62, 62, 62);line-height: 1.8;word-spacing: 2px;letter-spacing: 2px;font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif;background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);background-size: 20px 20px;background-position: center center;\">\n<blockquote style=\"line-height: inherit;padding: 15px 15px 15px 1rem;font-size: 0.9em;color: rgb(0, 0, 0);border-left-width: 5px;border-left-color: rgb(239, 112, 96);background: rgb(239, 235, 233);overflow: auto;overflow-wrap: normal;word-break: normal;\">\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;\">Docker\u5bb9\u5668\u5185\u4f7f\u7528ProcDump for linux \u81ea\u52a8\u521b\u5efadump<\/p>\n<\/blockquote>\n<h3 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"font-size: inherit;line-height: inherit;display: inline-block;font-weight: normal;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u80cc\u666f\u4ecb\u7ecd<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid rgb(239, 235, 233);border-right: 20px solid transparent;\"> <\/span><\/h3>\n<h4 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;font-size: 1.2em;\"><span style=\"font-size: inherit;color: inherit;line-height: inherit;\">dump<\/span><\/h4>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">dump\u53c8\u540d\u8f6c\u50a8\uff0c \u5bf9\u4e8e\u5f00\u53d1\u8005\u800c\u8a00\u662f\u7a0b\u5e8f\u5f02\u5e38\u7684\u4e8b\u540e\u5206\u6790\u6587\u4ef6\uff0c\u901a\u4fd7\u7684\u8bb2dump\u5c31\u662f\u8fdb\u7a0b\u7684\u5185\u5b58\u5806\u6808\u7684\u4e00\u4e2a\u5feb\u7167\u6587\u4ef6\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u56e0\u4e3a\u6709\u4e86\u8fd9\u4e2a\u5feb\u7167\u6587\u4ef6\uff0c\u5f53\u7a0b\u5e8f\u51fa\u73b0\u4e00\u4e9b\u96be\u4ee5\u590d\u73b0\u7684\u95ee\u9898\u65f6\u5019\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5bf9\u8fd9\u4e2a\u6587\u4ef6\u8fdb\u884c\u89e3\u6790\uff0c\u5bfb\u627e\u51fa\u73b0\u5f02\u5e38\u7684\u539f\u56e0\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u53ef\u4ee5\u8bf4dump\u6587\u4ef6\u662f\u4e00\u4e2a\u5f02\u5e38\u89e3\u6790\u7684\u515c\u5e95\u65b9\u6848\uff0c\u5982\u679c\u80fd\u6839\u636e\u7a0b\u5e8f\u65e5\u5fd7\u6216\u7a0b\u5e8f\u7684\u5f02\u5e38\u73b0\u8c61\u5b9a\u4f4d\u5230\u7684\u95ee\u9898\u5219\u4e0d\u9700\u8981\u52b3\u70e6dump\u6587\u4ef6\u4e86\u3002<\/span><\/p>\n<h4 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;font-size: 1.2em;\"><span style=\"font-size: inherit;color: inherit;line-height: inherit;\">ProcDump for linux<\/span><\/h4>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">ProcDump\u662f\u5fae\u8f6f\u5f00\u6e90\u7684\u4e00\u6b3e\u6293\u53d6dump\u5de5\u5177\uff0cProcDump for linux\u662f\u5728linux\u5e73\u53f0\u7684\u7248\u672c\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">github\u5730\u5740\uff1a<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">https:\/\/github.com\/Sysinternals\/ProcDump-for-Linux<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u4f7f\u7528ProcDump\u7684\u539f\u56e0\u5c31\u662f\u597d\u7528\uff0c\u5b83\u867d\u7136\u65e0\u6cd5\u63d0\u4f9b\u76d1\u542c\u8fdb\u7a0b(\u7a0b\u5e8f)\u5d29\u6e83\u65f6\u751f\u6210dump\uff0c\u4f46\u662f\u5374\u63d0\u4f9b\u4e86\u4e00\u79cd\u534a\u81ea\u52a8\u7684\u65b9\u5f0f\u8fdb\u884cdump\u6293\u53d6\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u8fd9\u79cd\u65b9\u5f0f\u5c31\u662f\u8bbe\u5b9a\u6761\u4ef6\uff0c\u6bd4\u5982\u5185\u5b58\u8fbe\u5230\u591a\u5c11\u5146\u3001cpu\u4f7f\u7528\u7387\u8fbe\u5230\u767e\u5206\u4e4b\u591a\u5c11\u3001\u7ebf\u7a0b\u6570\u8fbe\u5230\u591a\u5c11\u3002<br  \/>\u5f53\u8fdb\u7a0b\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u8fbe\u5230\u4e86\u8fd9\u4e9b\u6761\u4ef6\u5219\u81ea\u52a8\u5bf9\u8be5\u8fdb\u7a0b\u8fdb\u884c\u8f6c\u50a8(\u521b\u5efadump\u6587\u4ef6)\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">ProcDump\u8fd8\u652f\u6301\u5148\u5f00\u542fdump\u6293\u53d6\u76d1\u542c\uff0c\u5f53\u8fdb\u7a0b\u542f\u52a8\u540e\u4e14\u6ee1\u8db3\u9884\u8bbe\u7684\u6761\u4ef6\u540e\u518d\u8fdb\u884c\u8f6c\u50a8\u3002\u8fd9\u610f\u5473\u7740\u6211\u4eec\u4e0d\u9700\u8981\u5148\u542f\u52a8\u8fdb\u7a0b\u518d\u542f\u52a8ProcDump\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u6211\u5217\u4e3e\u4e0bProcDump\u51e0\u4e2a\u91cd\u8981\u7684\u53c2\u6570\uff0c\u5176\u4ed6\u53c2\u6570\u53ef\u5728ProcDump\u7684github\u9879\u76ee\u5730\u5740\u4e0a\u81ea\u884c\u67e5\u770b\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-backh=\"374\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.6468114926419061\" data-s=\"300,640\"  data-type=\"png\" data-w=\"1427\" style=\"width: 100%;height: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004942585.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-backh=\"374\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.6468114926419061\" data-s=\"300,640\"  data-type=\"png\" data-w=\"1427\" style=\"width: 100%;height: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004942585.png\"  \/><\/noscript><\/p>\n<h3 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"font-size: inherit;line-height: inherit;display: inline-block;font-weight: normal;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\"><span style=\"color: inherit;\"><br  \/>\u9700\u8981\u5728docker\u5bb9\u5668\u73af\u5883\u4e0b\u6293\u53d6dump\uff0c\u6211\u60f3\u5230\u4e86\u4e0b\u9762\u51e0\u4e2a\u65b9\u6848<\/span>\u5728docker\u5bb9\u5668\u73af\u5883\u4e0b\u5982\u4f55\u6293\u53d6dump<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid rgb(239, 235, 233);border-right: 20px solid transparent;\"> <\/span><\/h3>\n<ul style=\"font-size: inherit;color: inherit;line-height: inherit;padding-left: 32px;\" class=\"list-paddingleft-2\">\n<li style=\"font-size: 16px;color: inherit;line-height: inherit;margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit;line-height: inherit;font-size: 16px;\">\u7eaf\u624b\u52a8\u65b9\u5f0f\uff0c\u88ab\u52a8\u7684\u8fdb\u5165\u5bb9\u5668\u5185\u4f7f\u7528\u5de5\u5177\u521b\u5efadump<\/span><\/p>\n<\/li>\n<li style=\"font-size: 16px;color: inherit;line-height: inherit;margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit;line-height: inherit;font-size: 16px;\">\u7eaf\u81ea\u52a8\u65b9\u5f0f\uff0c\u786c\u7f16\u7801\uff0c\u5728\u7a0b\u5e8f\u5185\u8c03\u7528\u5de5\u5177\u521b\u5efadump<\/span><\/p>\n<\/li>\n<li style=\"font-size: 16px;color: inherit;line-height: inherit;margin-bottom: 0.5em;\">\n<p><span style=\"color: inherit;line-height: inherit;font-size: 16px;\">\u534a\u81ea\u52a8\u65b9\u5f0f\uff0c\u9884\u5148\u8bbe\u5b9a\u89e6\u53d1\u6761\u4ef6\uff0c\u5b9e\u9645\u8fd0\u884c\u73af\u5883\u8fbe\u5230\u9884\u8bbe\u7684\u9608\u503c\u540e\u751f\u6210dump<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u4e0a\u9762\u4e09\u79cd\u65b9\u5f0f\u90fd\u53ef\u4ee5\u751f\u6210dump\uff0c\u65e0\u975e\u662f\u6295\u5165\u7684\u6210\u672c\u5927\u5c0f\u4e0d\u540c\u800c\u5df2\u3002\u4e0b\u9762\u7684\u8868\u683c\u53ef\u4ee5\u76f4\u89c2\u7684\u5bf9\u8fd9\u4e09\u79cd\u65b9\u5f0f\u8fdb\u884c\u6bd4\u8f83\u3002<\/span><\/p>\n<table>\n<thead style=\"font-size: inherit;color: inherit;line-height: inherit;\">\n<tr style=\"font-size: inherit;color: inherit;line-height: inherit;border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;\">\n<th style=\"color: inherit;line-height: inherit;font-size: 1em;border-top-width: 1px;border-color: rgb(204, 204, 204);padding: 0.5em 1em;text-align: left;background-color: rgb(240, 240, 240);word-break: break-all;\" width=\"47\">\u65b9\u5f0f<\/th>\n<th style=\"color: inherit;line-height: inherit;font-size: 1em;border-top-width: 1px;border-color: rgb(204, 204, 204);padding: 0.5em 1em;text-align: left;background-color: rgb(240, 240, 240);word-break: break-all;\" width=\"243\">\u4f18\u52bf<\/th>\n<th style=\"color: inherit;line-height: inherit;font-size: 1em;border-top-width: 1px;border-color: rgb(204, 204, 204);padding: 0.5em 1em;text-align: left;background-color: rgb(240, 240, 240);\" width=\"178\">\u52a3\u52bf<\/th>\n<\/tr>\n<\/thead>\n<tbody style=\"font-size: inherit;color: inherit;line-height: inherit;border-width: 0px;border-style: initial;border-color: initial;\">\n<tr style=\"font-size: inherit;color: inherit;line-height: inherit;border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;\">\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;word-break: break-all;\" width=\"56\">\u7eaf\u624b\u52a8<\/td>\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;\" width=\"243\">\u6295\u5165\u6210\u672c\u975e\u5e38\u4f4e\uff0c\u53ea\u9700\u8981\u4fdd\u8bc1\u5728\u6293\u53d6dump\u4e4b\u524d\u5728\u5bb9\u5668\u5185\u5b89\u88c5\u597ddump\u6293\u53d6\u7684\u5de5\u5177\u5373\u53ef\u3002<\/td>\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;\" width=\"188\">\u6548\u7387\u4f4e\u4e0b\uff0c\u96be\u4ee5\u6293\u53d6\u5230\u7b26\u5408\u9884\u671f\u7684dump\u3002<\/td>\n<\/tr>\n<tr style=\"font-size: inherit;color: inherit;line-height: inherit;border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: rgb(248, 248, 248);\">\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;word-break: break-all;\" width=\"4\">\u7eaf\u81ea\u52a8<\/td>\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;\" width=\"243\">\u6548\u7387\u9ad8\uff0c\u5728\u975e\u5f3a\u5236\u65ad\u7535\u7b49\u6781\u5176\u7279\u6b8a\u7684\u6761\u4ef6\u4e0b\u90fd\u80fd\u6ee1\u8db3\u5f00\u53d1\u8005\u6293\u53d6\u5230\u9884\u671f\u7684dump\u3002<\/td>\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;\" width=\"198\">\u6295\u5165\u6210\u672c\u5f88\u9ad8\uff0c\u5bf9\u5e94\u7528\u7684\u6e90\u7801\u6709\u4fb5\u5165\u6027\u3002<\/td>\n<\/tr>\n<tr style=\"font-size: inherit;color: inherit;line-height: inherit;border-width: 1px 0px 0px;border-right-style: initial;border-bottom-style: initial;border-left-style: initial;border-right-color: initial;border-bottom-color: initial;border-left-color: initial;border-top-style: solid;border-top-color: rgb(204, 204, 204);background-color: white;\">\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;word-break: break-all;\" width=\"4\">\u534a\u81ea\u52a8<\/td>\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;\" width=\"243\">\u5bf9\u4ee3\u7801\u65e0\u4fb5\u5165\u6027\uff0c\u5141\u8bb8\u6307\u5b9a\u6761\u4ef6\u6293\u53d6dump\u3002\u5728dockerfile\u5185\u5b89\u88c5\u597d\u6293\u53d6dump\u5de5\u5177\u6216\u63d0\u524d\u521b\u5efa\u4e00\u4e2a\u57fa\u7840\u955c\u50cf\uff0c\u5728\u8fd9\u4e2a\u955c\u50cf\u5185\u5b89\u88c5\u597d\u6240\u9700\u7684\u73af\u5883\u5373\u53ef\u3002<\/td>\n<td style=\"color: inherit;line-height: inherit;font-size: 1em;border-color: rgb(204, 204, 204);padding: 0.5em 1em;\" width=\"208\">1\u3001\u65e0\u6cd5\u5bf9\u7a0b\u5e8f\u5d29\u6e83\u65f6\u81ea\u52a8\u751f\u6210dump(\u7eaf\u81ea\u52a8\u65b9\u5f0f\u53ef\u4ee5\u5b9e\u73b0\uff0c\u76d1\u542c\u5d29\u6e83\u4e8b\u4ef6\u5373\u53ef)\uff0c\u9664\u975e\u9884\u8bbe\u7684\u6761\u4ef6\u540c\u65f6\u6ee1\u8db3\u4e86\u7a0b\u5e8f\u5d29\u6e83\u7684\u60c5\u51b5\uff1b<br  \/>2\u3001\u9700\u4e8b\u524d\u8bbe\u5b9adump\u6293\u53d6\u7684\u5148\u51b3\u6761\u4ef6\uff0c\u63d0\u9ad8\u4e86\u4f7f\u7528\u8005\u7684\u8981\u6c42;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u8003\u8651\u5230\u901a\u7528\u6027\u3001\u4fbf\u6377\u6027\u7684\u591a\u65b9\u4f4d\u6743\u8861\u4e0b\uff0c\u6211\u9009\u62e9\u4e86\u534a\u81ea\u52a8\u65b9\u5f0f\u3002\u8fd9\u79cd\u65b9\u5f0f\u4e0d\u9700\u8981\u5bf9\u6e90\u7801\u8fdb\u884c\u9002\u914d\uff0c\u540c\u65f6\u4e5f\u53ef\u4ee5\u901a\u8fc7\u8fd0\u7ef4\u624b\u6bb5\u5b9e\u73b0\u901a\u7528\u6027\u3002<\/span><\/p>\n<h3 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"font-size: inherit;line-height: inherit;display: inline-block;font-weight: normal;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u5b9e\u64cd<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid rgb(239, 235, 233);border-right: 20px solid transparent;\"> <\/span><\/h3>\n<h4 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;font-size: 1.2em;\"><span style=\"font-size: inherit;color: inherit;line-height: inherit;\">\u642d\u5efaprocdump\u73af\u5883<\/span><\/h4>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u6709\u4e86\u4e0a\u9762\u7684\u77e5\u8bc6\u50a8\u5907\uff0c\u73b0\u5728\u53ef\u4ee5\u5f00\u59cb\u8fdb\u5165\u5b9e\u64cd\u73af\u8282\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u6211\u540e\u7eed\u5b9e\u64cd\u8fc7\u7a0b\u5185\u4f7f\u7528\u7684\u8fdb\u7a0b\u662f\u4e00\u4e2a.NetCore3.1\u7684\u5e94\u7528\uff0c\u8be5\u5e94\u7528\u5df2\u7ecf\u5b9e\u73b0\u4e86\u5bb9\u5668\u5316\u7684\u90e8\u7f72\uff0c\u5f53\u7136\u5728\u5b9e\u64cd\u524d\u662f\u7f3a\u4e4fdump\u751f\u6210\u7684\u73af\u5883\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c31\u9488\u5bf9\u8fd9\u4e2a\u5e94\u7528\uff0c\u7ed9\u5b83\u5728\u5bb9\u5668\u73af\u5883\u4e0b\u5b9e\u73b0\u6709\u6761\u4ef6\u7684\u751f\u6210dump\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u9996\u5148\u770b\u4e0b\u6700\u521d\u7684Dockerfile<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#See&nbsp;https:\/\/aka.ms\/containerfastmode&nbsp;to&nbsp;understand&nbsp;how&nbsp;Visual&nbsp;Studio&nbsp;uses&nbsp;this&nbsp;Dockerfile&nbsp;to&nbsp;build&nbsp;your&nbsp;images&nbsp;for&nbsp;faster&nbsp;debugging.<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 2<\/span>FROM&nbsp;mcr.microsoft.com\/dotnet\/core\/aspnet:3.1-buster-slim<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 3<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 4<\/span>WORKDIR&nbsp;\/app<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 5<\/span>EXPOSE&nbsp;28300<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 6<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 7<\/span>ARG&nbsp;ASPNETCORE_ENV<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 8<\/span>RUN&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(78, 201, 176);overflow-wrap: inherit !important;word-break: inherit !important;\">echo<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"ASPNETCORE_ENVIRONMENT=<span style=\"line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$ASPNETCORE_ENV<\/span>\"<\/span>&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 9<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">10<\/span>ENV&nbsp;ASPNETCORE_ENVIRONMENT=<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$ASPNETCORE_ENV<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">11<\/span>ENV&nbsp;LANG&nbsp;C.UTF-8<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">12<\/span>ENV&nbsp;TZ=Asia\/Shanghai<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">13<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">14<\/span>COPY&nbsp;\/release&nbsp;.<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">15<\/span>ENTRYPOINT&nbsp;[<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"dotnet\"<\/span>,&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"tenant.api.dll\"<\/span>]<br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u6700\u521d\u7684Dockerfile\u53ef\u4ee5\u8bf4\u662f\u201c\u5e73\u5e73\u65e0\u5947\u201d,\u57fa\u7840\u955c\u50cf\u9009\u62e9\u7684\u662f<\/span><span style=\"font-size: inherit;background-color: rgb(248, 248, 248);color: rgb(248, 35, 117);font-family: monospace;text-align: start;\">mcr.microsoft.com\/dotnet\/core\/aspnet:3.1-bust<\/span><span style=\"font-size: inherit;background-color: rgb(248, 248, 248);color: rgb(248, 35, 117);font-family: monospace;text-align: start;\">er-slim<\/span><span style=\"color: inherit;font-size: 16px;\">\u8be5\u955c\u50cf\u7b97\u662f\u5fae\u8f6f\u5b98\u65b9\u63d0\u4f9b\u7684.NetCore3.1\u6700\u5c0f\u7684\u955c\u50cf\u4e86\uff0c\u4f53\u79ef\u662f208MB\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;color: inherit;\"><\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u8be5\u955c\u50cf\u780d\u6389\u4e86\u8bb8\u591aLinux\u5e38\u7528\u7684\u547d\u4ee4\uff0c\u66f4\u522b\u8bf4\u662fprocdump\u4e86\u3002\u6240\u4ee5\u4e3a\u4e86\u80fd\u5728\u5bb9\u5668\u5185\u62e5\u6709procdump\u547d\u4ee4\uff0c\u6211\u5c31\u60f3\u5230\u4e86\u5728Dockerfile\u5185\u5b89\u88c5procdump\u73af\u5883\u3002<\/span><span style=\"font-size: 16px;color: inherit;\">\u8fdb\u5165procdump\u7684install\u8bf4\u660e\u5f15\u5bfc\u9875\u9762\uff0c \u94fe\u63a5\u5982\u4e0b\uff1a<\/span><span style=\"color: inherit;font-size: 16px;\">https:\/\/gith<\/span><span style=\"color: inherit;font-size: 16px;\">ub.c<\/span><span style=\"color: inherit;font-size: 16px;\">om\/Sysinternals\/ProcDump-for-Linux\/blob\/master\/INSTALL.md&nbsp;<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;text-align: left;\"><span style=\"color: inherit;font-size: 16px;\">\u53ef\u4ee5\u770b\u5230procdump\u5728\u4e0d\u540cLinux\u7248\u672c\u4e2d\u7684\u5b89\u88c5\u8bf4\u660e\u3002<\/span><span style=\"color: inherit;font-size: 16px;\">\u9700\u8981\u767b\u5165\u5230\u57fa\u4e8e<\/span><span style=\"background-color: rgb(248, 248, 248);color: rgb(248, 35, 117);font-family: monospace;font-size: 16px;\"><span style=\"font-size: 15px;text-align: start;\">mcr.microsoft.com\/dotnet\/core\/aspnet:3.1-buster-slim<\/span><\/span><span style=\"color: inherit;font-size: 16px;\">\u955c\u50cf\u7684\u5bb9\u5668\u4e2d\u4f7f\u7528\u547d\u4ee4<\/span><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">cat \/etc\/issue<\/span><\/code><span style=\"color: inherit;font-size: 16px;\"> \u67e5\u770b\u5bb9\u5668\u5185\u7684\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\uff0c\u67e5\u8be2\u7684\u7ed3\u679c\u662f<\/span><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">Debian GNU\/Linux 10<\/span><\/code><span style=\"color: inherit;font-size: 16px;\"> \u3002<\/span><span style=\"color: inherit;font-size: 16px;\">\u6211\u4eec\u8fd8\u9700\u8981\u4e00\u4e2a\u811a\u672c\uff0c\u8be5\u811a\u672c\u901a\u8fc7procdump\u7684<\/span><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">-w<\/span><\/code><span style=\"color: inherit;font-size: 16px;\">\u53c2\u6570\u7279\u6027\uff0c\u53d1\u8d77\u4e00\u4e2a<span style=\"color: rgb(62, 62, 62);font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 2px;text-align: left;word-spacing: 2px;\">\u76d1\u542c<\/span>\uff0c\u8d1f\u8d23\u6293\u53d6\u6307\u5b9a\u5e94\u7528\u7684<span style=\"color: rgb(62, 62, 62);font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 2px;text-align: left;word-spacing: 2px;\">d<\/span><span style=\"color: rgb(62, 62, 62);font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 16px;letter-spacing: 2px;text-align: left;word-spacing: 2px;\">ump<\/span>\uff0c\u8be5<\/span><span style=\"font-size: 16px;color: inherit;text-align: justify;\">\u811a\u672c\u5982\u4e0b\uff1a<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(155, 155, 155);overflow-wrap: inherit !important;word-break: inherit !important;\">#!\/bin\/bash<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">2<\/span>mkdir&nbsp;\/dumps<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">3<\/span>procdump&nbsp;-M&nbsp;50&nbsp;-o&nbsp;\/dumps\/tenant-api.dump&nbsp;-w&nbsp;dotnet&nbsp;&amp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">4<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;\u542f\u52a8\u4f20\u5165\u7684\u5e94\u7528<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">5<\/span>dotnet&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$1<\/span><br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u63a5\u4e0b\u6765\uff0c\u53d8\u66f4Dockerfile\uff0c\u53d8\u66f4\u540e\u7684\u7ed3\u679c\u5982\u4e0b\uff1a<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#See&nbsp;https:\/\/aka.ms\/containerfastmode&nbsp;to&nbsp;understand&nbsp;how&nbsp;Visual&nbsp;Studio&nbsp;uses&nbsp;this&nbsp;Dockerfile&nbsp;to&nbsp;build&nbsp;your&nbsp;images&nbsp;for&nbsp;faster&nbsp;debugging.<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 2<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;linux\u7248\u672c=Debian&nbsp;10<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 3<\/span>FROM&nbsp;mcr.microsoft.com\/dotnet\/core\/aspnet:3.1-buster-slim<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 4<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 5<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;\u5b89\u88c5Procdump\u4f9d\u8d56<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 6<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;Register&nbsp;Microsoft&nbsp;key&nbsp;and&nbsp;feed&nbsp;&nbsp;\u53c2\u8003:https:\/\/github.com\/Sysinternals\/ProcDump-for-Linux\/blob\/master\/INSTALL.md<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 7<\/span>RUN&nbsp;apt-get&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">update<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 8<\/span>RUN&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;wget&nbsp;-y<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 9<\/span>RUN&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;gpg&nbsp;-y<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">10<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">11<\/span>RUN&nbsp;wget&nbsp;-qO-&nbsp;https:\/\/packages.microsoft.com\/<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">keys<\/span>\/microsoft.asc&nbsp;|&nbsp;gpg&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">--dearmor&nbsp;&gt;&nbsp;microsoft.asc.gpg&nbsp;<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">12<\/span>RUN&nbsp;mv&nbsp;microsoft.asc.gpg&nbsp;\/etc\/apt\/trusted.gpg.d\/<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">13<\/span>RUN&nbsp;wget&nbsp;-q&nbsp;https:\/\/packages.microsoft.com\/config\/debian\/<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">10<\/span>\/prod.list&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">14<\/span>RUN&nbsp;mv&nbsp;prod.list&nbsp;\/etc\/apt\/sources.list.d\/microsoft-prod.list&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">15<\/span>RUN&nbsp;chown&nbsp;root:root&nbsp;\/etc\/apt\/trusted.gpg.d\/microsoft.asc.gpg&nbsp;&amp;&amp;&nbsp;chown&nbsp;root:root&nbsp;\/etc\/apt\/sources.list.d\/microsoft-prod.list<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">16<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;Install&nbsp;Procdump<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">17<\/span>RUN&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">update<\/span>&nbsp;&nbsp;&amp;&amp;&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;apt-transport-https&nbsp;-y&nbsp;&amp;&amp;&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">update<\/span>&nbsp;&amp;&amp;&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;procdump&nbsp;-y<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">18<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">19<\/span>WORKDIR&nbsp;\/app<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">20<\/span>EXPOSE&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">28300<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">21<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">22<\/span>ARG&nbsp;ASPNETCORE_ENV<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">23<\/span>RUN&nbsp;echo&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"ASPNETCORE_ENVIRONMENT=$ASPNETCORE_ENV\"<\/span>&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">24<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">25<\/span>ENV&nbsp;ASPNETCORE_ENVIRONMENT=$ASPNETCORE_ENV<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">26<\/span>ENV&nbsp;LANG&nbsp;C.UTF<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">-8<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">27<\/span>ENV&nbsp;TZ=Asia\/Shanghai<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">28<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">29<\/span>COPY&nbsp;\/<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">release<\/span>&nbsp;.<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">30<\/span>RUN&nbsp;chmod&nbsp;+x&nbsp;.\/sh\/<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">start<\/span>-procdump.sh<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">31<\/span>ENTRYPOINT&nbsp;[<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\".\/sh\/start-procdump.sh\"<\/span>,&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"tenant.api.dll\"<\/span>]<br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u5f53\u7136\uff0c\u8fd8\u6709\u6211\u5728jenkins\u914d\u7f6e\u7684docker run\u811a\u672c<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(156, 220, 254);overflow-wrap: inherit !important;word-break: inherit !important;\">docker<\/span>&nbsp;run&nbsp;-d&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">2<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--name&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$SVR_NAME<\/span>&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">3<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--restart&nbsp;unless-stopped&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">4<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--net&nbsp;xx-net&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">5<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--ip&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"172.16.238.14\"<\/span>&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">6<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-e&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"ASPNETCORE_URLS=http:\/\/*:28300\"<\/span>&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">7<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-p&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">28300<\/span>:<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">28300<\/span>&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">8<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-v&nbsp;\/opt\/hy\/uat\/<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$SVR_NAME_FILE<\/span>\/dumps:\/dumps&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">9<\/span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$SVR_NAME<\/span>:<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$GITHASH<\/span><br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u4e0a\u9762\u811a\u672c\u4e2d\u7684\u53d8\u91cf\u65e0\u9700\u5728\u610f\uff0c\u61c2\u610f\u601d\u5373\u53ef\u3002\u7ec6\u5fc3\u7684\u89c2\u5bdf\u53ef\u4ee5\u53d1\u73b0 -v\u53c2\u6570\u540e\u9762\u662f\u5c06\u5bb9\u5668\u5185\u7684dump\u5b58\u653e\u76ee\u5f55\u4e0e\u5bbf\u4e3b\u673a\u7684<\/span><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">\/opt\/hy\/uat\/$SVR_NAME_FILE<\/span><\/code><span style=\"font-size: 16px;\"> \u8fdb\u884c\u4e86\u6620\u5c04\uff0c\u8fd9\u6837\u53ef\u4ee5\u5bf9\u5bb9\u5668\u5185\u751f\u6210\u7684dump\u8fdb\u884c\u6301\u4e45\u5316\u5b58\u50a8\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">ok~\u4e00\u987f\u64cd\u4f5c\u4e86\uff0c\u770b\u4e0b\u6700\u7ec8\u7684\u6210\u6548\u5427\u3002\u767b\u5165\u5230\u521b\u5efa\u7684docker\u5bb9\u5668\u540e\uff0c\u5148\u68c0\u67e5procdump\u662f\u5426\u5b89\u88c5\u6210\u529f\u3002<br  \/>\u6267\u884c<\/span><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">procdump -h<\/span><\/code><span style=\"font-size: 16px;\"> \u547d\u4ee4\uff0c\u51fa\u73b0\u5982\u4e0b\u7ed3\u679c\u8868\u793aprocdump\u5df2\u7ecf\u5b89\u88c5\u6210\u529f\u3002<\/span><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-backh=\"255\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.44145077720207254\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"965\" style=\"width: 100%;height: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004956603.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-backh=\"255\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.44145077720207254\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"965\" style=\"width: 100%;height: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004956603.jpeg\"><\/noscript><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u518d\u8bd5\u4e0b\u624b\u52a8\u751f\u6210\u4e00\u4e2adump\u6587\u4ef6\uff0c\u6267\u884cprocdump -p 9 \u8fd9\u91cc\u76849\u662f\u5728\u8fd0\u884c\u7684dotnet\u8fdb\u7a0b\u3002\u53ef\u662f\u8fd9\u6b21\u6267\u884c\u7ed3\u679c\u5374\u610f\u5916\u51fa\u73b0\u4e86error\u3002<\/span><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-backh=\"326\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.5650224215246636\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"669\" style=\"width: 100%;height: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004957329.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-backh=\"326\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.5650224215246636\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"669\" style=\"width: 100%;height: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004957329.jpeg\"  \/><\/noscript><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u8fd9\u79cd\u611f\u89c9\u5c31\u597d\u6bd4\u4e07\u91cc\u957f\u57ce\u5efa\u8bbe\u5230\u6700\u540e\u53d1\u73b0\u5c11\u4e86\u4e24\u5757\u7816\u4e00\u6837\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u6211\u81ea\u7136\u4e0d\u80fd\u653e\u5f03\uff0c\u4e00\u987f\u64cd\u4f5c\u8fc7\u540e\u8fd8\u662f\u6ca1\u641e\u5b9a\u3002\u6700\u7ec8\u5403\u4e86\u665a\u996d\uff0c\u665a\u996d\u8fc7\u540e\u5ffd\u7136\u7075\u5149\u4e00\u95ea\uff0c\u6211\u7279\u4e48\u7684<\/span><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">docker run<\/span><\/code><span style=\"font-size: 16px;\">\u547d\u4ee4\u6ca1\u6709\u52a0root\u6743\u9650\u3002\u8d76\u5fd9\u5728\u539f\u6709\u7684\u811a\u672c\u4e0a\u52a0\u4e0a\u4e86<\/span><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">--privileged=true<\/span><\/code><span style=\"font-size: 16px;\">\u53c2\u6570\u3002<\/span><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u5c1d\u8bd5\u4e0b\u53d1\u73b0\u641e\u5b9a\u4e86\uff0c\u4e8b\u5b9e\u8bc1\u660e\u6709\u96be\u4ee5\u903e\u8d8a\u7684bug\u7684\u65f6\u5019\uff0c\u505c\u4e0b\u6765\u5403\u70b9\u4e1c\u897f\u559d\u70b9\u996e\u6599\uff0c\u7075\u611f\u4f1a\u5728\u4f60\u6700\u653e\u677e\u65f6\u5019\u5230\u6765~<\/span><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-backh=\"308\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.5324675324675324\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"693\" style=\"width: 100%;height: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004958164.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-backh=\"308\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.5324675324675324\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"693\" style=\"width: 100%;height: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004958164.jpeg\"  \/><\/noscript><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u4f60\u4ee5\u4e3a\u8fd9\u5c31\u5b8c\u4e86\uff1f\uff1f<br  \/>no\uff01\u8fd9\u79cd\u65b9\u5f0f\u6709\u4e00\u4e2a\u5f88\u5927\u7684\u5f0a\u7aef\uff0c\u4e00\u4e2a\u5f00\u53d1\u8005\u4e0d\u80fd\u5bb9\u5fcd\u7684\u5f0a\u7aef\u3002\u5c31\u662f\u5728\u6784\u5efa\u5bb9\u5668\u65f6\u5019\u901f\u5ea6\u592a\u6162\u4e86\u3002<br  \/>\u539f\u6765\u7684Dockerfile\u6839\u672c\u4e0d\u9700\u8981\u5b89\u88c5\u592a\u591a\u82b1\u91cc\u80e1\u54e8\u7684\u73af\u5883\uff0c\u73b0\u5728\u653e\u5230Dockerfile\u5185\u5bfc\u81f4\u6784\u5efa\u901f\u5ea6\u582a\u5fe7\u3002<br  \/>\u89e3\u51b3\u601d\u8def\u5176\u5b9e\u4e0a\u9762\u4e5f\u8bf4\u4e86\uff0c\u76f4\u63a5\u6784\u5efa\u4e00\u4e2a\u57fa\u7840\u955c\u50cf\uff0c\u540e\u7eed\u7684\u5e94\u7528\u5728\u6b64\u57fa\u7840\u955c\u50cf\u4e0a\u6784\u5efa\u3002<br  \/>\u8fd9\u662f\u57fa\u7840\u7684\u955c\u50cf\uff1a<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;\u521b\u5efadotnetcore3.1\u7684\u955c\u50cf,\u8be5\u955c\u50cf\u643a\u5e26\u4e86ProcDump<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 2<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;linux\u7248\u672c=Debian&nbsp;10<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 3<\/span>FROM&nbsp;mcr.microsoft.com\/dotnet\/core\/aspnet:3.1-buster-slim<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 4<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;\u5b89\u88c5Procdump\u4f9d\u8d56<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 5<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;Register&nbsp;Microsoft&nbsp;key&nbsp;and&nbsp;feed&nbsp;&nbsp;\u53c2\u8003:https:\/\/github.com\/Sysinternals\/ProcDump-for-Linux\/blob\/master\/INSTALL.md<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 6<\/span>RUN&nbsp;apt-get&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">update<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 7<\/span>RUN&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;wget&nbsp;-y<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 8<\/span>RUN&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;gpg&nbsp;-y&nbsp;&amp;&amp;&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;procps&nbsp;-y<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 9<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">10<\/span>RUN&nbsp;wget&nbsp;-qO-&nbsp;https:\/\/packages.microsoft.com\/<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">keys<\/span>\/microsoft.asc&nbsp;|&nbsp;gpg&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">--dearmor&nbsp;&gt;&nbsp;microsoft.asc.gpg&nbsp;<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">11<\/span>RUN&nbsp;mv&nbsp;microsoft.asc.gpg&nbsp;\/etc\/apt\/trusted.gpg.d\/<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">12<\/span>RUN&nbsp;wget&nbsp;-q&nbsp;https:\/\/packages.microsoft.com\/config\/debian\/<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">10<\/span>\/prod.list&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">13<\/span>RUN&nbsp;mv&nbsp;prod.list&nbsp;\/etc\/apt\/sources.list.d\/microsoft-prod.list&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">14<\/span>RUN&nbsp;chown&nbsp;root:root&nbsp;\/etc\/apt\/trusted.gpg.d\/microsoft.asc.gpg&nbsp;&amp;&amp;&nbsp;chown&nbsp;root:root&nbsp;\/etc\/apt\/sources.list.d\/microsoft-prod.list<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">15<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;Install&nbsp;Procdump<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">16<\/span>RUN&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">update<\/span>&nbsp;&nbsp;&amp;&amp;&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;apt-transport-https&nbsp;-y&nbsp;&amp;&amp;&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">update<\/span>&nbsp;&amp;&amp;&nbsp;apt-<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">get<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(86, 156, 214);overflow-wrap: inherit !important;word-break: inherit !important;\">install<\/span>&nbsp;procdump&nbsp;-y<br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u5728\u4e0a\u9762Dockerfile\u7684\u76ee\u5f55\u4e0b\u6267\u884c\u6b64\u547d\u4ee4\uff0c\u672c\u5730build\u4e00\u4e2a\u955c\u50cf<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(215, 186, 125);overflow-wrap: inherit !important;word-break: inherit !important;\">docker<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(215, 186, 125);overflow-wrap: inherit !important;word-break: inherit !important;\">build<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(215, 186, 125);overflow-wrap: inherit !important;word-break: inherit !important;\">-t<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(215, 186, 125);overflow-wrap: inherit !important;word-break: inherit !important;\">aspnet-custom:3.1<\/span>&nbsp;.<br  \/><\/code><\/pre>\n<p style=\"text-align: center;\"><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-backh=\"45\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.07749077490774908\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"813\" style=\"width: 100%;height: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004959795.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-backh=\"45\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.07749077490774908\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"813\" style=\"width: 100%;height: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004959795.jpeg\"  \/><\/noscript><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u53ef\u4ee5\u770b\u5230\uff0c\u751f\u6210\u7684\u955c\u50cf\u5927\u5c0f\u662f302MB\u3002\u8fd9\u4e2a\u5927\u5c0f\u8fd8\u53ef\u4ee5\u63a5\u53d7~<\/span><br  \/><\/p>\n<h3 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"font-size: inherit;line-height: inherit;display: inline-block;font-weight: normal;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u4e0a\u4f20\u57fa\u7840\u955c\u50cf\u81f3\u963f\u91cc\u4e91\u79c1\u4eba\u4ed3\u5e93<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid rgb(239, 235, 233);border-right: 20px solid transparent;\"> <\/span><\/h3>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u4e3a\u4e86\u66f4\u597d\u7684\u4eab\u7528\u8fd9\u4e2a\u955c\u50cf\uff0c\u6211\u5c06\u5b83\u63a8\u9001\u5230\u963f\u91cc\u4e91\u7684\u79c1\u4eba\u955c\u50cf\u4ed3\u5e93\u5185\u3002<br  \/>\u7b2c\u4e00\u6b21\u8fde\u63a5\u963f\u91cc\u4e91\u955c\u50cf\u4ed3\u5e93\u9700\u8981\u624b\u52a8\u6267\u884c\u767b\u9646\u547d\u4ee4\u3002<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(156, 220, 254);overflow-wrap: inherit !important;word-break: inherit !important;\">docker<\/span>&nbsp;login&nbsp;--username=xxxx<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">@qq<\/span>.com&nbsp;registry.cn-hangzhou.aliyuncs.com<br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u7136\u540e\uff0c\u7ed9\u9700\u8981\u63a8\u9001\u5230\u963f\u91cc\u4e91\u7684\u955c\u50cf\u518d\u6dfb\u52a0tag\uff0c\u8fd9\u4e2atag\u6700\u597d\u662f\u5177\u5907\u955c\u50cf\u672c\u8eab\u7684\u542b\u4e49\u4e0e\u7248\u672c\u4fe1\u606f\uff0c\u56e0\u4e3a\u963f\u91cc\u4e91\u7684\u955c\u50cf\u5217\u8868\u9875\u9762\u6ca1\u6709\u4e00\u4e2a\u5b57\u6bb5\u53ef\u4ee5\u5bf9\u955c\u50cf\u8fdb\u884c\u5907\u6ce8\u8bf4\u660e\u7684\u3002\u540e\u7eed\u901a\u8fc7tag\u5b57\u6bb5\u80fd\u4e00\u773cget\u5230\u8be5\u955c\u50cf\u7684\u4fe1\u606f\u6700\u597d\u3002<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(156, 220, 254);overflow-wrap: inherit !important;word-break: inherit !important;\">docker<\/span>&nbsp;tag&nbsp;f0eb4f26d82f&nbsp;registry.cn-hangzhou.aliyuncs.com\/xxx\/private_hub:aspnet3.<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span>-custom<br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u4e0a\u4f20\u955c\u50cf\u7684\u6700\u540e\u4e00\u6b65\u5c31\u662fpush\u4e86<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(156, 220, 254);overflow-wrap: inherit !important;word-break: inherit !important;\">docker<\/span>&nbsp;push&nbsp;registry.cn-hangzhou.aliyuncs.com\/xxx\/private_hub:aspnet3.<span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span>-custom<br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u767b\u9646\u5230\u963f\u91cc\u4e91\u5bb9\u5668\u955c\u50cf\u4ed3\u5e93\u670d\u52a1\u9875\u9762\uff0c\u70b9\u51fb\u3010\u955c\u50cf\u7248\u672c\u3011\u83dc\u5355\u53ef\u4ee5\u67e5\u9605\u5230\u6211\u5df2\u4e0a\u4f20\u7684\u955c\u50cf\u4fe1\u606f\u3002\u53ef\u4ee5\u53d1\u73b0\u4e0a\u4f20\u540e\u7684\u955c\u50cf\u53cd\u800c\u53d8\u5c0f\u4e86\u5462\uff0c\u6211\u60f3\u5e94\u8be5\u662f\u963f\u91cc\u4e91\u5bf9\u5176\u8fdb\u884c\u4e86\u538b\u7f29\u5bfc\u81f4\u7684\u3002<\/span><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-backh=\"100\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.17222222222222222\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"1080\" style=\"width: 100%;height: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005000820.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-backh=\"100\" data-backw=\"578\" data-galleryid=\"\" data-ratio=\"0.17222222222222222\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"1080\" style=\"width: 100%;height: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005000820.jpeg\"  \/><\/noscript><\/p>\n<h3 style=\"color: inherit;line-height: inherit;margin-top: 1.6em;margin-bottom: 1.6em;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"font-size: inherit;line-height: inherit;display: inline-block;font-weight: normal;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u6700\u7ec8\u6548\u679c<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid rgb(239, 235, 233);border-right: 20px solid transparent;\"> <\/span><\/h3>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u6700\u7ec8\u6211\u53d8\u66f4\u4e86\u5e94\u7528\u7684Dockerfile\uff0c\u5c06\u57fa\u7840\u955c\u50cf\u8bbe\u7f6e\u4e3a\u5df2\u4e0a\u4f20\u7684\u963f\u91cc\u4e91\u955c\u50cf\uff0c\u79fb\u9664\u4e86procdump\u4f9d\u8d56\u3002<br  \/>\u5e94\u7528\u7684Dockerfile\u5982\u4e0b\uff1a<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 1<\/span>FROM&nbsp;registry.cn-hangzhou.aliyuncs.com\/xxxx\/private_hub:aspnet3.1-custom<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 2<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 3<\/span>WORKDIR&nbsp;\/app<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 4<\/span>EXPOSE&nbsp;28300<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 5<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 6<\/span>ARG&nbsp;ASPNETCORE_ENV<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 7<\/span>RUN&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(78, 201, 176);overflow-wrap: inherit !important;word-break: inherit !important;\">echo<\/span>&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"ASPNETCORE_ENVIRONMENT=<span style=\"line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$ASPNETCORE_ENV<\/span>\"<\/span>&nbsp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 8<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\"> 9<\/span>ENV&nbsp;ASPNETCORE_ENVIRONMENT=<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$ASPNETCORE_ENV<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">10<\/span>ENV&nbsp;LANG&nbsp;C.UTF-8<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">11<\/span>ENV&nbsp;TZ=Asia\/Shanghai<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">12<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">13<\/span>COPY&nbsp;\/release&nbsp;.<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">14<\/span>RUN&nbsp;chmod&nbsp;+x&nbsp;.\/sh\/start-procdump.sh<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">15<\/span>ENTRYPOINT&nbsp;[<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\".\/sh\/start-procdump.sh\"<\/span>,&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(214, 157, 133);overflow-wrap: inherit !important;word-break: inherit !important;\">\"tenant.api.dll\"<\/span>]<br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><code style=\"font-size: inherit;line-height: inherit;overflow-wrap: break-word;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;color: rgb(248, 35, 117);background: rgb(248, 248, 248);\"><span style=\"font-size: 16px;\">start-procdump.sh<\/span><\/code><span style=\"font-size: 16px;\">\u811a\u672c\u5982\u4e0b<\/span><\/p>\n<pre style=\"font-size: inherit;color: inherit;line-height: inherit;\"><code style=\"margin-right: 2px;margin-left: 2px;line-height: 18px;font-size: 14px;word-spacing: 0px;letter-spacing: 0px;font-family: Consolas, Inconsolata, Courier, monospace;border-radius: 0px;padding: 0.5em;background: rgb(30, 30, 30);color: rgb(220, 220, 220);overflow-wrap: normal !important;word-break: normal !important;overflow: auto !important;display: -webkit-box !important;\"><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">1<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(155, 155, 155);overflow-wrap: inherit !important;word-break: inherit !important;\">#!\/bin\/bash<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">2<\/span>mkdir&nbsp;\/dumps<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">3<\/span>procdump&nbsp;-M&nbsp;50&nbsp;-o&nbsp;\/dumps\/tenant-api.dump&nbsp;-w&nbsp;dotnet&nbsp;&amp;<br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">4<\/span><span style=\"font-size: inherit;line-height: inherit;color: rgb(87, 166, 74);font-style: italic;overflow-wrap: inherit !important;word-break: inherit !important;\">#&nbsp;\u542f\u52a8\u4f20\u5165\u7684\u5e94\u7528<\/span><br  \/><span style=\"font-size: inherit;line-height: inherit;color: rgb(184, 215, 163);padding-right: 20px;overflow-wrap: inherit !important;word-break: inherit !important;\">5<\/span>dotnet&nbsp;<span style=\"font-size: inherit;line-height: inherit;color: rgb(189, 99, 197);overflow-wrap: inherit !important;word-break: inherit !important;\">$1<\/span><br  \/><\/code><\/pre>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">jenkins\u53d1\u5e03\u5e94\u7528\u7684docker\u5bb9\u5668\u540e\uff0c\u6211\u5230dump\u6587\u4ef6\u6620\u5c04\u5730\u5740\u4e0a\u627e\u5230\u4e86\u7531procdump\u81ea\u52a8\u521b\u5efa\u7684dump\u6587\u4ef6\uff1a<\/span><br  \/><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-backh=\"152\" data-backw=\"542\" data-galleryid=\"\" data-ratio=\"0.2809611829944547\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"541\" style=\"width: 100%;height: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005001639.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-backh=\"152\" data-backw=\"542\" data-galleryid=\"\" data-ratio=\"0.2809611829944547\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"541\" style=\"width: 100%;height: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005001639.jpeg\"  \/><\/noscript><\/p>\n<p style=\"font-size: inherit;color: inherit;line-height: inherit;margin-top: 1.7em;margin-bottom: 1.7em;\"><span style=\"font-size: 16px;\">\u81f3\u6b64\u5b8c\u7f8e\u7684\u5b9e\u73b0\u4e86\u6211\u7684\u9700\u6c42\uff0c\u552f\u4e00\u8fd8\u9700\u8981\u6ce8\u610f\u7684\u5c31\u662f\u5fc5\u987b\u5148\u5728\u5e94\u7528\u90e8\u7f72\u7684\u670d\u52a1\u5668\u4e0a\u767b\u9646\u963f\u91cc\u4e91\u7684\u955c\u50cf\u4ed3\u5e93\u3002\u540e\u7eed\uff0c\u53ea\u9700\u8981\u9759\u9759\u7684\u7b49\u5f85\u751f\u6210\u51fa\u6765\u7684dump\uff0c\u9488\u5bf9\u6027\u7684\u8fed\u4ee3\u5e94\u7528\uff0c\u589e\u5f3a\u5e94\u7528\u7684\u7a33\u5b9a\u6027\u3002<\/span><\/p>\n<\/section>\n<p><br  \/><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u7801\u519c\u8bf4\u4e00\u8bf4              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>Docker\u5bb9\u5668\u5185\u4f7f\u7528ProcDump for linux \u81ea\u52a8\u521b\u5efadump \u80cc\u666f\u4ecb\u7ecd dump dump\u53c8\u540d\u8f6c\u50a8\uff0c \u5bf9\u4e8e\u5f00\u53d1\u8005\u800c &#8230;<\/p>\n","protected":false},"author":1,"featured_media":362,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-370","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004940299-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004942585.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004940299-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004940299-1024x435.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004942585.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004940299-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004940299-1024x435.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004940299.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004942585.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004942585.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004956603.jpeg","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004956603.jpeg","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004957329.jpeg","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004957329.jpeg","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004958164.jpeg","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004958164.jpeg","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004959795.jpeg","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528004959795.jpeg","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005000820.jpeg","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005000820.jpeg","id":"image11"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005001639.jpeg","id":"image12"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230528005001639.jpeg","id":"image13"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Linux","post_date":"2021-10-01","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":333,"next_post_id":30,"next_post_title":"centos7\u5f00\u653e\u53ca\u67e5\u770b\u7aef\u53e3","previous_post_id":null,"previous_post_title":null,"_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=370"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/370\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/362"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}