{"id":27622,"date":"2024-11-24T17:51:30","date_gmt":"2024-11-24T09:51:30","guid":{"rendered":"https:\/\/fwq.ai\/blog\/27622\/"},"modified":"2024-11-24T17:51:30","modified_gmt":"2024-11-24T09:51:30","slug":"docker-compose-%e9%83%a8%e7%bd%b2-mysql-%e6%97%b6%e5%87%ba%e9%94%99%ef%bc%9a%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%e4%be%9d%e8%b5%96%e7%89%88%e6%9c%ac%e4%b8%8d%e4%b8%80%e8%87%b4%ef%bc%9f-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/27622\/","title":{"rendered":"Docker Compose \u90e8\u7f72 MySQL \u65f6\u51fa\u9519\uff1a\u5982\u4f55\u89e3\u51b3\u4f9d\u8d56\u7248\u672c\u4e0d\u4e00\u81f4\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173129780357549.jpg\" class=\"aligncenter\" title=\"Docker Compose \u90e8\u7f72 MySQL \u65f6\u51fa\u9519\uff1a\u5982\u4f55\u89e3\u51b3\u4f9d\u8d56\u7248\u672c\u4e0d\u4e00\u81f4\uff1f\u63d2\u56fe\" alt=\"Docker Compose \u90e8\u7f72 MySQL \u65f6\u51fa\u9519\uff1a\u5982\u4f55\u89e3\u51b3\u4f9d\u8d56\u7248\u672c\u4e0d\u4e00\u81f4\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>Docker Compose \u90e8\u7f72 MySQL \u65f6\u51fa\u9519\u7684\u89e3\u51b3\u4e4b\u9053<\/strong><\/p>\n<p>\u4f7f\u7528 Docker Compose \u90e8\u7f72 MySQL \u65f6\u9047\u5230\u9519\u8bef\u53ef\u80fd\u4f1a\u8ba9\u4eba\u611f\u5230\u6cae\u4e27\u3002\u672c\u6587\u5c06\u63a2\u8ba8\u89e3\u51b3\u8fd9\u7c7b\u95ee\u9898\u7684\u4e00\u4e2a\u5177\u4f53\u793a\u4f8b\uff0c\u8be5\u95ee\u9898\u662f\u7531\u4f9d\u8d56\u7248\u672c\u4e0d\u4e00\u81f4\u5f15\u8d77\u7684\u3002<\/p>\n<p>\u5728\u6848\u4f8b\u4e2d\uff0c\u539f\u89e3\u51b3\u65b9\u6848\u65e0\u6cd5\u89e3\u51b3\u95ee\u9898\uff0c\u800c\u662f\u6307\u5411\u4e86\u4f9d\u8d56\u7248\u672c\u95ee\u9898\u3002<\/p>\n<p><strong>\u89e3\u51b3\u601d\u8def\uff1a<\/strong><\/p>\n<ol>\n<li> <strong>\u6307\u5b9a Docker \u7248\u672c\uff1a<\/strong>\u5728\u7ebf\u6307\u5b9a\u5b89\u88c5 Docker 18.09.8 \u7248\u672c\u3002<\/li>\n<li> <strong>\u67e5\u770b\u4f9d\u8d56\uff1a<\/strong>\u4f7f\u7528\u547d\u4ee4\u67e5\u770b\u8be5 Docker \u7248\u672c\u7684\u4f9d\u8d56\u7248\u672c\u3002<\/li>\n<li> <strong>\u5b89\u88c5\u4f9d\u8d56\uff1a<\/strong>\u901a\u8fc7 yum \u4e0b\u8f7d\u5e76\u5b89\u88c5\u4e0a\u4e00\u6b65\u4e2d\u786e\u5b9a\u7684\u5bf9\u5e94\u79bb\u7ebf\u5305\u3002<\/li>\n<\/ol>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u5f00\u53d1\u8005\u6210\u529f\u5b89\u88c5\u4e86 Docker 18.09.8 \u53ca\u5176\u4f9d\u8d56\u9879\uff0c\u5e76\u4f7f\u7528 Docker Compose \u90e8\u7f72 MySQL\uff0c\u4ece\u800c\u6d88\u9664\u4e86\u9519\u8bef\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fDocker Compose \u90e8\u7f72 MySQL \u65f6\u51fa\u9519\uff1a\u5982\u4f55\u89e3\u51b3\u4f9d\u8d56\u7248\u672c\u4e0d\u4e00\u81f4\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker Compose \u90e8\u7f72 MySQL \u65f6\u51fa\u9519\u7684\u89e3\u51b3\u4e4b\u9053 \u4f7f\u7528 Docker Compose \u90e8\u7f72 MySQL \u65f6\u9047\u5230\u9519\u8bef\u53ef\u80fd\u4f1a\u8ba9\u4eba\u611f\u5230\u6cae\u4e27\u3002\u672c\u6587\u5c06\u63a2\u8ba8\u89e3\u51b3\u8fd9\u7c7b\u95ee\u9898\u7684\u4e00\u4e2a\u5177\u4f53\u793a\u4f8b\uff0c\u8be5\u95ee\u9898\u662f\u7531\u4f9d\u8d56\u7248\u672c\u4e0d\u4e00\u81f4\u5f15\u8d77\u7684\u3002 \u5728\u6848\u4f8b\u4e2d\uff0c\u539f\u89e3\u51b3\u65b9\u6848\u65e0\u6cd5\u89e3\u51b3\u95ee\u9898\uff0c\u800c\u662f\u6307\u5411\u4e86\u4f9d\u8d56\u7248\u672c\u95ee\u9898\u3002 \u89e3\u51b3\u601d\u8def\uff1a \u6307\u5b9a Docker \u7248\u672c\uff1a\u5728\u7ebf\u6307\u5b9a\u5b89\u88c5 Docker 18.09.8 \u7248\u672c\u3002 \u67e5\u770b\u4f9d\u8d56\uff1a\u4f7f\u7528\u547d\u4ee4\u67e5\u770b\u8be5 Docker \u7248\u672c\u7684\u4f9d\u8d56\u7248\u672c\u3002 \u5b89\u88c5\u4f9d\u8d56\uff1a\u901a\u8fc7 yum \u4e0b\u8f7d\u5e76\u5b89\u88c5\u4e0a\u4e00\u6b65\u4e2d\u786e\u5b9a\u7684\u5bf9\u5e94\u79bb\u7ebf\u5305\u3002 \u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u5f00\u53d1\u8005\u6210\u529f\u5b89\u88c5\u4e86 Docker 18.09.8 \u53ca\u5176\u4f9d\u8d56\u9879\uff0c\u5e76\u4f7f\u7528 Docker Compose \u90e8\u7f72 MySQL\uff0c\u4ece\u800c\u6d88\u9664\u4e86\u9519\u8bef\u3002 \u4ee5\u4e0a\u5c31\u662fDocker Compose \u90e8\u7f72 MySQL \u65f6\u51fa\u9519\uff1a\u5982\u4f55\u89e3\u51b3\u4f9d\u8d56\u7248\u672c\u4e0d\u4e00\u81f4\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-27622","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=27622"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/27622\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=27622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=27622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=27622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}