{"id":50079,"date":"2025-07-30T21:12:02","date_gmt":"2025-07-30T13:12:02","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/50079.html"},"modified":"2025-07-30T21:12:02","modified_gmt":"2025-07-30T13:12:02","slug":"%e9%87%8d%e7%94%9f%e4%b9%8b%e6%88%91%e5%9c%a8%e6%9a%91%e5%81%87%e5%ad%a6%e4%b9%a0%e5%be%ae%e6%9c%8d%e5%8a%a1%e7%ac%ac%e4%ba%94%e5%a4%a9%e3%80%8adocker%e9%83%a8%e7%bd%b2%e9%a1%b9%e7%9b%ae%e7%af%87","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/50079.html","title":{"rendered":"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"597\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131151-688a1a173e1b4.png\" width=\"1600\" \/><\/p>\n<ul>\n<li>\u00a0\u4e2a\u4eba\u4e3b\u9875&#xff1a;VON<\/li>\n<li>\u6587\u7ae0\u6240\u5c5e\u4e13\u680f&#xff1a;\u5fae\u670d\u52a1<\/li>\n<li>\u7cfb\u5217\u6587\u7ae0\u94fe\u63a5&#xff1a;<\/li>\n<li>\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e00\u5929\u300aMybatisPlus-\u4e0a\u7bc7\u300b-CSDN\u535a\u5ba2<\/li>\n<li>\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e8c\u5929\u300aMybatisPlus-\u4e0b\u7bc7\u300b-CSDN\u535a\u5ba2<\/li>\n<li>\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e09\u5929\u300aDocker-\u4e0a\u7bc7\u300b-CSDN\u535a\u5ba2<\/li>\n<li>\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u56db\u5929\u300aDocker-\u4e0b\u7bc7\u300b-CSDN\u535a\u5ba2<\/li>\n<li>\u65f6\u95f4&#xff1a;\u6bcf\u592912\u70b9\u524d\u51c6\u65f6\u66f4\u65b0<\/li>\n<\/ul>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%C2%A0%E4%B8%80%E3%80%81%E9%83%A8%E7%BD%B2java%E5%90%8E%E7%AB%AF%E9%A1%B9%E7%9B%AE-toc\" style=\"margin-left:0px\">\u00a0\u4e00\u3001\u90e8\u7f72java\u540e\u7aef\u9879\u76ee<\/p>\n<p id=\"1%E3%80%81%E6%89%93%E5%8C%85java%E9%A1%B9%E7%9B%AE-toc\" style=\"margin-left:40px\">1\u3001\u6253\u5305java\u9879\u76ee<\/p>\n<p id=\"%EF%BC%881%EF%BC%89java%E7%89%88%E6%9C%AC%E9%97%AE%E9%A2%98-toc\" style=\"margin-left:80px\">&#xff08;1&#xff09;java\u7248\u672c\u95ee\u9898<\/p>\n<p id=\"%EF%BC%882%EF%BC%89%E6%B5%8B%E8%AF%95%E4%B8%8D%E9%80%9A%E8%BF%87-toc\" style=\"margin-left:80px\">&#xff08;2&#xff09;\u6d4b\u8bd5\u4e0d\u901a\u8fc7<\/p>\n<p id=\"2%E3%80%81%20%E9%83%A8%E7%BD%B2%E5%88%B0%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%8A-toc\" style=\"margin-left:40px\">2\u3001 \u90e8\u7f72\u5230\u865a\u62df\u673a\u4e0a<\/p>\n<p id=\"%C2%A03%E3%80%81%E8%AE%BF%E9%97%AE%E9%A1%B9%E7%9B%AE-toc\" style=\"margin-left:40px\">\u00a03\u3001\u8bbf\u95ee\u9879\u76ee<\/p>\n<p id=\"%C2%A0%E4%BA%8C%E3%80%81%E9%83%A8%E7%BD%B2%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE-toc\" style=\"margin-left:0px\">\u00a0\u4e8c\u3001\u90e8\u7f72\u524d\u7aef\u9879\u76ee<\/p>\n<p id=\"1%E3%80%81%E6%9F%A5%E7%9C%8B%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:40px\">1\u3001\u67e5\u770b\u914d\u7f6e\u6587\u4ef6<\/p>\n<p id=\"2%E3%80%81%E5%BC%80%E5%A7%8B%E6%8C%82%E8%BD%BD-toc\" style=\"margin-left:40px\">2\u3001\u5f00\u59cb\u6302\u8f7d<\/p>\n<p id=\"%E4%B8%89%E3%80%81%E5%89%8D%E5%90%8E%E7%AB%AF%E8%81%94%E5%8A%A8%E6%B5%8B%E8%AF%95-toc\" style=\"margin-left:0px\">\u4e09\u3001\u524d\u540e\u7aef\u8054\u52a8\u6d4b\u8bd5<\/p>\n<p id=\"%E2%80%8B%E7%BC%96%E8%BE%91%C2%A0-toc\" style=\"margin-left:0px\">\u200b\u7f16\u8f91\u00a0<\/p>\n<p id=\"%E5%9B%9B%E3%80%81DockerCompose-toc\" style=\"margin-left:0px\">\u56db\u3001DockerCompose<\/p>\n<p id=\"1%E3%80%81%E5%B0%86%E6%96%87%E4%BB%B6%E6%8B%96%E5%88%B0%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%AD-toc\" style=\"margin-left:40px\">1\u3001\u5c06\u6587\u4ef6\u62d6\u5230\u865a\u62df\u673a\u4e2d<\/p>\n<p id=\"2%E3%80%81%E5%B0%86conf%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%94%B9%E4%B8%BAhmall%C2%A0-toc\" style=\"margin-left:40px\">2\u3001\u5c06conf\u6587\u4ef6\u4e2d\u7684\u6539\u4e3ahmall\u00a0<\/p>\n<p id=\"3%E3%80%81%E5%88%A0%E9%99%A4%E4%B9%8B%E5%89%8D%E7%9A%84%E5%AE%B9%E5%99%A8%E5%92%8C%E9%95%9C%E5%83%8F-toc\" style=\"margin-left:40px\">3\u3001\u5220\u9664\u4e4b\u524d\u7684\u5bb9\u5668\u548c\u955c\u50cf<\/p>\n<p id=\"4%E3%80%81%E5%90%AF%E5%8A%A8compose%E4%B8%80%E9%94%AE%E9%83%A8%E7%BD%B2-toc\" style=\"margin-left:40px\">4\u3001\u542f\u52a8compose\u4e00\u952e\u90e8\u7f72<\/p>\n<p id=\"%E7%BB%93%E8%AF%AD-toc\" style=\"margin-left:0px\">\u7ed3\u8bed<\/p>\n<hr id=\"hr-toc\" \/>\n<p>\u00a0<\/p>\n<h2 id=\"%C2%A0%E4%B8%80%E3%80%81%E9%83%A8%E7%BD%B2java%E5%90%8E%E7%AB%AF%E9%A1%B9%E7%9B%AE\" style=\"background-color:transparent\">\u00a0\u4e00\u3001\u90e8\u7f72java\u540e\u7aef\u9879\u76ee<\/h2>\n<h3 id=\"1%E3%80%81%E6%89%93%E5%8C%85java%E9%A1%B9%E7%9B%AE\">1\u3001\u6253\u5305java\u9879\u76ee<\/h3>\n<p>\u6211\u8fd9\u91cc\u6253\u5305\u7684\u662f\u864e\u54e5\u7ed9\u7684\u8d44\u6599\u4e2d\u7684java\u5546\u57ce\u9879\u76ee<\/p>\n<p>\u8fd9\u91cc\u9047\u5230\u4e86\u4e24\u4e2a\u95ee\u9898<\/p>\n<h4 id=\"%EF%BC%881%EF%BC%89java%E7%89%88%E6%9C%AC%E9%97%AE%E9%A2%98\">&#xff08;1&#xff09;java\u7248\u672c\u95ee\u9898<\/h4>\n<p>\u8fd9\u91cc\u6240\u6709\u6587\u4ef6\u7528\u5230\u7684java\u7248\u672c\u90fd\u662f11&#xff0c;\u6211\u4e4b\u524d\u7528\u7684\u662f17&#xff0c;\u6240\u4ee5\u8981\u66f4\u6362\u7248\u672c&#xff0c;\u8fd9\u91cc\u8981\u66f4\u65392\u4e2a\u5730\u65b9<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"734\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131152-688a1a18210d7.png\" width=\"982\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"860\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131152-688a1a186ff65.png\" width=\"1024\" \/><\/p>\n<p>\u00a0\u8fd9\u6837\u5c31\u53ef\u4ee5\u8fd0\u884c\u4e86<\/p>\n<h4 id=\"%EF%BC%882%EF%BC%89%E6%B5%8B%E8%AF%95%E4%B8%8D%E9%80%9A%E8%BF%87\">&#xff08;2&#xff09;\u6d4b\u8bd5\u4e0d\u901a\u8fc7<\/h4>\n<p>\u53ef\u4ee5\u770b\u5230\u8fd9\u91cc\u62a5\u4e86\u4e2a\u6d4b\u8bd5\u4e0d\u901a\u8fc7\u7684\u7ed3\u679c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"343\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131152-688a1a18bbde1.png\" width=\"1159\" \/><\/p>\n<p>\u6211\u8fd9\u91cc\u76f4\u63a5\u8df3\u8fc7\u6d4b\u8bd5\u90e8\u5206\u4e86\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"437\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131153-688a1a190645d.png\" width=\"1830\" \/><\/p>\n<h3 id=\"2%E3%80%81%20%E9%83%A8%E7%BD%B2%E5%88%B0%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%8A\">2\u3001 \u90e8\u7f72\u5230\u865a\u62df\u673a\u4e0a<\/h3>\n<p>\u627e\u4e00\u4e0bjar\u5305\u5728\u54ea\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"320\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131153-688a1a196e175.png\" width=\"1855\" \/><\/p>\n<p>\u00a0\u8fd9\u91cc\u53ef\u4ee5\u76f4\u63a5\u5c06\u8def\u5f84\u590d\u5236\u8fc7\u6765\u67e5\u627e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"637\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131153-688a1a19b3574.png\" width=\"1408\" \/><\/p>\n<p>\u00a0\u627e\u5230\u4e86jar\u5305<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"679\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131154-688a1a1a186e0.png\" width=\"1093\" \/><\/p>\n<p>\u00a0\u8fde\u63a5\u4e0a\u6211\u4eec\u7684centos&#xff0c;\u5bfc\u5165jar\u5305\u548cDockerfile\u6587\u4ef6<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"799\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131154-688a1a1a670ab.png\" width=\"1406\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"636\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131154-688a1a1abbbd8.png\" width=\"1221\" \/>\u00a0\u5f00\u59cb\u4e0b\u8f7d\u955c\u50cf<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"866\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131155-688a1a1b11824.png\" width=\"1659\" \/><\/p>\n<p>\u00a0\u67e5\u770b\u4e0b8080\u7aef\u53e3\u662f\u5426\u88ab\u5360\u7528&#xff08;\u56e0\u4e3a\u672c\u9879\u76ee\u7528\u5230\u7684\u662f8080\u7aef\u53e3&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"305\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131155-688a1a1bae56a.png\" width=\"1535\" \/><\/p>\n<p>\u00a0\u8fd0\u884c\u955c\u50cf&#xff0c;\u8fd9\u91cc\u9700\u8981\u548c\u6628\u5929\u5e03\u7f6e\u7684mysql\u7528\u4e00\u4e2a\u7f51\u6bb5<\/p>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"192\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131156-688a1a1c02e82.png\" width=\"594\" \/><\/p>\n<p>\u542f\u52a8\u9879\u76ee<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"866\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131156-688a1a1c3f7e0.png\" width=\"1659\" \/><\/p>\n<h3 id=\"%C2%A03%E3%80%81%E8%AE%BF%E9%97%AE%E9%A1%B9%E7%9B%AE\">\u00a03\u3001\u8bbf\u95ee\u9879\u76ee<\/h3>\n<p>\u53ef\u4ee5\u770b\u5230\u8fd9\u91cc\u8bbf\u95ee\u6210\u529f\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"755\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131157-688a1a1d46bd0.png\" width=\"1485\" \/><\/p>\n<p>\u540e\u53f0\u8fd9\u91cc\u53ef\u4ee5\u770b\u5230\u65e5\u5fd7\u4e5f\u663e\u793a\u51fa\u6765\u4e86&#xff0c;\u5230\u8fd9\u91ccjava\u9879\u76ee\u5f7b\u5e95\u90e8\u7f72\u6210\u529f\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"866\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131158-688a1a1e192e4.png\" width=\"1659\" \/><\/p>\n<h2 id=\"%C2%A0%E4%BA%8C%E3%80%81%E9%83%A8%E7%BD%B2%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE\">\u00a0\u4e8c\u3001\u90e8\u7f72\u524d\u7aef\u9879\u76ee<\/h2>\n<h3 id=\"1%E3%80%81%E6%9F%A5%E7%9C%8B%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\">1\u3001\u67e5\u770b\u914d\u7f6e\u6587\u4ef6<\/h3>\n<p>\u786e\u4fdd\u548c\u540e\u7aef\u540d\u79f0\u4e00\u81f4<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"904\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131159-688a1a1f33269.png\" width=\"1763\" \/><\/p>\n<h3 id=\"2%E3%80%81%E5%BC%80%E5%A7%8B%E6%8C%82%E8%BD%BD\">2\u3001\u5f00\u59cb\u6302\u8f7d<\/h3>\n<p>\u00a0\u8fd9\u91cc\u51fa\u73b0\u4e86\u70b9\u5c0f\u95ee\u9898&#xff0c;\u4e0d\u8fc7\u90fd\u89e3\u51b3\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"511\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131200-688a1a207c232.png\" width=\"1657\" \/><\/p>\n<p>\u00a0\u8fd9\u91cc\u5c11\u4e86\u4e00\u6b65\u5c06nginx\u653e\u5230\u5bbf\u4e3b\u673a\u4e0a<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"614\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131201-688a1a2140dbd.png\" width=\"978\" \/><\/p>\n<p>\u8fd9\u4e0b\u6210\u529f\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"115\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131201-688a1a21a9252.png\" width=\"1664\" \/><\/p>\n<p>\u6307\u4ee4\u5982\u4e0b&#x1f447;\u00a0<\/p>\n<p>docker run -d &#8211;name nginx -p 18080:18080 -p 18081:18081 -v \/root\/nginx\/html:\/usr\/share\/nginx\/html -v \/root\/nginx\/nginx.conf:\/etc\/nginx\/nginx.conf &#8211;network VON nginx<\/p>\n<p>\u8bbf\u95ee\u6210\u529f\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"995\" src=\"2025-07-30xhryjgo2hz4.png\" width=\"1912\" \/><\/p>\n<p>\u00a0<\/p>\n<h2 id=\"%E4%B8%89%E3%80%81%E5%89%8D%E5%90%8E%E7%AB%AF%E8%81%94%E5%8A%A8%E6%B5%8B%E8%AF%95\">\u4e09\u3001\u524d\u540e\u7aef\u8054\u52a8\u6d4b\u8bd5<\/h2>\n<p>\u67e5\u770b\u4e0b\u540e\u7aef\u65e5\u5fd7&#xff1a;docker logs -f hm<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"866\" src=\"2025-07-30enqsbsucjnx.png\" width=\"1659\" \/><\/p>\n<p>\u8fd9\u91cc\u6d4b\u8bd5\u4e00\u4e0b\u641c\u7d22\u529f\u80fd\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"958\" src=\"2025-07-30bccujqrthvl.png\" width=\"1897\" \/>\u00a0<\/p>\n<p>\u53ef\u4ee5\u770b\u5230\u540e\u7aef\u51fa\u73b0\u4e86\u641c\u7d22\u76f8\u5173\u7684\u65e5\u5fd7\u00a0<\/p>\n<h2 id=\"%E2%80%8B%E7%BC%96%E8%BE%91%C2%A0\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"866\" src=\"2025-07-30plvswulggzs.png\" width=\"1659\" \/>\u00a0<\/h2>\n<h2 id=\"%E5%9B%9B%E3%80%81DockerCompose\">\u56db\u3001DockerCompose<\/h2>\n<h3 id=\"1%E3%80%81%E5%B0%86%E6%96%87%E4%BB%B6%E6%8B%96%E5%88%B0%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%AD\">1\u3001\u5c06\u6587\u4ef6\u62d6\u5230\u865a\u62df\u673a\u4e2d<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"678\" src=\"2025-07-30agpff0uglpg.png\" width=\"1152\" \/><\/p>\n<h3 id=\"2%E3%80%81%E5%B0%86conf%E6%96%87%E4%BB%B6%E4%B8%AD%E7%9A%84%E6%94%B9%E4%B8%BAhmall%C2%A0\">2\u3001\u5c06conf\u6587\u4ef6\u4e2d\u7684\u6539\u4e3ahmall\u00a0<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"796\" src=\"2025-07-30bb5ffa0m0pk.png\" width=\"1896\" \/><\/p>\n<h3 id=\"3%E3%80%81%E5%88%A0%E9%99%A4%E4%B9%8B%E5%89%8D%E7%9A%84%E5%AE%B9%E5%99%A8%E5%92%8C%E9%95%9C%E5%83%8F\">3\u3001\u5220\u9664\u4e4b\u524d\u7684\u5bb9\u5668\u548c\u955c\u50cf<\/h3>\n<p>\u5220\u9664\u5bb9\u5668<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"257\" src=\"2025-07-30gkesrasuwqe.png\" width=\"1659\" \/><\/p>\n<p>\u5220\u9664\u955c\u50cf<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"497\" src=\"2025-07-30wxw3s1konrn.png\" width=\"1100\" \/><\/p>\n<h3 id=\"4%E3%80%81%E5%90%AF%E5%8A%A8compose%E4%B8%80%E9%94%AE%E9%83%A8%E7%BD%B2\">4\u3001\u542f\u52a8compose\u4e00\u952e\u90e8\u7f72<\/h3>\n<p>\u8fd9\u6837\u5c31\u90e8\u7f72\u6210\u529f\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"532\" src=\"2025-07-30ddebwnua2zl.png\" width=\"1653\" \/><\/p>\n<p>\u00a0\u53ef\u4ee5\u770b\u5230\u5bb9\u5668\u548c\u955c\u50cf\u4e5f\u81ea\u52a8\u521b\u5efa\u597d\u4e86<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"418\" src=\"2025-07-30rmvljxirk44.png\" width=\"1592\" \/><\/p>\n<p>\u9ed1\u9a6c\u5546\u57ce\u8bbf\u95ee\u6210\u529f\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"958\" src=\"2025-07-30fnjubakhn5n.png\" width=\"1897\" \/>\u00a0<\/p>\n<p>\u5220\u9664\u90e8\u7f72\u7684\u9879\u76ee<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"529\" src=\"2025-07-30qmpiaxfryq1.png\" width=\"1647\" \/><\/p>\n<p>\u8fd9\u91cc\u53ef\u4ee5\u770b\u5230\u5bb9\u5668\u90fd\u5220\u9664\u4e86\u00a0<\/p>\n<h2 id=\"%E7%BB%93%E8%AF%AD\">\u7ed3\u8bed<\/h2>\n<p>\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u5fae\u670d\u52a1\u9879\u76ee\u90e8\u7f72\u7684\u5168\u8fc7\u7a0b\u3002\u9996\u5148\u89e3\u51b3\u4e86Java\u7248\u672c\u517c\u5bb9\u95ee\u9898&#xff0c;\u5c06\u5546\u57ce\u9879\u76ee\u6253\u5305\u5e76\u90e8\u7f72\u5230Docker\u5bb9\u5668\u4e2d&#xff0c;\u6210\u529f\u8fd0\u884c\u540e\u7aef\u670d\u52a1\u3002\u63a5\u7740\u914d\u7f6e\u524d\u7aefNginx\u670d\u52a1&#xff0c;\u5b9e\u73b0\u524d\u540e\u7aef\u8054\u8c03\u6d4b\u8bd5\u3002\u6700\u540e\u4f7f\u7528Docker Compose\u5b9e\u73b0\u4e00\u952e\u5316\u90e8\u7f72&#xff0c;\u5305\u542bMySQL\u3001\u540e\u7aef\u548c\u524d\u7aef\u670d\u52a1\u7684\u5bb9\u5668\u7f16\u6392\u3002\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898\u5982\u7aef\u53e3\u5360\u7528\u3001\u914d\u7f6e\u6587\u4ef6\u4fee\u6539\u7b49\u5747\u5f97\u5230\u89e3\u51b3&#xff0c;\u6700\u7ec8\u6210\u529f\u8fd0\u884c\u5b8c\u6574\u7684\u9ed1\u9a6c\u5546\u57ce\u9879\u76ee\u3002\u6587\u7ae0\u8fd8\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7Docker\u547d\u4ee4\u67e5\u770b\u65e5\u5fd7\u3001\u7ba1\u7406\u5bb9\u5668\u7b49\u64cd\u4f5c&#xff0c;\u4e3a\u5fae\u670d\u52a1\u5b66\u4e60\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u5b9e\u8df5\u6848\u4f8b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb153\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u5fae\u670d\u52a1\u9879\u76ee\u90e8\u7f72\u7684\u5168\u8fc7\u7a0b\u3002\u9996\u5148\u89e3\u51b3\u4e86Java\u7248\u672c\u517c\u5bb9\u95ee\u9898\uff0c\u5c06\u5546\u57ce\u9879\u76ee\u6253\u5305\u5e76\u90e8\u7f72\u5230Docker\u5bb9\u5668\u4e2d\uff0c\u6210\u529f\u8fd0\u884c\u540e\u7aef\u670d\u52a1\u3002\u63a5\u7740\u914d\u7f6e\u524d\u7aefNginx\u670d\u52a1\uff0c\u5b9e\u73b0\u524d\u540e\u7aef\u8054\u8c03\u6d4b\u8bd5\u3002\u6700\u540e\u4f7f\u7528Docker Compose\u5b9e\u73b0\u4e00\u952e\u5316\u90e8\u7f72\uff0c\u5305\u542bMySQL\u3001\u540e\u7aef\u548c\u524d\u7aef\u670d\u52a1\u7684\u5bb9\u5668\u7f16\u6392\u3002\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898\u5982\u7aef\u53e3\u5360\u7528\u3001\u914d\u7f6e\u6587\u4ef6\u4fee\u6539\u7b49\u5747\u5f97\u5230\u89e3\u51b3\uff0c\u6700\u7ec8\u6210\u529f\u8fd0\u884c\u5b8c\u6574\u7684\u9ed1\u9a6c\u5546\u57ce\u9879\u76ee\u3002\u6587\u7ae0\u8fd8\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7Docker\u547d\u4ee4\u67e5\u770b\u65e5\u5fd7\u3001\u7ba1\u7406\u5bb9\u5668\u7b49\u64cd\u4f5c\uff0c\u4e3a\u5fae\u670d\u52a1\u5b66\u4e60\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u5b9e\u8df5\u6848\u4f8b\u3002<\/p>\n","protected":false},"author":2,"featured_media":50059,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,99,4870,763,371,1348,4871,188],"topic":[],"class_list":{"0":"post-50079","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-docker","9":"tag-java","11":"tag-763","12":"tag-371","13":"tag-1348","14":"tag-4871","15":"tag-188"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/50079.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb153\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u5fae\u670d\u52a1\u9879\u76ee\u90e8\u7f72\u7684\u5168\u8fc7\u7a0b\u3002\u9996\u5148\u89e3\u51b3\u4e86Java\u7248\u672c\u517c\u5bb9\u95ee\u9898\uff0c\u5c06\u5546\u57ce\u9879\u76ee\u6253\u5305\u5e76\u90e8\u7f72\u5230Docker\u5bb9\u5668\u4e2d\uff0c\u6210\u529f\u8fd0\u884c\u540e\u7aef\u670d\u52a1\u3002\u63a5\u7740\u914d\u7f6e\u524d\u7aefNginx\u670d\u52a1\uff0c\u5b9e\u73b0\u524d\u540e\u7aef\u8054\u8c03\u6d4b\u8bd5\u3002\u6700\u540e\u4f7f\u7528Docker Compose\u5b9e\u73b0\u4e00\u952e\u5316\u90e8\u7f72\uff0c\u5305\u542bMySQL\u3001\u540e\u7aef\u548c\u524d\u7aef\u670d\u52a1\u7684\u5bb9\u5668\u7f16\u6392\u3002\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898\u5982\u7aef\u53e3\u5360\u7528\u3001\u914d\u7f6e\u6587\u4ef6\u4fee\u6539\u7b49\u5747\u5f97\u5230\u89e3\u51b3\uff0c\u6700\u7ec8\u6210\u529f\u8fd0\u884c\u5b8c\u6574\u7684\u9ed1\u9a6c\u5546\u57ce\u9879\u76ee\u3002\u6587\u7ae0\u8fd8\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7Docker\u547d\u4ee4\u67e5\u770b\u65e5\u5fd7\u3001\u7ba1\u7406\u5bb9\u5668\u7b49\u64cd\u4f5c\uff0c\u4e3a\u5fae\u670d\u52a1\u5b66\u4e60\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u5b9e\u8df5\u6848\u4f8b\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/50079.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-30T13:12:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131151-688a1a173e1b4.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50079.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/50079.html\",\"name\":\"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-30T13:12:02+00:00\",\"dateModified\":\"2025-07-30T13:12:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/50079.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/50079.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50079.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/50079.html","og_locale":"zh_CN","og_type":"article","og_title":"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb153\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u5fae\u670d\u52a1\u9879\u76ee\u90e8\u7f72\u7684\u5168\u8fc7\u7a0b\u3002\u9996\u5148\u89e3\u51b3\u4e86Java\u7248\u672c\u517c\u5bb9\u95ee\u9898\uff0c\u5c06\u5546\u57ce\u9879\u76ee\u6253\u5305\u5e76\u90e8\u7f72\u5230Docker\u5bb9\u5668\u4e2d\uff0c\u6210\u529f\u8fd0\u884c\u540e\u7aef\u670d\u52a1\u3002\u63a5\u7740\u914d\u7f6e\u524d\u7aefNginx\u670d\u52a1\uff0c\u5b9e\u73b0\u524d\u540e\u7aef\u8054\u8c03\u6d4b\u8bd5\u3002\u6700\u540e\u4f7f\u7528Docker Compose\u5b9e\u73b0\u4e00\u952e\u5316\u90e8\u7f72\uff0c\u5305\u542bMySQL\u3001\u540e\u7aef\u548c\u524d\u7aef\u670d\u52a1\u7684\u5bb9\u5668\u7f16\u6392\u3002\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898\u5982\u7aef\u53e3\u5360\u7528\u3001\u914d\u7f6e\u6587\u4ef6\u4fee\u6539\u7b49\u5747\u5f97\u5230\u89e3\u51b3\uff0c\u6700\u7ec8\u6210\u529f\u8fd0\u884c\u5b8c\u6574\u7684\u9ed1\u9a6c\u5546\u57ce\u9879\u76ee\u3002\u6587\u7ae0\u8fd8\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7Docker\u547d\u4ee4\u67e5\u770b\u65e5\u5fd7\u3001\u7ba1\u7406\u5bb9\u5668\u7b49\u64cd\u4f5c\uff0c\u4e3a\u5fae\u670d\u52a1\u5b66\u4e60\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u5b9e\u8df5\u6848\u4f8b\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/50079.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-30T13:12:02+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250730131151-688a1a173e1b4.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/50079.html","url":"https:\/\/www.wsisp.com\/helps\/50079.html","name":"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-30T13:12:02+00:00","dateModified":"2025-07-30T13:12:02+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/50079.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/50079.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/50079.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u91cd\u751f\u4e4b\u6211\u5728\u6691\u5047\u5b66\u4e60\u5fae\u670d\u52a1\u7b2c\u4e94\u5929\u300aDocker\u90e8\u7f72\u9879\u76ee\u7bc7\u300b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=50079"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50079\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/50059"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=50079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=50079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=50079"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=50079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}