{"id":280,"date":"2022-07-04T18:35:07","date_gmt":"2023-11-24T15:24:02","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/"},"modified":"2025-07-31T22:17:32","modified_gmt":"2025-07-31T13:17:32","slug":"%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/","title":{"rendered":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5"},"content":{"rendered":"<h3>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3<\/h3>\n<p>Docker\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30bb\u30b9\u3092\u7ba1\u7406\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u7c21\u7565\u5316\u3057\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30ca\u306f\u4eee\u60f3\u30de\u30b7\u30f3\u306b\u4f3c\u305f\u8981\u7d20\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3088\u308a\u8efd\u91cf\u3067\u30ea\u30bd\u30fc\u30b9\u306b\u512a\u3057\u3044\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u74b0\u5883\u3092\u8907\u6570\u306e\u5206\u96e2\u3055\u308c\u305f\u30b5\u30fc\u30d3\u30b9\u306b\u5206\u5272\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u4f9d\u5b58\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u4e00\u6589\u306b\u8d77\u52d5\u3001\u901a\u4fe1\u3001\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3059\u308b\u3053\u3068\u306f\u7d20\u65e9\u304f\u6271\u3044\u306b\u304f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002Docker Compose\u306f\u3001YAML\u30d5\u30a1\u30a4\u30eb\u3067\u8a2d\u5b9a\u3055\u308c\u305f\u5b9a\u7fa9\u306b\u57fa\u3065\u3044\u3066\u30de\u30eb\u30c1\u30b3\u30f3\u30c6\u30ca\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u74b0\u5883\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3067\u3059\u3002\u30b5\u30fc\u30d3\u30b9\u306e\u5b9a\u7fa9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3084\u30c7\u30fc\u30bf\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u5171\u6709\u3067\u304d\u308b\u8907\u6570\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u6301\u3064\u3001\u5b8c\u5168\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u53ef\u80fd\u306a\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001Rocky Linux 8 \u30b5\u30fc\u30d0\u30fc\u306b Docker Compose \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3044\u59cb\u3081\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u6b21\u306e\u3082\u306e\u304c\u5fc5\u8981\u3067\u3059:<\/p>\n<ul class=\"post-ul\">\n<li>Access to a Rocky Linux 8 local machine or development server as a non-root user with sudo privileges. If you\u2019re using a remote server, it\u2019s advisable to have an active firewall installed. To set these up, please refer to our Initial Server Setup Guide for Rocky Linux 8.<\/li>\n<li>Docker installed on your server or local machine, following Steps 1 and 2 of How To Install and Use Docker on Rocky Linux 8.<\/li>\n<\/ul>\n<h2>\u30b9\u30c6\u30c3\u30d71\u2212Docker Compose\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u6700\u65b0\u304b\u3064\u5b89\u5b9a\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u306eDocker Compose\u3092\u78ba\u5b9f\u306b\u5165\u624b\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u516c\u5f0fDocker\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u3053\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u66f4\u65b0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> dnf check-update<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d\u306b\u884c\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u516c\u5f0f\u306eDocker\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> dnf config-manager &#8211;add-repo https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Rocky Linux\u306b\u306fDocker\u5c02\u7528\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001Rocky Linux\u306fCentOS\u3092\u30d9\u30fc\u30b9\u306b\u3057\u3066\u304a\u308a\u3001\u540c\u3058\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3067Docker\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3042\u308bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> dnf <span class=\"token function\">install<\/span> docker-compose-plugin<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u6210\u529f\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose version<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306b\u4f3c\u305f\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Docker Compose version v<mark>2.10.2<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30b7\u30b9\u30c6\u30e0\u306bDocker Compose\u304c\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3057\u305f\u3002\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3068\u3053\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u5316\u3055\u308c\u305f\u74b0\u5883\u3092\u8d77\u52d5\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72 \u2014 docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a<\/h2>\n<p>Docker Compose\u3092\u4f7f\u7528\u3057\u3066docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068\u64cd\u4f5c\u65b9\u6cd5\u3092\u30c7\u30e2\u30f3\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u305f\u3081\u306b\u3001\u516c\u5f0f\u306eNginx\u30a4\u30e1\u30fc\u30b8\u3092Docker Hub\u304b\u3089\u53d6\u5f97\u3057\u307e\u3059\u3002\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306f\u3001\u5358\u4e00\u306e\u9759\u7684HTML\u30d5\u30a1\u30a4\u30eb\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30db\u30fc\u30e0\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u65b0\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u305d\u308c\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">mkdir<\/span> <mark>~\/compose-demo<\/mark><\/li>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">cd<\/span> <mark>~\/compose-demo<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f\u3001Nginx\u74b0\u5883\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u3068\u306a\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30a9\u30eb\u30c0\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">mkdir<\/span> <mark>app<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u597d\u307f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u65b0\u3057\u3044index.html\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nano<\/span> app\/index.html<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u5185\u5bb9\u3092\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\n<p>\u4ee5\u4e0b\u306e\u6587\u3092\u65e5\u672c\u8a9e\u3067\u8868\u73fe\u3059\u308b\u3002<\/p>\n<p>&#8211; \u539f\u6587: ~\/compose-demo\/app\/index.html<br \/>\n&#8211; \u65e5\u672c\u8a9e: \u300c~\/compose-demo\/app\/index.html\u300d<\/p>\n<\/div>\n<pre class=\"post-pre\"><code><span class=\"token doctype\"><span class=\"token punctuation\">&lt;!<\/span><span class=\"token doctype-tag\">doctype<\/span> <span class=\"token name\">html<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>html<\/span> <span class=\"token attr-name\">lang<\/span><span class=\"token attr-value\"><span class=\"token punctuation attr-equals\">=<\/span><span class=\"token punctuation\">\"<\/span>en<span class=\"token punctuation\">\"<\/span><\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>head<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>meta<\/span> <span class=\"token attr-name\">charset<\/span><span class=\"token attr-value\"><span class=\"token punctuation attr-equals\">=<\/span><span class=\"token punctuation\">\"<\/span>utf-8<span class=\"token punctuation\">\"<\/span><\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>title<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>Docker Compose Demo<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>title<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>link<\/span> <span class=\"token attr-name\">rel<\/span><span class=\"token attr-value\"><span class=\"token punctuation attr-equals\">=<\/span><span class=\"token punctuation\">\"<\/span>stylesheet<span class=\"token punctuation\">\"<\/span><\/span> <span class=\"token attr-name\">href<\/span><span class=\"token attr-value\"><span class=\"token punctuation attr-equals\">=<\/span><span class=\"token punctuation\">\"<\/span>https:\/\/cdn.jsdelivr.net\/gh\/kognise\/water.css@latest\/dist\/dark.min.css<span class=\"token punctuation\">\"<\/span><\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>head<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>body<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n\r\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>h1<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>This is a Docker Compose Demo Page.<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>h1<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>p<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>This content is being served by an Nginx container.<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>p<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n\r\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>body<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>html<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>\r\n<\/code><\/pre>\n<p>\u7d42\u308f\u3063\u305f\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057nano\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001CTRL+X\u3092\u5165\u529b\u3057\u3066\u304b\u3089\u3001Y\u3068ENTER\u3092\u62bc\u3057\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b21\u306b\u3001docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nano<\/span> docker-compose.yml<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306edocker-compose.yml\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u633f\u5165\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>docker-compose.yml-\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff1a\u30c9\u30c3\u30ab\u30fc\u30b3\u30f3\u30dd\u30fc\u30ba.yml<\/div>\n<pre class=\"post-pre\"><code><span class=\"token key atrule\">version<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">'3.7'<\/span>\r\n<span class=\"token key atrule\">services<\/span><span class=\"token punctuation\">:<\/span>\r\n  <span class=\"token key atrule\">web<\/span><span class=\"token punctuation\">:<\/span>\r\n    <span class=\"token key atrule\">image<\/span><span class=\"token punctuation\">:<\/span> nginx<span class=\"token punctuation\">:<\/span>alpine\r\n    <span class=\"token key atrule\">ports<\/span><span class=\"token punctuation\">:<\/span>\r\n      <span class=\"token punctuation\">-<\/span> <span class=\"token string\">\"8000:80\"<\/span>\r\n    <span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span>\r\n      <span class=\"token punctuation\">-<\/span> .\/app<span class=\"token punctuation\">:<\/span>\/usr\/share\/nginx\/html\r\n<\/code><\/pre>\n<p>\u901a\u5e38\u3001docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u5b9a\u7fa9\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001Docker Compose\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u8a2d\u5b9a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f1d\u3048\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u3053\u306e\u74b0\u5883\u306e\u4e00\u90e8\u3067\u3042\u308b\u30b5\u30fc\u30d3\u30b9\u30d6\u30ed\u30c3\u30af\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u6240\u304c\u3042\u308a\u307e\u3059\u3002\u3042\u306a\u305f\u306e\u5834\u5408\u3001web\u3068\u3044\u30461\u3064\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u306f\u3001nginx:alpine\u30a4\u30e1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u3001\u30dd\u30fc\u30c8\u6307\u793a\u3067\u30dd\u30fc\u30c8\u30ea\u30c0\u30a4\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30db\u30b9\u30c8\u30de\u30b7\u30f3\uff08Docker Compose\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30b7\u30b9\u30c6\u30e0\uff09\u306e\u30dd\u30fc\u30c88000\u306e\u3059\u3079\u3066\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u3001Nginx\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u30dd\u30fc\u30c880\u306eweb\u30b3\u30f3\u30c6\u30ca\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30dc\u30ea\u30e5\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306f\u3001\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u3068\u30b3\u30f3\u30c6\u30ca\u9593\u3067\u5171\u6709\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30a2\u30d7\u30ea\u30d5\u30a9\u30eb\u30c0\u304c\u30b3\u30f3\u30c6\u30ca\u3068\u5171\u6709\u3055\u308c\u3001\u305d\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u306f\u30b3\u30f3\u30c6\u30ca\u5185\u306e\/usr\/share\/nginx\/html\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u308c\u306b\u3088\u308aNginx\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u304c\u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u308b\u3002<\/p>\n<p>\u30c7\u30e2\u30da\u30fc\u30b8\u3068docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u3001\u305d\u308c\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u30b3\u30f3\u30c6\u30ca\u5316\u3055\u308c\u305f\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001Docker Compose\u3067\u3053\u306e\u74b0\u5883\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 \u2014 Docker Compose\u3092\u5b9f\u884c\u3059\u308b<\/h2>\n<p>docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3001Docker Compose\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u74b0\u5883\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306f\u5fc5\u8981\u306aDocker\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001Web\u30b5\u30fc\u30d3\u30b9\u7528\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u3001\u30b3\u30f3\u30c6\u30ca\u5316\u3055\u308c\u305f\u74b0\u5883\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose up <span class=\"token parameter variable\">-d<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Docker Compose\u306f\u3001\u307e\u305a\u6307\u5b9a\u3055\u308c\u305f\u30a4\u30e1\u30fc\u30b8\u3092\u30ed\u30fc\u30ab\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u63a2\u3057\u3001\u30a4\u30e1\u30fc\u30b8\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u306fDocker Hub\u304b\u3089\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Creating network &#8220;<mark>compose-demo_default<\/mark>&#8221; with the default driver Pulling web (nginx:alpine)&#8230; alpine: Pulling from library\/nginx cbdbe7a5bc2a: Pull complete 10c113fb0c77: Pull complete 9ba64393807b: Pull complete c829a9c40ab2: Pull complete 61d685417b2f: Pull complete Digest: sha256:57254039c6313fe8c53f1acbf15657ec9616a813397b74b063e32443427c5502 Status: Downloaded newer image for nginx:alpine Creating <mark>compose-demo_web_1<\/mark> &#8230; done<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1aDocker\u30bd\u30b1\u30c3\u30c8\u306b\u95a2\u3059\u308b\u8a31\u53ef\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001Rocky Linux 8\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304a\u3088\u3073\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306e\u30b9\u30c6\u30c3\u30d72\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u305f\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u305d\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u623b\u3063\u3066\u5b8c\u4e86\u3055\u305b\u308b\u3053\u3068\u3067\u3001sudo\u306a\u3057\u3067docker\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u8a31\u53ef\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n<p>\u73fe\u5728\u3001\u74b0\u5883\u306f\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30ca\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose <span class=\"token function\">ps<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u3068\u305d\u306e\u72b6\u614b\u306b\u95a2\u3059\u308b\u60c5\u5831\u3001\u307e\u305f\u73fe\u5728\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30dd\u30fc\u30c8\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Name Command State Ports &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- <mark>compose-demo_web_1<\/mark> \/docker-entrypoint.sh ngin &#8230; Up 0.0.0.0:8000-&gt;80\/tcp<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c7\u30e2\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u5834\u5408\u306flocalhost:8000\u3001\u307e\u305f\u306f\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u5834\u5408\u306fyour_server_domain_or_IP:8000\u306e\u3044\u305a\u308c\u304b\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65646feadaa94e2bdf7b6efd\/54-0.png\" alt=\"Docker Compose Demo Page\" \/><\/div>\n<p>docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u5185\u3067\u8a2d\u5b9a\u3057\u305f\u5171\u6709\u30dc\u30ea\u30e5\u30fc\u30e0\u306b\u3088\u308a\u3001\u30a2\u30d7\u30ea\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u30b3\u30f3\u30c6\u30ca\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30eb\u30fc\u30c8\u3068\u540c\u671f\u3055\u308c\u307e\u3059\u3002index.html\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u66f4\u3092\u52a0\u3048\u308b\u3068\u3001\u30b3\u30f3\u30c6\u30ca\u304c\u81ea\u52d5\u7684\u306b\u305d\u308c\u3092\u8a8d\u8b58\u3057\u3001\u30da\u30fc\u30b8\u3092\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u306b\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001Docker Compose\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u5316\u3055\u308c\u305f\u74b0\u5883\u3092\u7ba1\u7406\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74 &#8211; Docker Compose\u30b3\u30de\u30f3\u30c9\u306e\u7fd2\u719f<\/h2>\n<p>Docker Compose\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3068docker compose up\u3092\u4f7f\u3063\u3066\u74b0\u5883\u3092\u7acb\u3061\u4e0a\u3052\u308b\u65b9\u6cd5\u306f\u65e2\u306b\u3054\u89a7\u306b\u306a\u3063\u305f\u3067\u3057\u3087\u3046\u3002\u4eca\u5ea6\u306f\u3001Docker Compose\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u5316\u3055\u308c\u305f\u74b0\u5883\u3092\u7ba1\u7406\u304a\u3088\u3073\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>Nginx\u30b3\u30f3\u30c6\u30ca\u3067\u751f\u6210\u3055\u308c\u305f\u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001logs\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose logs<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Attaching to <mark>compose-demo_web_1<\/mark> web_1 | \/docker-entrypoint.sh: \/docker-entrypoint.d\/ is not empty, will attempt to perform configuration web_1 | \/docker-entrypoint.sh: Looking for shell scripts in \/docker-entrypoint.d\/ web_1 | \/docker-entrypoint.sh: Launching \/docker-entrypoint.d\/10-listen-on-ipv6-by-default.sh web_1 | 10-listen-on-ipv6-by-default.sh: Getting the checksum of \/etc\/nginx\/conf.d\/default.conf web_1 | 10-listen-on-ipv6-by-default.sh: Enabled listen on IPv6 in \/etc\/nginx\/conf.d\/default.conf web_1 | \/docker-entrypoint.sh: Launching \/docker-entrypoint.d\/20-envsubst-on-templates.sh web_1 | \/docker-entrypoint.sh: Configuration complete; ready for start up web_1 | 172.22.0.1 &#8211; &#8211; [02\/Jun\/2020:10:47:13 +0000] &#8220;GET \/ HTTP\/1.1&#8221; 200 353 &#8220;-&#8221; &#8220;Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/83.0.4103.61 Safari\/537.36&#8221; &#8220;-&#8221;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u74b0\u5883\u306e\u5b9f\u884c\u3092\u4e00\u6642\u505c\u6b62\u3057\u305f\u3044\u5834\u5408\u3001\u73fe\u5728\u306e\u30b3\u30f3\u30c6\u30ca\u306e\u72b6\u614b\u3092\u5909\u66f4\u305b\u305a\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose pause<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Pausing <mark>compose-demo_web_1<\/mark> &#8230; done<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4e00\u6642\u505c\u6b62\u3092\u767a\u884c\u3057\u305f\u5f8c\u3001\u5b9f\u884c\u3092\u518d\u958b\u3059\u308b\u306b\u306f\uff1a- \u4e00\u6642\u505c\u6b62\u3092\u767a\u884c\u3057\u305f\u5f8c\u3001\u5b9f\u884c\u3092\u518d\u958b\u3059\u308b\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose unpause<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Unpausing <mark>compose-demo_web_1<\/mark> &#8230; done<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u505c\u6b62\u30b3\u30de\u30f3\u30c9\u306f\u30b3\u30f3\u30c6\u30ca\u306e\u5b9f\u884c\u3092\u7d42\u4e86\u3055\u305b\u307e\u3059\u304c\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u95a2\u9023\u3059\u308b\u30c7\u30fc\u30bf\u306f\u7834\u68c4\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose stop<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Stopping <mark>compose-demo_web_1<\/mark> &#8230; done<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u95a2\u9023\u3059\u308b\u30b3\u30f3\u30c6\u30ca\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3001\u304a\u3088\u3073\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u524a\u9664\u3059\u308b\u5834\u5408\u306f\u3001\u30c0\u30a6\u30f3\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose down<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Removing <mark>compose-demo_web_1<\/mark> &#8230; done Removing network <mark>compose-demo_default<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>docker-compose\u3067\u74b0\u5883\u3092\u7acb\u3061\u4e0a\u3052\u308b\u969b\u306b\u4f7f\u7528\u3055\u308c\u308b\u30d9\u30fc\u30b9\u30a4\u30e1\u30fc\u30b8\uff08\u4f8b\uff1anginx:alpine\uff09\u306f\u524a\u9664\u3055\u308c\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u305f\u3081\u3001docker compose up\u3067\u74b0\u5883\u3092\u518d\u5ea6\u7acb\u3061\u4e0a\u3052\u308b\u969b\u306b\u306f\u3001\u30a4\u30e1\u30fc\u30b8\u304c\u65e2\u306b\u30b7\u30b9\u30c6\u30e0\u4e0a\u306b\u3042\u308b\u305f\u3081\u3001\u30d7\u30ed\u30bb\u30b9\u304c\u306f\u308b\u304b\u306b\u9ad8\u901f\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u30d9\u30fc\u30b9\u30a4\u30e1\u30fc\u30b8\u3082\u524a\u9664\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> image <span class=\"token function\">rm<\/span> nginx:alpine<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Untagged: nginx:alpine Untagged: nginx@sha256:b89a6ccbda39576ad23fd079978c967cecc6b170db6e7ff8a769bf2259a71912 Deleted: sha256:7d0cdcc60a96a5124763fddf5d534d058ad7d0d8d4c3b8be2aefedf4267d0270 Deleted: sha256:05a0eaca15d731e0029a7604ef54f0dda3b736d4e987e6ac87b91ac7aac03ab1 Deleted: sha256:c6bbc4bdac396583641cb44cd35126b2c195be8fe1ac5e6c577c14752bbe9157 Deleted: sha256:35789b1e1a362b0da8392ca7d5759ef08b9a6b7141cc1521570f984dc7905eb6 Deleted: sha256:a3efaa65ec344c882fe5d543a392a54c4ceacd1efd91662d06964211b1be4c08 Deleted: sha256:3e207b409db364b595ba862cdc12be96dcdad8e36c59a03b7b3b61c946a5741a<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f: Docker\u306e\u30b3\u30de\u30f3\u30c9\u306b\u95a2\u3059\u308b\u3088\u308a\u8a73\u7d30\u306a\u53c2\u7167\u306b\u3064\u3044\u3066\u306f\u3001\u5f0a\u793e\u306eDocker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u4f7f\u7528\u65b9\u6cd5\u30ac\u30a4\u30c9\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001Docker Compose\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068\u3001Nginx\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u30a4\u30e1\u30fc\u30b8\u3092\u57fa\u306b\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u307e\u305f\u3001Compose\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3053\u306e\u74b0\u5883\u3092\u7ba1\u7406\u3059\u308b\u65b9\u6cd5\u3082\u5b66\u3073\u307e\u3057\u305f\u3002<\/p>\n<p>\u3059\u3079\u3066\u306e\u5229\u7528\u53ef\u80fd\u306aDocker Compose\u30b3\u30de\u30f3\u30c9\u306e\u5b8c\u5168\u306a\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3 Docker\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30bb\u30b9\u3092\u7ba1\u7406\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u7c21\u7565\u5316\u3057\u307e\u3059\u3002\u30b3\u30f3\u30c6\u30ca\u306f\u4eee\u60f3\u30de\u30b7\u30f3\u306b\u4f3c\u305f\u8981\u7d20\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3088\u308a\u8efd\u91cf\u3067\u30ea\u30bd\u30fc\u30b9\u306b\u512a\u3057\u3044\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[17,26],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-17","tag-26"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\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.silicloud.com\/ja\/blog\/\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bdocker-compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bdocker-compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-24T15:24:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T13:17:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65646feadaa94e2bdf7b6efd\/54-0.png\" \/>\n<meta name=\"author\" content=\"\u967d, \u5411\u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u967d, \u5411\u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"19\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/\",\"name\":\"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-11-24T15:24:02+00:00\",\"dateModified\":\"2025-07-31T13:17:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c\"},\"description\":\"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c\",\"name\":\"\u967d, \u5411\u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g\",\"caption\":\"\u967d, \u5411\u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hinatasora\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","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.silicloud.com\/ja\/blog\/\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bdocker-compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5","og_description":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bdocker-compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-11-24T15:24:02+00:00","article_modified_time":"2025-07-31T13:17:32+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65646feadaa94e2bdf7b6efd\/54-0.png"}],"author":"\u967d, \u5411\u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u967d, \u5411\u5b87","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"19\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/","name":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-11-24T15:24:02+00:00","dateModified":"2025-07-31T13:17:32+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c"},"description":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"\u30ed\u30c3\u30ad\u30fc\u30ea\u30ca\u30c3\u30af\u30b98\u306bDocker Compose\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4aef6196128551a0f5d66db46c42866c","name":"\u967d, \u5411\u5b87","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ad96b120e219751fa368cbd7d2c48ca01b59185e6ed394449bac72614a760bf3?s=96&d=mm&r=g","caption":"\u967d, \u5411\u5b87"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hinatasora\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/%e3%83%ad%e3%83%83%e3%82%ad%e3%83%bc%e3%83%aa%e3%83%8a%e3%83%83%e3%82%af%e3%82%b98%e3%81%abdocker-compose%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":325778,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/280\/revisions\/325778"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}