{"id":245131,"date":"2022-04-05T18:16:04","date_gmt":"2022-04-05T10:16:04","guid":{"rendered":"https:\/\/www.idc.net\/help\/245131\/"},"modified":"2022-04-05T18:16:04","modified_gmt":"2022-04-05T10:16:04","slug":"%e8%bf%87%e4%ba%86%e4%b8%80%e6%8a%8a%e5%8c%ba%e5%9d%97%e9%93%be%e7%9a%84%e7%98%be%ef%bc%81%e5%b8%a6%e4%bd%a0%e4%ba%86%e8%a7%a3%e4%b8%80%e4%b8%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/245131\/","title":{"rendered":"\u8fc7\u4e86\u4e00\u628a\u533a\u5757\u94fe\u7684\u763e\uff01\u5e26\u4f60\u4e86\u89e3\u4e00\u4e0b\uff01"},"content":{"rendered":"<p style=\"text-align: center\">\n<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u6556\u4e19\u3002<\/p>\n<p>\u5728\u5f88\u65e9\u4ee5\u524d\uff0c\u4e00\u4e2a\u7f51\u7ad9\u8fd8\u53ea\u5bf9\u5e94\u7740\u4e00\u4e2a\u6570\u636e\u5e93\uff0c\u6240\u6709\u7684\u6570\u636e\u90fd\u4ee5\u4e00\u5b9a\u89c4\u5219\u5b58\u50a8\u5728\u67d0\u53f0\u670d\u52a1\u5668\u4e0a\u3002\u5047\u8bbe\u8fd9\u53f0\u5b58\u50a8\u6570\u636e\u7684\u670d\u52a1\u5668\u5b95\u673a\u4e86\u5e76\u4e14\u6570\u636e\u8fd8\u6ca1\u6709\u8fdb\u884c\u5907\u4efd\uff0c\u90a3\u4e48\u7ed3\u5c40\u4f60\u61c2\u7684\u3002\u3002<\/p>\n<p>\u4eba\u4eec\u610f\u8bc6\u5230\u4e86\u8981\u5c06\u6570\u636e\u6216\u8005\u6d41\u91cf\u5206\u5e03\u5728\u4e0d\u540c\u7684\u8282\u70b9\u4e0a\u4ee5\u9632\u6b62\u7a81\u53d1\u60c5\u51b5\u2014\u2014\u5206\u5e03\u5f0f\u6280\u672f\u8bde\u751f\u4e86\u3002\u4f46\u5c3d\u7ba1\u5982\u6b64\uff0c\u5206\u5e03\u5f0f\u6280\u672f\u4e5f\u540c\u6837\u4f1a\u5e26\u6765\u4e9b\u8bb8\u95ee\u9898\uff0c\u6bd4\u5982\u591a\u8282\u70b9\u6570\u636e\u540c\u6b65\u3001\u4ee5\u53ca\u8282\u70b9\u6743\u9650\u7b49\u95ee\u9898\u3002<\/p>\n<p>\u540e\u6765\u4eba\u4eec\u601d\u8003\uff0c\u662f\u5426\u53ef\u4ee5\u5728\u5206\u5e03\u5f0f\u7684\u601d\u60f3\u57fa\u7840\u4e0a\u505a\u5230\u6743\u9650\u7edf\u4e00\u3001\u5171\u540c\u7ef4\u62a4\u7684\u7279\u70b9\uff1f\u5c31\u50cf\u662f\u6bcf\u4e2a\u4eba\u624b\u63e1\u4e00\u4efd\u201d\u8d26\u672c\u201c\uff0c\u6240\u6709\u4eba\u90fd\u80fd\u770b\u5230\u76f8\u540c\u7684\u8bb0\u5f55\uff0c\u7136\u540e\u518d\u7edf\u4e00\u5730\u6821\u9a8c\u6570\u636e\u5462\uff1f<\/p>\n<p>\u4e8e\u662f\u300c\u5206\u5e03\u5f0f\u8d26\u672c\u300d\u88ab\u63d0\u5021\u4e86\u51fa\u6765\u3002\u79c9\u7740\u201d\u516c\u5f00\u900f\u660e\u201c\u3001\u201d\u4e0d\u53ef\u4f2a\u9020\u201c\u3001\u201d\u4e0d\u53ef\u7be1\u6539\u201c\u7684\u7279\u70b9\uff0c\u5b83\u6210\u4e3a\u4e86\u533a\u5757\u94fe\u7684\u6838\u5fc3\uff0c\u8ba9\u533a\u5757\u94fe\u8fc5\u901f\u8fdb\u5165\u4e86\u4eba\u4eec\u7684\u89c6\u91ce\u3002<\/p>\n<h3>\u4ec0\u4e48\u662f\u533a\u5757\u94fe\uff1f<\/h3>\n<p>6\u6708\u5e95\uff0c\u6211\u53c2\u52a0\u4e86\u9996\u5c4atechoday\u817e\u8baf\u6280\u672f\u5f00\u653e\u65e5\u7684\u6d3b\u52a8\uff0c\u4e86\u89e3\u4e86\u533a\u5757\u94fe\u7684\u6280\u672f\u80cc\u666f\u548c\u5e02\u573a\u4ef7\u503c\uff0c\u6211\u51b3\u5b9a\u8ddf\u5927\u5bb6\u5206\u4eab\u4e00\u4e0b\u3002<\/p>\n<p>\u4f7f\u7528\u533a\u5757\u94fe\u6280\u672f\u4f60\u53ef\u4ee5\u77e5\u9053\u4e00\u6b3e\u4ea7\u54c1\u4ece\u751f\u4ea7\u5230\u6d41\u901a\u73af\u8282\u7684\u5168\u8fc7\u7a0b\uff1b\u4f5c\u4e3a\u8fd1\u5e74\u6765\u8d8b\u4e8e\u6210\u719f\u7684\u6280\u672f\uff0c\u5b83\u88ab\u7528\u4e8e\u652f\u4ed8\u3001\u4ea7\u54c1\u68c0\u9a8c\u7b49\u4f17\u591a\u9886\u57df\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u7406\u89e3\u4e3a\u5b83\u662f\u7531\u201c\u533a\u5757\u201d + \u201c\u94fe\u201d\u7ec4\u6210\uff0c\u8fd9\u6761\u94fe\u63a5\u4e32\u8054\u8d77\u4e86\u4e00\u4e2a\u4e2a\u533a\u5757\u3002\u5373\u4f7f\u5206\u5e03\u5f62\u5f0f\u4e0a\u548c\u4f20\u7edf\u6570\u636e\u5e93\u6709\u6240\u4e0d\u540c\uff0c\u5176\u672c\u8d28\u529f\u80fd\u4e5f\u662f\u7528\u4e8e\u627f\u8f7d\u4fe1\u606f\u6d41\uff0c\u6bcf\u4e00\u6761\u4fe1\u606f\u6d41\u90fd\u662f\u4ee5\u6570\u636e\u8bb0\u5f55\u4e3a\u57fa\u672c\u5355\u4f4d\u6765\u5b58\u50a8\u7684\u3002\u533a\u5757\u548c\u533a\u5757\u4e4b\u95f4\u901a\u8fc7\u5e7f\u64ad\u7684\u65b9\u5f0f\u8fdb\u884c\u901a\u4fe1\uff0c\u90a3\u4e48\u901a\u4fe1\u7684\u76ee\u7684\u53c8\u662f\u4ec0\u4e48\u5462\uff1f\u6ca1\u9519\uff0c\u4e00\u5207\u90fd\u662f\u4e3a\u4e86\u4ea4\u6613\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u6574\u4e2a\u533a\u5757\u94fe\u5176\u5b9e\u90fd\u662f\u4e00\u4e2a\u4e0d\u65ad\u5b9e\u65f6\u540c\u6b65\u7684\u5206\u5e03\u5f0f\u8d26\u672c\uff0c\u6bcf\u4e2a\u533a\u5757\u8282\u70b9\u76f8\u5f53\u4e8e\u4e00\u4e2a\u8d26\u672c\u3002\u5728\u8fd9\u4e2a\u8d26\u672c\u4e0a\uff0c\u6bcf\u4e00\u4e2a\u52a8\u4f5c\u90fd\u53ef\u4ee5\u7b97\u4f5c\u4e00\u7b14\u201c\u4ea4\u6613\u201d\uff0c\u8fd9\u6837\u4e00\u7b14\u7b14\u7684\u4ea4\u6613\u6784\u6210\u4e86\u533a\u5757\u94fe\u7684\u5168\u90e8\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u6211\u4eec\u4e0a\u9762\u8bf4\u4e86\u533a\u5757\u94fe\u5b58\u50a8\u7684\u57fa\u672c\u5355\u4f4d\u662f\u6570\u5b57\u8bb0\u5f55\uff0c\u6240\u4ee5\u4f60\u53ef\u4ee5\u7406\u89e3\u201d\u4ea4\u6613\u201c\u7684\u8fc7\u7a0b\u5c31\u662f\u4e00\u7b14\u7b14\u6570\u5b57\u88ab\u8bb0\u5f55\u7684\u8fc7\u7a0b\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u77e5\u9053\u4e86\u4ea4\u6613\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u53e6\u5916\u51e0\u4e2a\u672f\u8bed\uff1a<\/p>\n<h4>\u4e0a\u94fe<\/h4>\n<p>\u56e0\u4e3a\u533a\u5757\u94fe\u662f\u7531\u4e00\u4e2a\u4e2a\u8d26\u672c\u8fde\u63a5\u8d77\u6765\u7684\u533a\u5757\u94fe\u63a5\u3002\u6240\u4ee5\u60f3\u8981\u52a0\u5165\u5230\u8fd9\u6761\u94fe\u4e2d\u5c31\u9700\u8981\u4e0a\u94fe\u767b\u8bb0\uff0c\u8fd9\u662f\u4f7f\u7528\u533a\u5757\u94fe\u91cd\u8981\u7684\u4e00\u6b65\u3002<\/p>\n<p>\u901a\u8fc7\u4e0a\u94fe\u5c31\u53ef\u4ee5\u5c06\u6211\u4eec\u5c40\u57df\u5b9e\u73b0\u7684\u201c\u8d26\u672c\u201d\u5171\u4eab\u5230\u533a\u5757\u94fe\u3002\u6bd4\u5982\u60f3\u53d1\u6325\u4f60\u9879\u76ee\u7684\u4f18\u52bf\u8ba9\u66f4\u591a\u4eba\u8ba4\u8bc6\u4f60\u7684\u4e1a\u52a1\uff0c\u53ea\u9700\u8981\u5c06\u5b83\u8fdb\u884c\u4e0a\u94fe\uff0c\u533a\u5757\u94fe\u4f1a\u5c06\u4f60\u505a\u7684\u4e8b\u60c5\u90fd\u8bb0\u5f55\u4e0b\u6765\u5e76\u4e14\u5e7f\u64ad\u7ed9\u5176\u4ed6\u4eba\u3002\u8fd9\u4e2a\u8bb0\u5f55\u662f\u516c\u5f00\u900f\u660e\u7684\uff0c\u4f1a\u4f34\u968f\u7740\u8fd9\u6761\u94fe\u6c38\u4e45\u5b58\u5728\u3002<\/p>\n<p>\u90a3\u6211\u4eec\u8981\u5982\u4f55\u521b\u9020\u4e00\u6761\u8bb0\u5f55\u5462\uff1f<\/p>\n<h4>\u54c8\u5e0c\u7b97\u6cd5<\/h4>\n<p>\u6211\u4eec\u4e0a\u94fe\u7684\u6bcf\u4e00\u6761\u8bb0\u5f55\u5fc5\u987b\u662f\u7cfb\u7edf\u8ba4\u53ef\u4e14\u5b9e\u9645\u53d1\u751f\u8fc7\u7684\u5b58\u5728\uff0c\u6240\u4ee5\u5c31\u9700\u8981\u4f7f\u7528\u5230\u54c8\u5e0c\u52a0\u5bc6\u3002\u54c8\u5e0c\u7b97\u6cd5\u60f3\u5fc5\u5927\u5bb6\u90fd\u719f\u3002\u4ee5MD5\u7b97\u6cd5\u4e3a\u4f8b\uff0c\u4efb\u4f55\u4e00\u4e32\u5b57\u7b26\u4f7f\u7528\u5b83\u52a0\u5bc6\u540e\u90fd\u4f1a\u5f97\u5230\u4e00\u4e32\u72ec\u4e00\u65e0\u4e8c\u7684\u6563\u5217\u503c\uff0c\u53ea\u8981\u539f\u8f93\u5165\u6709\u4efb\u4f55\u6539\u52a8\u7ecf\u8fc7\u54c8\u5e0c\u52a0\u5bc6\u540e\u7684\u6570\u5b57\u5c31\u4f1a\u5b8c\u5168\u4e0d\u540c\u3002\u6240\u4ee5\u4f7f\u7528\u533a\u5757\u94fe\u4e4b\u540e\u4efb\u4f55\u4fe1\u606f\u90fd\u65e0\u6cd5\u66f4\u6539\uff0c\u5373\u4fbf\u4f60\u662f\u7cfb\u7edf\u7ba1\u7406\u5458\u3002\u8fd9\u5c31\u4fdd\u8bc1\u4e86\u4fe1\u606f\u7684\u5b89\u5168\u900f\u660e\u3002<\/p>\n<p style=\"text-align: center\">\n<h4>\u667a\u80fd\u5408\u7ea6<\/h4>\n<p>\u5565\u662f\u5408\u7ea6\u561e\uff1f\u4e3e\u4e00\u4e2a\u751f\u6d3b\u4e2d\u7684\u6817\u5b50\uff0c\u5047\u5982\u4f60\u5f80\u81ea\u52a8\u552e\u8d27\u673a\u91cc\u9762\u6295\u5165\u4e86\u4e24\u679a\u786c\u5e01\uff0c\u56e0\u4e3a\u552e\u8d27\u673a\u5df2\u7ecf\u4e8b\u5148\u8bbe\u7f6e\u4e86\u56fa\u5b9a\u7a0b\u5e8f\uff0c\u6240\u4ee5\u5b83\u4f1a\u5410\u51fa\u4f60\u6240\u9009\u7684\u996e\u6599\u51fa\u6765\u3002\u8fd9\u5c31\u662f\u4f60\u548c\u552e\u8d27\u673a\u4e4b\u95f4\u7684\u201c\u5408\u7ea6\u201d\u3002<\/p>\n<p>\u533a\u5757\u94fe\u7684\u667a\u80fd\u5408\u7ea6\uff0c\u5c31\u662f\u4f60\u4e8b\u5148\u5728\u533a\u5757\u94fe\u5e73\u53f0\u5b9a\u4e49\u7684\u56fa\u5b9a\u627f\u8bfa\u3002\u56e0\u4e3a\u533a\u5757\u94fe\u7684\u7279\u70b9\u662f\u201c\u6570\u5b57\u5316\u201d\uff0c\u6240\u4ee5\u667a\u80fd\u5408\u7ea6\u5c31\u662f\u7528\u6570\u5b57\u548c\u7a0b\u5e8f\u7684\u65b9\u5f0f\u5b9a\u4e49\u7684\u201c\u627f\u8bfa\u201c\uff0c\u6240\u6709\u7684\u884c\u4e3a\u90fd\u57fa\u4e8e\u8fd9\u4e00\u7cfb\u5217\u627f\u8bfa\u800c\u6267\u884c\u3002\u6240\u4ee5\u6211\u4eec\u7684\u5e94\u7528\u5f00\u53d1\u8fc7\u7a0b\u5728\u533a\u5757\u94fe\u5c31\u662f\u4e00\u4e2a\u5199\u5408\u7ea6\u7684\u8fc7\u7a0b\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u53e6\u5916\uff0c\u8fd9\u4e00\u7cfb\u5217\u5408\u7ea6\u8bb0\u5f55\u90fd\u662f\u4e0d\u53ef\u5220\u9664\u7684\u54df\u3002<\/p>\n<h3>\u600e\u4e48\u7528\uff1f<\/h3>\n<p>\u8fd8\u662f\u62ff\u817e\u8baf\u4e91\u4e3a\u4f8b\uff0c\u6211\u5e26\u5927\u5bb6\u624b\u628a\u624b\u64cd\u4f5c\u3002<\/p>\n<p>\u9996\u5148\u8fdb\u5165\u817e\u8baf\u4e91TBaaS\u5b98\u7f51https:\/\/console.cloud.tencent.com\/tbaas\/ \uff0c\u70b9\u51fb\u300c\u514d\u8d39\u4f53\u9a8c\u957f\u5b89\u94fe\u300d-\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u6d4b\u8bd5\u7ec4\u7ec7-\u4e4b\u540e\u8fdb\u5165\u63a7\u5236\u4e2d\u5fc3\u3002<\/p>\n<p style=\"text-align: center\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p style=\"text-align: center\">\n<p>\u6765\u5230\u957f\u5b89\u94fe\u533a\u5757\u94fe\u7f51\u7edc\u7684\u63a7\u5236\u4e2d\u5fc3\uff0c\u4f60\u5c31\u53ef\u4ee5\u770b\u5230\u8282\u70b9\u7684\u6574\u4f53\u60c5\u51b5\u4e86\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u817e\u8baf\u4e91\u4e00\u5171\u63d0\u4f9b\u4e864\u4e2a\u7ec4\u7ec74\u4e2a\u8282\u70b9\uff0c\u6bcf\u4e2a\u8282\u70b9\u90fd\u662f16\u6838\uff0c32G\u548c1000GB\u7684\u78c1\u76d8\u5b58\u50a8\u3002\u597d\u5bb6\u4f19\uff0c\u8fd9\u4e2a\u914d\u7f6e\u5b9e\u5c5e\u662f\u9ad8\u5440\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u4f60\u53ef\u4ee5\u770b\u5230\u5176\u5b83\u7528\u6237\u7684\u4e0a\u94fe\u4fe1\u606f\u548c\u4ea4\u6613\u5217\u8868\u3002<\/p>\n<p>\u6b63\u5982\u4f60\u6240\u89c1\u7684\uff0c\u533a\u5757\u94fe\u4e0a\u7684\u4ea4\u6613\u4fe1\u606f\u90fd\u662f\u900f\u660e\u7684\uff0c\u5305\u62ec\u4ea4\u6613\u7b14\u6570\uff0c\u4ea4\u6613\u65f6\u95f4\u548c\u7ec4\u7ec7\u7b49\u3002<\/p>\n<p style=\"text-align: center\">\n<p>ok\uff0c\u5728\u77e5\u9053\u4e86\u5b83\u7684\u6574\u4f53\u5e03\u5c40\u4e4b\u540e\uff0c\u4e0b\u4e00\u6b65\u7684\u64cd\u4f5c\u5c31\u662f\u53bb\u5b89\u88c5\u667a\u80fd\u5408\u7ea6\u3002<\/p>\n<p>\u957f\u5b89\u94fe\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u667a\u80fd\u5408\u7ea6Demo\uff0c\u4f7f\u7528\u7684\u5408\u7ea6\u8bed\u8a00\u662f\u957f\u5b89\u94fe\u81ea\u7814\u7684DockerGo\uff0c\u6211\u4eec\u9700\u8981\u5728\u5408\u7ea6\u8be6\u60c5\u4e2d\u4e0b\u8f7d\u5408\u7ea6\u6587\u4ef6\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u4e0b\u8f7d\u5b8c\u6bd5\u4e4b\u540e\u9700\u8981\u5c06\u5408\u7ea6\u8fdb\u884c\u7f16\u8bd1\uff0c\u6d41\u7a0b\u53ef\u4ee5\u67e5\u770b\u5f00\u53d1\u6307\u5357\uff0c\u6211\u8fd9\u91cc\u4e5f\u5e26\u5927\u5bb6\u8be6\u7ec6\u7f16\u8bd1\u4e00\u904d~<\/p>\n<p>\u6b64\u6b21\u7f16\u8bd1\u9700\u8981\u5728Linux\u73af\u5883\u4e0b\u5e76\u4e14\u5b89\u88c5docker\u54df\u3002<\/p>\n<p>\u9996\u5148\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u62c9\u53d6\u4e00\u4e0b\u957f\u5b89\u94fe\u7684docker\u955c\u50cf\uff0c\u9759\u9759\u7684\u7b49\u5f85\u5b83\u5b8c\u6210\u3002<\/p>\n<pre><span style=\"margin: 0px;padding: 0px\">docker<\/span> <span style=\"margin: 0px;padding: 0px\">pull<\/span> <span style=\"margin: 0px;padding: 0px\">chainmakerofficial<\/span><span style=\"margin: 0px;padding: 0px\">\/<\/span><span style=\"margin: 0px;padding: 0px\">chainmaker<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">docker<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">go<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">contract<\/span>:<span style=\"margin: 0px;padding: 0px\">v2<\/span><span style=\"margin: 0px;padding: 0px\">.2<\/span><span style=\"margin: 0px;padding: 0px\">.1<\/span><\/pre>\n<p style=\"text-align: center\">\n<p>\u5b89\u88c5\u5b8c\u955c\u50cf\u540e\u6267\u884c\u4ee5\u4e0bdocker run\u547d\u4ee4\uff0c\u76ee\u7684\u662f\u5c06\u4e0a\u9762\u4e0b\u8f7d\u597d\u7684\u94fe\u63a5\u6302\u5728\u5230\u4f60\u7684\u5de5\u4f5c\u76ee\u5f55\u4e2d\u4ee5\u4fbf\u968f\u65f6\u80fd\u7528\u3002$WORK_DIR\u5c31\u662f\u4f60\u7684\u5de5\u4f5c\u76ee\u5f55\u6240\u5728\u8def\u5f84\u3002<\/p>\n<pre><span style=\"margin: 0px;padding: 0px\">docker<\/span> <span style=\"margin: 0px;padding: 0px\">run<\/span> <span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">it<\/span> <span style=\"margin: 0px;padding: 0px\">--<\/span><span style=\"margin: 0px;padding: 0px\">name<\/span> <span style=\"margin: 0px;padding: 0px\">chainmaker<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">docker<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">go<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">contract<\/span> <span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">v<\/span> <span style=\"margin: 0px;padding: 0px\">$WORK_DIR<\/span>:<span style=\"margin: 0px;padding: 0px\">\/<\/span><span style=\"margin: 0px;padding: 0px\">home<\/span> <span style=\"margin: 0px;padding: 0px\">chainmakerofficial<\/span><span style=\"margin: 0px;padding: 0px\">\/<\/span><span style=\"margin: 0px;padding: 0px\">chainmaker<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">docker<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">go<\/span><span style=\"margin: 0px;padding: 0px\">-<\/span><span style=\"margin: 0px;padding: 0px\">contract<\/span>:<span style=\"margin: 0px;padding: 0px\">v2<\/span><span style=\"margin: 0px;padding: 0px\">.2<\/span><span style=\"margin: 0px;padding: 0px\">.1<\/span> <span style=\"margin: 0px;padding: 0px\">bash<\/span><\/pre>\n<p>\u63a5\u4e0b\u6765\u5c31\u662f\u6bd4\u8f83\u91cd\u70b9\u7684\u90e8\u5206\u4e86\uff0c\u9700\u8981\u8fdb\u884c\u5408\u7ea6\u7684\u7f16\u8bd1\u548c\u538b\u7f29\u3002<\/p>\n<pre><span style=\"margin: 0px;padding: 0px\">cd<\/span> <span style=\"margin: 0px;padding: 0px\">\/<\/span><span style=\"margin: 0px;padding: 0px\">home<\/span>    <br><span style=\"margin: 0px;padding: 0px\">tar<\/span> <span style=\"margin: 0px;padding: 0px\">xvf<\/span> <span style=\"margin: 0px;padding: 0px\">\/<\/span><span style=\"margin: 0px;padding: 0px\">data<\/span><span style=\"margin: 0px;padding: 0px\">\/<\/span><span style=\"margin: 0px;padding: 0px\">contract_docker_go_template<\/span>.<span style=\"margin: 0px;padding: 0px\">tar<\/span>.<span style=\"margin: 0px;padding: 0px\">gz<\/span><br><span style=\"margin: 0px;padding: 0px\">cd<\/span> <span style=\"margin: 0px;padding: 0px\">contract_docker_go<\/span><br>.<span style=\"margin: 0px;padding: 0px\">\/<\/span><span style=\"margin: 0px;padding: 0px\">build<\/span>.<span style=\"margin: 0px;padding: 0px\">sh<\/span><br><span style=\"margin: 0px;padding: 0px\">please<\/span> <span style=\"margin: 0px;padding: 0px\">input<\/span> <span style=\"margin: 0px;padding: 0px\">contract<\/span> <span style=\"margin: 0px;padding: 0px\">name<\/span>, <span style=\"margin: 0px;padding: 0px\">contract<\/span> <span style=\"margin: 0px;padding: 0px\">name<\/span> <span style=\"margin: 0px;padding: 0px\">should<\/span> <span style=\"margin: 0px;padding: 0px\">be<\/span> <span style=\"margin: 0px;padding: 0px\">same<\/span> <span style=\"margin: 0px;padding: 0px\">as<\/span> <span style=\"margin: 0px;padding: 0px\">name<\/span> <span style=\"margin: 0px;padding: 0px\">in<\/span> <span style=\"margin: 0px;padding: 0px\">tx<\/span>: <br><span style=\"margin: 0px;padding: 0px\">&lt;<\/span><span style=\"margin: 0px;padding: 0px\">contract_name<\/span><span style=\"margin: 0px;padding: 0px\">&gt;<\/span> <span style=\"margin: 0px;padding: 0px\">#\u6b64\u5904contract_name\u5fc5\u987b\u548c\u4ea4\u6613\u4e2d\u7684\u5408\u7ea6\u540d\u4e00\u81f4<\/span><br><span style=\"margin: 0px;padding: 0px\">please<\/span> <span style=\"margin: 0px;padding: 0px\">input<\/span> <span style=\"margin: 0px;padding: 0px\">zip<\/span> <span style=\"margin: 0px;padding: 0px\">file<\/span>: <br><span style=\"margin: 0px;padding: 0px\">&lt;<\/span><span style=\"margin: 0px;padding: 0px\">zip_file_name<\/span><span style=\"margin: 0px;padding: 0px\">&gt;<\/span> <span style=\"margin: 0px;padding: 0px\">#\u5efa\u8bae\u4e0econtract_name\u4fdd\u6301\u4e00\u81f4\uff08\u4e0d\u5305\u542b\u6587\u4ef6\u540e\u7f00\uff09<\/span><\/pre>\n<p style=\"text-align: center\">\n<p>\u6309\u7167\u6211\u4e0a\u9762\u7684\u6b65\u9aa4\u5b89\u88c5\uff0c\u770b\u5230Everything is Ok\u540e\uff0c\u90a3\u5c31\u8bf4\u660e\u7f16\u8bd1\u6210\u529f\u4e86\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u4ee5\u4e0a\u8fd9\u4e2a\u5c31\u662f\u6211\u4eec\u7f16\u8bd1\u597d\u7684\u6587\u4ef6\u5566\uff0c\u4e0b\u4e00\u6b65\u53ea\u9700\u8981\u5c06\u5b83\u88c5\u8fdb\u5408\u7ea6\u6587\u4ef6\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u70b9\u51fb\u786e\u8ba4\uff0c\u4e00\u4e2a\u65b0\u7684\u5408\u7ea6\u5c31\u751f\u6210\u597d\u4e86\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u9664\u4e86DockerGo\uff0c\u76ee\u524d\u4e00\u5171\u8fd8\u652f\u6301Solidity\u3001Rust\u3001C++ \u56db\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002\u6bcf\u4e00\u79cd\u667a\u80fd\u5408\u7ea6\u5b98\u65b9\u90fd\u5199\u4e86\u8be6\u7ec6\u7684\u53c2\u8003\u6587\u6863\uff0c\u70b9\u51fb\u4f60\u5bf9\u5e94\u7684\u8bed\u8a00\u5373\u53ef\u67e5\u770b\u8be6\u7ec6\u6587\u6863\uff1a<\/p>\n<ul>\n<li>\u667a\u80fd\u5408\u7ea6\u5f00\u53d1\uff08DockerGo\uff09\u3002<\/li>\n<li>\u667a\u80fd\u5408\u7ea6\u5f00\u53d1\uff08Solidity\uff09\u3002<\/li>\n<li>\u667a\u80fd\u5408\u7ea6\u5f00\u53d1\uff08Rust\uff09\u3002<\/li>\n<li>\u667a\u80fd\u5408\u7ea6\u5f00\u53d1\uff08C++\uff09\u3002<\/li>\n<\/ul>\n<p>\u5b89\u88c5\u5b8c\u667a\u80fd\u5408\u7ea6\u4e4b\u540e\u5c31\u662f\u53bb\u6d4b\u8bd5\u5b83\u662f\u5426\u6210\u529f\uff0c\u8fd9\u4e5f\u662f\u8ddd\u79bb\u4f7f\u7528\u533a\u5757\u94fe\u6700\u8fd1\u7684\u4e00\u6b65\u4e86\u3002\u70b9\u51fb<strong>\u300c\u5feb\u901f\u4e0a\u94fe\u300d<\/strong>\uff0c\u53d1\u8d77\u5feb\u901f\u8c03\u7528\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u4e0a\u94fe\u64cd\u4f5c\u5b8c\u6bd5\u540e\u5c31\u4f1a\u8fd4\u56de\u4e0a\u94fe\u7ed3\u679c\u4e86\uff1a<\/p>\n<p style=\"text-align: center\">\n<p>\u8fbe\u5230\u4e86\u8fd9\u91cc\uff0c\u5c31\u4ee3\u8868\u7740\u4f60\u5df2\u7ecf\u6210\u529f\u8fdb\u5165\u5230\u533a\u5757\u94fe\u4e86\u3002\u8fde\u63a5\u5efa\u7acb\u540e\u6700\u540e\u4e00\u6b65\u5c31\u8981\u8ba9TBaaS\u548c\u6211\u4eec\u7684\u5e94\u7528\u505a\u5bf9\u63a5\u4e86\u3002\u8fd9\u91cc\u4e5f\u5c31\u662f\u4e1a\u52a1\u8854\u63a5\u7684\u90e8\u5206\u3002<\/p>\n<p>\u5177\u4f53\u5bf9\u63a5\u8fc7\u7a0b\u4f60\u53ef\u4ee5\u67e5\u9605\uff1a\u4e91 API \u5bf9\u63a5\u8bf4\u660e\u3002<\/p>\n<p>\u5b8c\u4e8b\u4e4b\u540e\u4f60\u7684\u4e1a\u52a1\u884c\u4e3a\u5c31\u4f1a\u88ab\u89c6\u4e3a\u4ea4\u6613\u53d1\u9001\u5230\u94fe\u4e0a\uff0c\u901a\u8fc7\u3010\u533a\u5757\u94fe\u6d4f\u89c8\u5668\u3011\u5c31\u53ef\u4ee5\u4e00\u773c\u67e5\u9605\u5b9e\u65f6\u7684\u4ea4\u6613\u8bb0\u5f55\u3002<\/p>\n<p style=\"text-align: center\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<p>TBaaS\u5e73\u53f0\u5c31\u8fd9\u4e48\u5c06\u533a\u5757\u94fe\u5b9e\u73b0\u53ef\u89c6\u5316\uff0c\u63a5\u4e0b\u6765\u4f60\u5c31\u53ef\u4ee5\u81ea\u7531\u67e5\u770b\u533a\u5757\u548c\u4ea4\u6613\u53bb\u611f\u53d7\u533a\u5757\u94fe\u4e86\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u533a\u5757\u94fe\u7ed9\u54b1\u7684\u6574\u4f53\u64cd\u4f5c\u8fc7\u7a0b\u5c31\u662f\u4e00\u4e2a\u4ece\u52a0\u5165\u4f53\u9a8c\u7f51\u7edc-&gt;\u5b89\u88c5\u667a\u80fd\u5408\u7ea6-&gt;\u4e1a\u52a1\u5bf9\u63a5-&gt;\u4ea4\u6613\u7533\u8bf7\u7684\u8fc7\u7a0b\uff0c\u5728\u6b64\u4e4b\u540e\u5c31\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u817e\u8baf\u4e91\u540e\u53f0\u4e0a\u67e5\u770b\u5230\u4f60\u7684\u8282\u70b9\u548c\u4e1a\u52a1\u7684\u5173\u8054\u4fe1\u606f\u4e86\u3002<\/p>\n<p style=\"text-align: center\">\n<p>\u8f83\u6bd4\u4f20\u7edf\u7684\u4e1a\u52a1\u5e73\u53f0\u642d\u5efa\u548c\u76d1\u63a7\u786e\u5b9e\u66f4\u52a0\u4fbf\u6377\u8fc5\u901f\uff0c\u6210\u672c\u4e5f\u66f4\u4f4e\u3002\u6211\u8ba4\u4e3a\u4f5c\u4e3a\u817e\u8baf\u4e91\u7684\u91cd\u70b9\u5efa\u8bbe\u9879\u76eeTBaaS\u5e73\u53f0\u4eca\u540e\u4e5f\u4f1a\u7814\u53d1\u51fa\u66f4\u591a\u4e30\u5bcc\u7684\u529f\u80fd\uff0c\u503c\u5f97\u671f\u5f85\u4e00\u6ce2\u3002<\/p>\n<p style=\"text-align: center\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u6556\u4e19\u3002 \u5728\u5f88\u65e9\u4ee5\u524d\uff0c\u4e00\u4e2a\u7f51\u7ad9\u8fd8\u53ea\u5bf9\u5e94\u7740\u4e00\u4e2a\u6570\u636e\u5e93\uff0c\u6240\u6709\u7684\u6570\u636e\u90fd\u4ee5\u4e00\u5b9a\u89c4\u5219\u5b58\u50a8\u5728\u67d0\u53f0\u670d\u52a1\u5668\u4e0a\u3002\u5047\u8bbe\u8fd9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":245132,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[200988],"tags":[],"class_list":["post-245131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-200988"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/245131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=245131"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/245131\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media\/245132"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=245131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=245131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=245131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}