{"id":79271,"date":"2023-10-18T13:42:52","date_gmt":"2023-10-18T05:42:52","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=79271"},"modified":"2023-10-18T13:42:52","modified_gmt":"2023-10-18T05:42:52","slug":"ubuntu-use-docker-compose","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ubuntu-use-docker-compose.html","title":{"rendered":"Ubuntu \u4e2dDocker Compose\u7684\u5947\u6deb\u5f02\u5de7"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Docker Compose \u662f\u4e00\u4e2a\u8fd0\u884c\u591a\u5bb9\u5668 Docker \u5e94\u7528\u7684\u5de5\u5177\u3002Compose \u901a\u8fc7\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\u6765\u914d\u7f6e\u4e00\u4e2a\u5e94\u7528\u7684\u670d\u52a1\uff0c\u7136\u540e\u901a\u8fc7\u4e00\u4e2a\u547d\u4ee4\u521b\u5efa\u5e76\u542f\u52a8\u6240\u6709\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u6307\u5b9a\u7684\u670d\u52a1\u3002 \n\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u770b\u5230\u5982\u4f55\u5728 Ubuntn 16.04 \u4e0a\u5b89\u88c5 Docker Compose\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5b89\u88c5 Docker<\/strong><\/div>\n \u6211\u4eec\u9700\u8981\u5b89\u88c5 Docker \u6765\u5b89\u88c5 Docker Compose\u3002\u9996\u5148\u4e3a\u5b98\u65b9 Docker \u4ed3\u5e93\u6dfb\u52a0\u516c\u94a5\u3002<\/p>\n $ curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add -<\/pre>\n |