{"id":497,"date":"2022-12-09T00:27:37","date_gmt":"2022-11-21T19:01:00","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/"},"modified":"2025-08-01T00:02:47","modified_gmt":"2025-07-31T15:02:47","slug":"dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/","title":{"rendered":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u8aad\u8005\u306e\u307f\u306a\u3055\u3093\uff01\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Dockerfile\u3092\u4f7f\u3063\u3066Apache Web\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u59cb\u3081\u307e\u3057\u3087\u3046\uff01(De wa, hajimemashou!)<\/p>\n<hr \/>\n<h2>\u30a2\u30d1\u30c3\u30c1\u30b5\u30fc\u30d0\u30fc\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h2>\n<p>Apache Server\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3067\u3042\u308a\u3001\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30aa\u30f3\u30e9\u30a4\u30f3\u304a\u3088\u3073\u30ed\u30fc\u30ab\u30eb\u3067\u8a2d\u5b9a\u304a\u3088\u3073\u30db\u30b9\u30c8\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3001\u305d\u306e\u5a92\u4f53\u3068\u3057\u3066localhost\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ef\u30fc\u30af\u30b9\u30c6\u30fc\u30b7\u30e7\u30f3\u306bApache\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3057\u305f\u3044\u5834\u5408\u3001\u591a\u304f\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3001Docker\u306fDockerfile\u3068\u3044\u3046\u6982\u5ff5\u3092\u5c0e\u5165\u3057\u3001\u7c21\u5358\u306b\u69cb\u7bc9\u3084\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u30c8\u30d4\u30c3\u30af\u306e\u9032\u884c\u4e2d\u306b\u3001\u6700\u5c0f\u9650\u306e\u624b\u9806\u3067\u79c1\u305f\u3061\u306e\u30b7\u30b9\u30c6\u30e0\u306bApache\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<h2>Dockerfile\u3092\u901a\u3058\u3066\u306eApache Server<\/h2>\n<p>Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache\u30b5\u30fc\u30d0\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Apache\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u95a2\u9023\u3059\u308b\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Dockerfile\u3092\u4f5c\u6210\u3059\u308b<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>Dockerfile\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30e1\u30fc\u30b8\u3092\u69cb\u7bc9\u3057\u3001\u4fbf\u5b9c\u306e\u305f\u3081\u306b\u540c\u3058\u30bf\u30b0\u3092\u3064\u3051\u308b<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>Apache\u30b5\u30fc\u30d0\u30fc\u3092\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b<\/ol>\n<hr \/>\n<h3>\u30b9\u30c6\u30c3\u30d71\uff1aApache\u30b5\u30fc\u30d0\u30fc\u30d5\u30a1\u30a4\u30eb\u7528\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n<p>\u6700\u521d\u306b\u3001mkdir\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001Apache\u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u305f\u3081\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">mkdir<\/span> apache_folder<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<h3>\u30b9\u30c6\u30c3\u30d72: Dockerfile\u306e\u4f5c\u6210<\/h3>\n<p>\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306bvi\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066Dockerfile\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">vi<\/span> Dockerfile<\/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>\u524d\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001vi\u30a8\u30c7\u30a3\u30bf\u304c\u958b\u304d\u307e\u3059\u3002\u6b21\u306b\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092Dockerfile\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">FROM ubuntu<\/li>\n<li data-prefix=\"$\">RUN <span class=\"token function\">apt<\/span> update<\/li>\n<li data-prefix=\"$\">RUN <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> \u2013y apache2<\/li>\n<li data-prefix=\"$\">RUN <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> \u2013y apache2-utils<\/li>\n<li data-prefix=\"$\">RUN <span class=\"token function\">apt<\/span> clean<\/li>\n<li data-prefix=\"$\">EXPOSE <span class=\"token number\">80<\/span><\/li>\n<li data-prefix=\"$\">CMD <span class=\"token punctuation\">[<\/span>\u201capache2ctl\u201d, \u201c-D\u201d, \u201cFOREGROUND\u201d<span class=\"token punctuation\">]<\/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>\u30a8\u30c7\u30a3\u30bf\u3092\u7d42\u4e86\u3059\u308b\u306b\u306f\u3001ESC\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304b\u3089\u3001:&lt;wq!\u3068\u5165\u529b\u3057\u3066\u304b\u3089\u3001\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30b9\u30c6\u30c3\u30d73\uff1aDocker\u30a4\u30e1\u30fc\u30b8\u306e\u30bf\u30b0\u4ed8\u3051\u3068\u30d3\u30eb\u30c9<\/h3>\n<p>\u4eca\u3001\u79c1\u305f\u3061\u306fdocker build\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066Dockerfile\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u3001\u4f5c\u6210\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u30921.0\u3068\u3057\u3066\u30bf\u30b0\u4ed8\u3051\u3057\u3001\u30a4\u30e1\u30fc\u30b8\u306b\u30ab\u30b9\u30bf\u30e0\u540d\uff08\u305f\u3068\u3048\u3070\u3001apache_image\uff09\u3092\u8a2d\u5b9a\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> build <span class=\"token parameter variable\">-t<\/span> apache_image:1.0 <span class=\"token builtin class-name\">.<\/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>\u30a4\u30e1\u30fc\u30b8\u304c\u4f5c\u6210\u3055\u308c\u305f\u3089\u3001docker images\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30e1\u30fc\u30b8\u306e\u5b58\u5728\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u300cdocker images\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30d3\u30eb\u30c9\u3055\u308c\u305f\u3042\u308b\u3044\u306f\u516c\u5171\u307e\u305f\u306f\u79c1\u6709\u306e\u30ec\u30b8\u30b9\u30c8\u30ea\u304b\u3089\u30d7\u30eb\u3055\u308c\u305f\u3059\u3079\u3066\u306e\u30a4\u30e1\u30fc\u30b8\u306e\u30ea\u30b9\u30c8\u3092\u63d0\u4f9b\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> images<\/li>\n<li data-prefix=\"$\">REPOSITORY TAG IMAGE ID CREATED SIZE<\/li>\n<li data-prefix=\"$\">apache_image <span class=\"token number\">1.0<\/span> a738dbef66ef <span class=\"token number\">15<\/span> seconds ago 133MB<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<h3>\u30b9\u30c6\u30c3\u30d74: Docker\u30a4\u30e1\u30fc\u30b8\u3092\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n<p>\u30a4\u30e1\u30fc\u30b8\u3092\u69cb\u7bc9\u3057\u305f\u3089\u3001\u305d\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u3067\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30b3\u30f3\u30c6\u30ca\u3092\u30c7\u30bf\u30c3\u30c1\u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3057\u3001\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u9023\u7d9a\u7684\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002docker run\u30b3\u30de\u30f3\u30c9\u306b\u306f-d\u3092\u542b\u3081\u3066\u304f\u3060\u3055\u3044\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>Apache\u30b5\u30fc\u30d0\u30fc\u3092\u30db\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u30dd\u30fc\u30c880\uff08HTTP\uff09\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002-p 80:80\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u3092localhost\u4e0a\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/ol>\n<p>\u3057\u305f\u304c\u3063\u3066\u3001docker run\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30a4\u30e1\u30fc\u30b8\u3068\u95a2\u9023\u3059\u308b\u30bf\u30b0\u3092\u5165\u529b\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u3001\u305d\u308c\u3092\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066\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> run <span class=\"token parameter variable\">&#8211;name<\/span> myapache <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">80<\/span>:80 apache_image:1.0<\/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>docker ps\r\nCONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                NAMES\r\n443848c30b74        apache_image:1.0     \"\/docker-entrypoint.\u2026\"   7 seconds ago       Up 6 seconds        0.0.0.0:80-&gt;80\/tcp   myapache\r\n<\/code><\/pre>\n<h3>\u30b9\u30c6\u30c3\u30d75\uff1aApache Server\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d7\u30ec\u30bc\u30f3\u30b9\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/h3>\n<p>\u30b7\u30b9\u30c6\u30e0\u4e0a\u306eApache\u30b5\u30fc\u30d0\u30fc\u306e\u5b58\u5728\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u4efb\u610f\u306e\u30ed\u30fc\u30ab\u30eb\u30d6\u30e9\u30a6\u30b6\u3092\u958b\u304d\u3001localhost:\u3068\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65648f1ddaa94e2bdf7bd7b8\/36-0.png\" alt=\"Image\" \/><\/div>\n<hr \/>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u3053\u306e\u30c8\u30d4\u30c3\u30af\u306f\u7d42\u308f\u308a\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3082\u3057\u8cea\u554f\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u9060\u616e\u306a\u304f\u30b3\u30e1\u30f3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Docker\u306b\u95a2\u9023\u3059\u308b\u3088\u308a\u591a\u304f\u306e\u6295\u7a3f\u3092\u3054\u89a7\u3044\u305f\u3060\u304f\u305f\u3081\u306b\u3001\u304a\u697d\u3057\u307f\u306b\u3057\u3066\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b3\u30e1\u30f3\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u3066\u3001\u304a\u4ed5\u4e8b\u7528\u306e\u30ef\u30fc\u30af\u30b9\u30c6\u30fc\u30b7\u30e7\u30f3\u3067Apache\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u884c\u3063\u305f\u7d4c\u9a13\u306b\u3064\u3044\u3066\u662f\u975e\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u308c\u307e\u3067\u3001\u5b66\u3073\u306e\u4e2d\u3067\u5e78\u305b\u3092\u611f\u3058\u3066\u304f\u3060\u3055\u3044\uff01(Sore made, manabi no naka de shiawase o kanjite kudasai!)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u8aad\u8005\u306e\u307f\u306a\u3055\u3093\uff01\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Dockerfile\u3092\u4f7f\u3063\u3066Apache Web\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002 \u3067\u306f\u3001\u59cb\u3081\u307e\u3057\u3087\u3046\uff01(De wa, hajimemashou!) \u30a2\u30d1\u30c3\u30c1\u30b5\u30fc\u30d0\u30fc [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-497","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"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>Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\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\/dockerfile\u3092\u4f7f\u7528\u3057\u3066apache-web-server\u3092\u69cb\u7bc9\u3059\u308b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\" \/>\n<meta property=\"og:description\" content=\"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\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\/dockerfile\u3092\u4f7f\u7528\u3057\u3066apache-web-server\u3092\u69cb\u7bc9\u3059\u308b\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-21T19:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T15:02:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65648f1ddaa94e2bdf7bd7b8\/36-0.png\" \/>\n<meta name=\"author\" content=\"\u84ee, \u7ffc\" \/>\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=\"\u84ee, \u7ffc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"6\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\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/\",\"name\":\"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-11-21T19:01:00+00:00\",\"dateModified\":\"2025-07-31T15:02:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413\"},\"description\":\"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\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\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\"}]},{\"@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\/cdc124a0aaebf26393d8d591183ca413\",\"name\":\"\u84ee, \u7ffc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"caption\":\"\u84ee, \u7ffc\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b - Blog - Silicon Cloud","description":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\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\/dockerfile\u3092\u4f7f\u7528\u3057\u3066apache-web-server\u3092\u69cb\u7bc9\u3059\u308b\/","og_locale":"ja_JP","og_type":"article","og_title":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b","og_description":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\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\/dockerfile\u3092\u4f7f\u7528\u3057\u3066apache-web-server\u3092\u69cb\u7bc9\u3059\u308b\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-21T19:01:00+00:00","article_modified_time":"2025-07-31T15:02:47+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65648f1ddaa94e2bdf7bd7b8\/36-0.png"}],"author":"\u84ee, \u7ffc","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u84ee, \u7ffc","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"6\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/","name":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-11-21T19:01:00+00:00","dateModified":"2025-07-31T15:02:47+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413"},"description":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b\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\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Dockerfile\u3092\u4f7f\u7528\u3057\u3066Apache Web Server\u3092\u69cb\u7bc9\u3059\u308b"}]},{"@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\/cdc124a0aaebf26393d8d591183ca413","name":"\u84ee, \u7ffc","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","caption":"\u84ee, \u7ffc"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/dockerfile%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6apache-web-server%e3%82%92%e6%a7%8b%e7%af%89%e3%81%99%e3%82%8b\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/497","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=497"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/497\/revisions"}],"predecessor-version":[{"id":41374,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/497\/revisions\/41374"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}