{"id":2102,"date":"2024-08-14T06:17:21","date_gmt":"2024-08-13T22:17:21","guid":{"rendered":"https:\/\/airy.cn\/WordPress\/?p=2102"},"modified":"2024-08-14T06:17:21","modified_gmt":"2024-08-13T22:17:21","slug":"%e5%9c%a8centos-7%e4%b8%8a%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8docker-compose%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/airy.cn\/WordPress\/?p=2102","title":{"rendered":"\u5728CentOS 7\u4e0a\u5b89\u88c5\u548c\u4f7f\u7528Docker Compose\u7684\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u5728CentOS 7\u4e0a\u5b89\u88c5\u548c\u4f7f\u7528Docker Compose\u7684\u65b9\u6cd5<br>https:\/\/blog.csdn.net\/rubys007\/article\/details\/140481009<\/p>\n\n\n\n<p>sudo curl -L &#8220;https:\/\/github.com\/docker\/compose\/releases\/download\/1.23.2\/docker-compose-$(uname -s)-$(uname -m)&#8221; -o \/usr\/local\/bin\/docker-compose<\/p>\n\n\n\n<p>curl -L &#8220;https:\/\/github.com\/docker\/compose\/releases\/download\/v2.29.1\/docker-compose-linux-x86_64&#8221; -o \/usr\/local\/bin\/docker-compose<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/docker\/compose\/releases\">https:\/\/github.com\/docker\/compose\/releases<\/a><\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u8bbe\u7f6e\u6743\u9650\u4ee5\u4f7f\u4e8c\u8fdb\u5236\u6587\u4ef6\u53ef\u6267\u884c\uff1a<\/p>\n\n\n\n<p>sudo chmod +x \/usr\/local\/bin\/docker-compose<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/docker\/compose\/releases\/download\/v2.29.1\/docker-compose-linux-x86_64\">https:\/\/github.com\/docker\/compose\/releases\/download\/v2.29.1\/docker-compose-linux-x86_64<\/a><\/p>\n\n\n\n<p>\u7136\u540e\uff0c\u901a\u8fc7\u68c0\u67e5\u7248\u672c\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a<\/p>\n\n\n\n<p>docker-compose &#8211;version<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728CentOS 7\u4e0a\u5b89\u88c5\u548c\u4f7f\u7528Docker Compose\u7684\u65b9\u6cd5https:\/\/blog.csdn.net\/r &#8230; <a title=\"\u5728CentOS 7\u4e0a\u5b89\u88c5\u548c\u4f7f\u7528Docker Compose\u7684\u65b9\u6cd5\" class=\"read-more\" href=\"https:\/\/airy.cn\/WordPress\/?p=2102\" aria-label=\"\u9605\u8bfb \u5728CentOS 7\u4e0a\u5b89\u88c5\u548c\u4f7f\u7528Docker Compose\u7684\u65b9\u6cd5\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2102","post","type-post","status-publish","format-standard","hentry","category-airy-tech"],"_links":{"self":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/2102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2102"}],"version-history":[{"count":1,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/2102\/revisions"}],"predecessor-version":[{"id":2103,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/2102\/revisions\/2103"}],"wp:attachment":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}