{"id":158,"date":"2023-10-03T17:10:14","date_gmt":"2022-10-18T14:36:06","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2025-07-31T21:15:20","modified_gmt":"2025-07-31T12:15:20","slug":"ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\u306e\u65b9\u6cd5"},"content":{"rendered":"<h3>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3<\/h3>\n<p>Nginx\u306f\u3001\u9759\u7684\u307e\u305f\u306f\u52d5\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u914d\u4fe1\u3001\u9006\u30d7\u30ed\u30ad\u30b7\u3001\u8ca0\u8377\u5206\u6563\u3001\u305d\u306e\u4ed6\u306eHTTP\u3084\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u306e\u6a5f\u80fd\u306b\u4f7f\u7528\u3055\u308c\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u5927\u91cf\u306e\u540c\u6642\u63a5\u7d9a\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u4f5c\u3089\u308c\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u3067\u6700\u5927\u304b\u3064\u6700\u3082\u30a2\u30af\u30bb\u30b9\u306e\u591a\u3044\u30b5\u30a4\u30c8\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306b\u4f7f\u7528\u3055\u308c\u308b\u4eba\u6c17\u306e\u3042\u308b\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002<\/p>\n<p>Docker\u306f\u4eba\u6c17\u306e\u3042\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30b3\u30f3\u30c6\u30ca\u5316\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001\u5f93\u6765\u306e\u30b5\u30fc\u30d0\u30fc\u3084\u4eee\u60f3\u30de\u30b7\u30f3\u306b\u6bd4\u3079\u3066\u5c11\u306a\u3044\u30ea\u30bd\u30fc\u30b9\u3092\u6d88\u8cbb\u3057\u306a\u304c\u3089\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30dd\u30fc\u30bf\u30d6\u30eb\u3067\u4e00\u8cab\u3057\u305f\u5b9f\u884c\u74b0\u5883\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002Docker\u306f\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3057\u3001\u30ab\u30fc\u30cd\u30eb\u3084\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u30ea\u30bd\u30fc\u30b9\u3092\u5171\u6709\u3057\u306a\u304c\u3089\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u30ec\u30d9\u30eb\u3067\u5b9f\u884c\u3055\u308c\u308b\u5206\u96e2\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u30b9\u30da\u30fc\u30b9\u74b0\u5883\u3067\u3059\u3002<\/p>\n<p>Nginx\u3092\u30b3\u30f3\u30c6\u30ca\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u306e\u624b\u9593\u3092\u524a\u6e1b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u3067Nginx\u306e\u7ba1\u7406\u3084\u30bd\u30fc\u30b9\u304b\u3089\u30d3\u30eb\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002Docker\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eNginx\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u5834\u5408\u306b\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u5168\u4f53\u3092\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001Nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3068\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u307f\u3092\u7ba1\u7406\u3059\u308c\u3070\u826f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Nginx\u3092Docker\u30b3\u30f3\u30c6\u30ca\u3067\u8a2d\u5b9a\u3057\u3066\u3001\u5c0f\u3055\u306a\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u63d0\u4f9b\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u5f93\u3046\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>One Ubuntu 22.04 server set up by following the Ubuntu 22.04 initial server setup guide, including a sudo non-root user and a firewall.<\/li>\n<li>Docker installed on your server. Complete Steps 1 and 2 of our How To Install and Use Docker on Ubuntu 22.04 tutorial.<\/li>\n<\/ul>\n<p>\u3042\u306a\u305f\u306e\u30b5\u30fc\u30d0\u30fc\u306bDocker\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u9032\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71 \u2014 Docker Hub\u304b\u3089Nginx\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p>Docker\u306f\u3001\u516c\u5f0f\u3068\u30e6\u30fc\u30b6\u30fc\u304c\u63d0\u4f9b\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u3092\u542b\u3080Docker\u30d5\u30a1\u30a4\u30eb\u306e\u516c\u958b\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3042\u308bDockerhub\u3068\u3044\u3046\u30b5\u30a4\u30c8\u3092\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002Docker\u306e\u516c\u5f0f\u30a4\u30e1\u30fc\u30b8\u306f\u3001\u72ec\u81ea\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30d3\u30eb\u30c9\u3059\u308b\u624b\u9593\u3092\u7701\u304f\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8fc5\u901f\u306a\u958b\u767a\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30a4\u30e1\u30fc\u30b8\u306f\u3001Docker\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u3088\u3063\u3066\u7ba1\u7406\u3055\u308c\u3066\u304a\u308a\u3001\u6700\u3082\u4e00\u822c\u7684\u306a\u4f7f\u7528\u30b1\u30fc\u30b9\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u8a2d\u5b9a\u3092\u5099\u3048\u305f\u30d7\u30ea\u30d3\u30eb\u30c9\u6e08\u307f\u306eDocker\u30a4\u30e1\u30fc\u30b8\u304b\u3089Nginx\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\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> pull nginx<\/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>\u30b3\u30f3\u30c6\u30ca\u306e\u305f\u3081\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Docker\u306f\u3053\u308c\u3089\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3066\u304a\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u306f\u6bce\u56de\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Nginx\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u8a2d\u5b9a\u3057\u3066\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u516c\u958b\u3067\u304d\u307e\u3059\u3002Nginx Docker\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\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> run <span class=\"token parameter variable\">&#8211;name<\/span> <mark>docker-nginx<\/mark> <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">80<\/span>:80 nginx<\/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\u306b\u3064\u3044\u3066\u3001\u4ee5\u4e0b\u306b\u7c21\u5358\u306a\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>run is the command to create a new container<\/li>\n<li>The &#8211;name flag is how you specify the name of the container. If left blank, a generated name like nostalgic_hopper will be assigned.<\/li>\n<li>-p specifies the port you are exposing in the format of -p local-machine-port:internal-container-port. In this case, you are mapping port :80 in the container to port :80 on the server.<\/li>\n<li>nginx is the name of the image on Docker Hub.<\/li>\n<\/ul>\n<p>\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3066\u3001Nginx\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3092\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65646585daa94e2bdf7b4508\/19-0.png\" alt=\"Nginx default landing page\" \/><\/div>\n<p>\u307e\u305f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u3082\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3046\u305f\u3073\u306bNginx\u306e\u30ed\u30b0\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u3082\u6c17\u3065\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u5b9f\u884c\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u3001\u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62\u3059\u308b\u306b\u306f\u3001CTRL+C\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b3\u30f3\u30c6\u30ca\u3092\u9589\u3058\u305f\u305f\u3081\u3001\u3082\u3046\u7740\u9678\u30da\u30fc\u30b8\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30b3\u30f3\u30c6\u30ca\u306e\u72b6\u614b\u3092\u78ba\u8a8d\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> <span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-a<\/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<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>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 05012ab02ca1 nginx &#8220;nginx -g &#8216;daemon off&#8221; 57 seconds ago Exited (0) 47 seconds ago docker-nginx<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u51fa\u529b\u304b\u3089\u5206\u304b\u308b\u3068\u3053\u308d\u3067\u306f\u3001Docker\u30b3\u30f3\u30c6\u30ca\u304c\u7d42\u4e86\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u660e\u3089\u304b\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u65e2\u5b58\u306edocker-nginx\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\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> <span class=\"token function\">rm<\/span> docker-nginx<\/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\u306e\u6bb5\u968e\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u5206\u96e2\u3057\u3066\u72ec\u7acb\u3057\u3066\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72\uff1a\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30e2\u30fc\u30c9\u3067\u306e\u5b9f\u884c<\/h2>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u72ec\u7acb\u3057\u305f Nginx \u30b3\u30f3\u30c6\u30ca\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\">docker<\/span> run <span class=\"token parameter variable\">&#8211;name<\/span> docker-nginx <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">80<\/span>:80 <span class=\"token parameter variable\">-d<\/span> nginx<\/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>-d\u30d5\u30e9\u30b0\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u51fa\u529b\u306f\u30b3\u30f3\u30c6\u30ca\u306eID\u3067\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>b91f3ce26553f3ffc8115d2a8a3ad2706142e73d56dc279095f673580986257<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c9\u30c3\u30ab\u30fc\u306eps\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u3064\u3044\u3066\u306e\u65b0\u3057\u3044\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> <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<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>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b91f3ce26553 nginx &#8220;\/docker-entrypoint.\u2026&#8221; 56 seconds ago Up 54 seconds 0.0.0.0:80-&gt;80\/tcp, :::80-&gt;80\/tcp docker-nginx<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>STATUS\u5217\u306b\u306f\u3001Exited\uff080\uff09 X\u5206\u524d\u3067\u306f\u306a\u304f\u3001\u4eca\u306f\u7d041\u5206up\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u51fa\u529b\u306e\u4e00\u90e8\u3068\u3057\u3066\u30dd\u30fc\u30c8\u30de\u30c3\u30d4\u30f3\u30b0\u3082\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u3082\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u518d\u3073\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u306b\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4eca\u56de\u306f\u3001Docker\u306b\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u30c7\u30bf\u30c3\u30c1\u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3059\u308b\u3088\u3046\u6307\u5b9a\u3059\u308b\u305f\u3081\u306e-d\u30d5\u30e9\u30b0\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u5b9f\u884c\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u73fe\u5728\u3001\u30c7\u30bf\u30c3\u30c1\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30ca\u5185\u3067Nginx\u306e\u5b9f\u884c\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u73fe\u6642\u70b9\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u306f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62\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> stop docker-nginx<\/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>\u30b3\u30f3\u30c6\u30ca\u304c\u505c\u6b62\u3057\u305f\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\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> <span class=\"token function\">rm<\/span> docker-nginx<\/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>\u4eca\u3001\u30b3\u30f3\u30c6\u30ca\u30fc\u304b\u3089\u72ec\u7acb\u3057\u305f\u5f62\u3067Nginx\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u3063\u305f\u306e\u3067\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3001Nginx\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 &#8211; Nginx\u3067\u63d0\u4f9b\u3059\u308b\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u306e\u4f5c\u6210<\/h2>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u305f\u3081\u306b\u30ab\u30b9\u30bf\u30e0\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u3088\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u5916\u3067\u30db\u30b9\u30c8\u3055\u308c\u308b\u6301\u7d9a\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u7528\u306e\u65b0\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\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\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/docker-nginx\/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\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\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 builtin class-name\">cd<\/span> ~\/docker-nginx\/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>\u30b5\u30fc\u30d0\u30fc\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306eHTML\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306fnano\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u304a\u597d\u304d\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nano<\/span> 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>\u4ee5\u4e0b\u306eHTML\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u633f\u5165\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><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  <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>title<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>Docker nginx Tutorial<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>head<\/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>div<\/span> <span class=\"token attr-name\">class<\/span><span class=\"token attr-value\"><span class=\"token punctuation attr-equals\">=<\/span><span class=\"token punctuation\">\"<\/span>container<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>h1<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>Hello Silicon Cloud<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 Nginx page is brought to you by Docker and Silicon Cloud<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    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>div<\/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<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>\u3082\u3057\u3082\u3042\u306a\u305f\u304cnano\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u300cCTRL+X\u300d\u3001\u305d\u3057\u3066\u300cY\u300d\u3001\u305d\u3057\u3066\u300cENTER\u300d\u3092\u62bc\u3057\u3066\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7d42\u4e86\u3057\u3066\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4eca\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3092\u7f6e\u304d\u63db\u3048\u308b\u7d22\u5f15\u30da\u30fc\u30b8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74\uff1a\u30b3\u30f3\u30c6\u30ca\u3092\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u30ea\u30f3\u30af\u3059\u308b<\/h2>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001Nginx\u3092\u30b3\u30f3\u30c6\u30ca\u306b\u30ea\u30f3\u30af\u3057\u3066\u3001\u30dd\u30fc\u30c880\u3092\u4ecb\u3057\u3066\u516c\u958b\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3001\u307e\u305f\u30b5\u30fc\u30d0\u30fc\u4e0a\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u30b3\u30f3\u30c6\u30f3\u30c4\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<p>Docker\u3067\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u30ed\u30fc\u30ab\u30eb\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30b3\u30f3\u30c6\u30ca\u306b\u30ea\u30f3\u30af\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u65b0\u3057\u3044\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u63d0\u4f9b\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e0e\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Dockerfile\u306e\u4e00\u90e8\u3068\u3057\u3066\u3001\u307e\u305f\u306f\u305d\u306e\u5f8c\u306b\u30b3\u30f3\u30c6\u30ca\u5185\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u3067\u306f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306f\u30b3\u30f3\u30c6\u30ca\u5185\u306b\u9759\u7684\u306a\u72b6\u614b\u3067\u6b8b\u308a\u307e\u3059\u3002Docker\u306e\u30c7\u30fc\u30bf\u30dc\u30ea\u30e5\u30fc\u30e0\u6a5f\u80fd\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3068\u30b3\u30f3\u30c6\u30ca\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u9593\u306b\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u65e2\u5b58\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u305f\u308a\u3001\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30b3\u30f3\u30c6\u30ca\u306f\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002Docker\u3068\u30dc\u30ea\u30e5\u30fc\u30e0\u306b\u95a2\u3057\u3066\u3082\u3063\u3068\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u5834\u5408\u306f\u3001\u30c7\u30fc\u30bf\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001Nginx\u30b3\u30f3\u30c6\u30ca\u306f\/index.html\u3092\/usr\/share\/nginx\/html\u3067\u63a2\u3057\u307e\u3059\u3002\u65b0\u3057\u3044Docker\u30b3\u30f3\u30c6\u30ca\u3067\u306f\u3001\u305d\u306e\u5834\u6240\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u63d0\u4f9b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u884c\u3046\u305f\u3081\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u306e~\/docker-nginx\/html\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u30b3\u30f3\u30c6\u30ca\u30fc\u5185\u306e\u76f8\u5bfe\u30d1\u30b9\/usr\/share\/nginx\/html\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u305f\u3081\u306b\u3001-v\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\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> <mark>docker-nginx<\/mark> <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">80<\/span>:80 <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">-v<\/span> ~\/docker-nginx\/html:\/usr\/share\/nginx\/html nginx<\/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>\u4ee5\u4e0b\u306f\u30b3\u30de\u30f3\u30c9\u306e\u7c21\u5358\u306a\u8aac\u660e\u3067\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>-v flag specifies that you\u2019re linking a volume.<\/li>\n<li>To the left of the : is the location of your directory on your server, ~\/docker-nginx\/html.<\/li>\n<li>To the right of the : is the location that you are symbolically linking to your container \/usr\/share\/nginx\/html.<\/li>\n<\/ul>\n<p>\u305d\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u5f8c\u3001\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u5165\u529b\u3057\u3066\u65b0\u3057\u3044\u30e9\u30f3\u30c7\u30a3\u30f3\u30b0\u30da\u30fc\u30b8\u3092\u8868\u793a\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\/65646585daa94e2bdf7b4508\/68-0.png\" alt=\"Your new default landing page beings served on the website\" \/><\/div>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u306e\u8a2d\u5b9a\u3067\u6e80\u8db3\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4ed6\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>~ \/docker-nginx\/html\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3055\u3089\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u306f\u30e9\u30a4\u30d6\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001HTML\u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u3092\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3059\u308c\u3070\u3001\u305d\u308c\u304c\u9069\u5207\u306b\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u65b9\u6cd5\u3067HTML\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u5b8c\u5168\u306a\u30b5\u30a4\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001about.html\u30da\u30fc\u30b8\u3092\u8ffd\u52a0\u3057\u305f\u5834\u5408\u3001\u30b3\u30f3\u30c6\u30ca\u3068\u306e\u3084\u308a\u53d6\u308a\u306a\u3057\u306bhttp:\/\/your_server_ip\/about.html\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d75 \u2014 \u72ec\u81ea\u306eNginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\uff08\u30aa\u30d7\u30b7\u30e7\u30f3\uff09<\/h2>\n<p>Nginx\u306e\u6a5f\u80fd\u306b\u3088\u308a\u591a\u304f\u306e\u5236\u5fa1\u3092\u6301\u3061\u305f\u3044\u5834\u5408\u306f\u3001Docker\u30b3\u30f3\u30c6\u30ca\u3068\u4e00\u7dd2\u306b\u30ab\u30b9\u30bf\u30e0\u306eNginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u623b\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\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 builtin class-name\">cd<\/span> ~\/docker-nginx<\/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\u306e\u30b3\u30d4\u30fc\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001Nginx\u306e\u8a2d\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\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> <span class=\"token function\">cp<\/span> docker-nginx:\/etc\/nginx\/conf.d\/default.conf default.conf<\/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>Nginx\u306b\u306f\u30ab\u30b9\u30bf\u30e0\u306e.conf\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u518d\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62\u3055\u305b\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> stop docker-nginx<\/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>\u305d\u308c\u3092\u53d6\u308a\u9664\u3044\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> <span class=\"token function\">rm<\/span> docker-nginx<\/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>\u73fe\u5728\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306eNginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u7de8\u96c6\u3057\u3066\u3001\u65b0\u3057\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u63d0\u4f9b\u3059\u308b\u304b\u3001\u307e\u305f\u306fproxy_pass\u3092\u4f7f\u7528\u3057\u3066\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30b3\u30f3\u30c6\u30ca\u306b\u8ee2\u9001\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u901a\u5e38\u306eNginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u540c\u69d8\u306b\u3001Nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u306f\u3001\u5f0a\u793e\u306eNginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u30ac\u30a4\u30c9\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u305f\u3089\u3001Nginx\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3059\u308b\u6642\u9593\u3067\u3059\u3002\u9069\u5207\u306a\u30d1\u30b9\u3092\u6301\u3064-v\u30d5\u30e9\u30b0\u3092\u8ffd\u52a0\u3057\u3066\u3001\u65b0\u3057\u3044Nginx\u30b3\u30f3\u30c6\u30ca\u306b\u81ea\u5206\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u9069\u5207\u306a\u30ea\u30f3\u30af\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\uff1a<\/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> docker-nginx <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">80<\/span>:80 <span class=\"token parameter variable\">-v<\/span> ~\/docker-nginx\/html:\/usr\/share\/nginx\/html <span class=\"token parameter variable\">-v<\/span> ~\/docker-nginx\/default.conf:\/etc\/nginx\/conf.d\/default.conf <span class=\"token parameter variable\">-d<\/span> nginx<\/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\u30ab\u30b9\u30bf\u30e0\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30da\u30fc\u30b8\u3092\u30b3\u30f3\u30c6\u30ca\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u305f\u5f8c\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u518d\u8d77\u52d5\u3059\u308b\u305f\u3081\u306bdocker restart\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001Nginx\u304c\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u3066\u3082\u30db\u30c3\u30c8\u30ea\u30ed\u30fc\u30c9\u3057\u306a\u3044\u305f\u3081\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> restart docker-nginx<\/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\u3088\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u304c\u518d\u8d77\u52d5\u3055\u308c\u3001\u95a2\u9023\u3059\u308b\u30da\u30fc\u30b8\u306b\u5909\u66f4\u304c\u53cd\u6620\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u73fe\u5728\u3001\u30ab\u30b9\u30bf\u30e0\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u63d0\u4f9b\u3059\u308bNginx\u30b3\u30f3\u30c6\u30ca\u304c\u5b9f\u884c\u4e2d\u3067\u3042\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u304b\u3089Nginx\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3057\u305f\u3002<\/p>\n<p>\u3082\u3057\u30b3\u30f3\u30c6\u30ca\u306e\u4ed5\u7d44\u307f\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u5b66\u3073\u305f\u3044\u3068\u601d\u3063\u305f\u3089\u3001\u79c1\u305f\u3061\u306e\u30b3\u30f3\u30c6\u30ca\u5165\u9580\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092 rep=og:&#8230;\u518d\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u3082\u3057\u3042\u306a\u305f\u304c2\u3064\u306eDocker\u30b3\u30f3\u30c6\u30ca\u9593\u3067\u30c7\u30fc\u30bf\u3092\u5171\u6709\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u305f\u3044\u3068\u8208\u5473\u304c\u3042\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u79c1\u305f\u3061\u306e\u300cDocker\u30b3\u30f3\u30c6\u30ca\u9593\u3067\u30c7\u30fc\u30bf\u3092\u5171\u6709\u3059\u308b\u65b9\u6cd5\u300d\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30c8\u30ed\u30c0\u30af\u30b7\u30e7\u30f3 Nginx\u306f\u3001\u9759\u7684\u307e\u305f\u306f\u52d5\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u914d\u4fe1\u3001\u9006\u30d7\u30ed\u30ad\u30b7\u3001\u8ca0\u8377\u5206\u6563\u3001\u305d\u306e\u4ed6\u306eHTTP\u3084\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u306e\u6a5f\u80fd\u306b\u4f7f\u7528\u3055\u308c\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u5927\u91cf\u306e\u540c\u6642\u63a5\u7d9a\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u4f5c\u3089\u308c\u3001\u30a4 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,26],"class_list":["post-158","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","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>Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/ubuntu-22-04\u3067docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067nginx\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/ubuntu-22-04\u3067docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067nginx\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-18T14:36:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T12:15:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65646585daa94e2bdf7b4508\/19-0.png\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\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=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"18\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\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-10-18T14:36:06+00:00\",\"dateModified\":\"2025-07-31T12:15:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"description\":\"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/ubuntu-22-04\u3067docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067nginx\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\u306e\u65b9\u6cd5","og_description":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/ubuntu-22-04\u3067docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067nginx\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-10-18T14:36:06+00:00","article_modified_time":"2025-07-31T12:15:20+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65646585daa94e2bdf7b4508\/19-0.png"}],"author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"18\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-10-18T14:36:06+00:00","dateModified":"2025-07-31T12:15:20+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"description":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 22.04\u3067Docker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067Nginx\u3092\u5b9f\u884c\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\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7docker%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8a%e4%b8%8a%e3%81%a7nginx%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/158","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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":325722,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions\/325722"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}