{"id":135,"date":"2022-09-10T00:57:12","date_gmt":"2022-11-13T02:52:19","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/"},"modified":"2025-07-31T21:03:02","modified_gmt":"2025-07-31T12:03:02","slug":"ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/","title":{"rendered":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5"},"content":{"rendered":"<p>\u7b46\u8005\u306f\u3001\u300cWrite for Donations\uff08\u5bc4\u4ed8\u306e\u305f\u3081\u306e\u57f7\u7b46\uff09\u30d7\u30ed\u30b0\u30e9\u30e0\u300d\u306e\u4e00\u74b0\u3068\u3057\u3066\u3001\u5bc4\u4ed8\u3092\u53d7\u3051\u308b\u305f\u3081\u306b\u30d5\u30ea\u30fc\u304b\u3064\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d5\u30a1\u30f3\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u5c0e\u5165\u6587<\/h3>\n<p>Docker Registry\u306f\u3001Docker\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u306e\u4fdd\u5b58\u3068\u914d\u4fe1\u3092\u7ba1\u7406\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002\u30ec\u30b8\u30b9\u30c8\u30ea\u306f\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u3092\u96c6\u4e2d\u7ba1\u7406\u3057\u3001\u958b\u767a\u8005\u306e\u30d3\u30eb\u30c9\u6642\u9593\u3092\u77ed\u7e2e\u3057\u307e\u3059\u3002Docker\u30a4\u30e1\u30fc\u30b8\u306f\u4eee\u60f3\u5316\u306b\u3088\u308a\u540c\u3058\u30e9\u30f3\u30bf\u30a4\u30e0\u74b0\u5883\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u304c\u3001\u30a4\u30e1\u30fc\u30b8\u306e\u69cb\u7bc9\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Docker\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u4f9d\u5b58\u95a2\u4fc2\u3084\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u500b\u5225\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u958b\u767a\u8005\u306f\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u542b\u3093\u3060\u5727\u7e2e\u30a4\u30e1\u30fc\u30b8\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u958b\u767a\u8005\u306fTravisCI\u306a\u3069\u306e\u7d99\u7d9a\u7684\u30a4\u30f3\u30c6\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u81ea\u52d5\u7684\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u3001\u672c\u756a\u3084\u958b\u767a\u4e2d\u306b\u30a4\u30e1\u30fc\u30b8\u3092\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u66f4\u65b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Docker Hub\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u306eDocker\u30a4\u30e1\u30fc\u30b8\u3092\u30db\u30b9\u30c8\u3067\u304d\u308b\u7121\u6599\u306e\u30d1\u30d6\u30ea\u30c3\u30af\u30ec\u30b8\u30b9\u30c8\u30ea\u3067\u3059\u304c\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u516c\u958b\u3057\u305f\u304f\u306a\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002\u901a\u5e38\u3001\u30a4\u30e1\u30fc\u30b8\u306b\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30d7\u30ed\u30d7\u30e9\u30a4\u30a8\u30bf\u30ea\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u4f7f\u7528\u3059\u308b\u65b9\u304c\u597d\u307e\u3057\u3044\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u72ec\u81ea\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8Docker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002Docker Compose\u3092\u4f7f\u7528\u3057\u3066\u3001Docker\u30b3\u30f3\u30c6\u30ca\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u5b9a\u7fa9\u3057\u3001Nginx\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u30b5\u30fc\u30d0\u30fc\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u5b9f\u884c\u4e2d\u306eDocker\u30b3\u30f3\u30c6\u30ca\u306b\u8ee2\u9001\u3057\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u3068\u3001\u30ab\u30b9\u30bf\u30e0Docker\u30a4\u30e1\u30fc\u30b8\u3092\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u5b89\u5168\u306b\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u304c\u5fc5\u8981\u3067\u3059:<\/p>\n<ul class=\"post-ul\">\n<li>Two Ubuntu 22.04 servers set up by following the Ubuntu 22.04 Initial Server Setup Guide, including a sudo non-root user and a firewall. One server will host your private Docker Registry and the other will be your client server.<\/li>\n<li>Docker installed on both servers, which you can set up by following Steps 1 and 2 of How To Install and Use Docker on Ubuntu 22.04.<\/li>\n<\/ul>\n<p>\u30db\u30b9\u30c8\u30b5\u30fc\u30d0\u30fc\u3067\u5fc5\u8981\u306a\u8a2d\u5b9a\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Docker Compose installed on the host server, which you can set up by following Step 1 of How To Install and Use Docker Compose on Ubuntu 22.04.<\/li>\n<li>Nginx installed on your host server, which you can set up by following the steps in How To Install Nginx on Ubuntu 22.04.<\/li>\n<li>Nginx secured with Let\u2019s Encrypt on your host server for the private Docker Registry, which you can set up by following the How To Secure Nginx with Let\u2019s Encrypt on Ubuntu 22.04 tutorial. Make sure to redirect all traffic from HTTP to HTTPS in Step 4.A registered domain name that resolves to the server you\u2019re using to host the private Docker Registry. You will set this up as part of the Let\u2019s Encrypt prerequisite. In this tutorial, we\u2019ll refer to it as your_domain.<\/li>\n<\/ul>\n<h2>\u30b9\u30c6\u30c3\u30d71 \u2014 Docker Registry\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a<\/h2>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067Docker\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306f\u3001\u521d\u3081\u3066\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u305f\u308a\u30c6\u30b9\u30c8\u3057\u305f\u308a\u3059\u308b\u969b\u306b\u4fbf\u5229\u3067\u3059\u304c\u3001\u8907\u6570\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u4e26\u5217\u3067\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306a\u5927\u898f\u6a21\u306a\u5c55\u958b\u306b\u306a\u308b\u3068\u53d6\u308a\u56de\u3057\u304c\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Docker Compose\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u5404\u30b3\u30f3\u30c6\u30ca\u306e\u8a2d\u5b9a\u3068\u30b3\u30f3\u30c6\u30ca\u540c\u58eb\u306e\u901a\u4fe1\u306b\u5fc5\u8981\u306a\u60c5\u5831\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e.yml\u30d5\u30a1\u30a4\u30eb\u30921\u3064\u4f5c\u6210\u3057\u307e\u3059\u3002docker compose\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u6210\u3059\u308b\u3059\u3079\u3066\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u30b3\u30de\u30f3\u30c9\u3092\u767a\u884c\u3057\u3001\u307e\u3068\u3081\u3066\u5236\u5fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Docker\u30ec\u30b8\u30b9\u30c8\u30ea\u306f\u3001\u8907\u6570\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u6301\u3064\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u306e\u3067\u3001\u7ba1\u7406\u306b\u306fDocker Compose\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u958b\u59cb\u3059\u308b\u305f\u3081\u306b\u306f\u3001docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u3001\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u30c7\u30a3\u30b9\u30af\u4e0a\u306e\u5834\u6240\u3084\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u5b9a\u7fa9\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u30db\u30b9\u30c8\u30b5\u30fc\u30d0\u30fc\u3067docker-registry\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u8a2d\u5b9a\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u305d\u308c\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> ~\/docker-registry<\/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\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Sore ni id\u014d shite kudasai.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">cd<\/span> ~\/docker-registry<\/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\u306e\u5f8c\u3001\u30c7\u30fc\u30bf\u3068\u3044\u3046\u540d\u524d\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u305d\u3053\u306b\u30ec\u30b8\u30b9\u30c8\u30ea\u304c\u753b\u50cf\u3092\u4fdd\u5b58\u3059\u308b\u3088\u3046\u306b\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> data<\/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\u3088\u3046\u306b\u3057\u3066\u3001docker-compose.yml\u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u958b\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> 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>\u57fa\u672c\u7684\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\n<p>~\/docker-registry\/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\u3002<\/p>\n<p>\u301c\/docker-registry\/docker-compose.yml<\/p>\n<\/div>\n<pre class=\"post-pre\"><code>version: '3'\r\n\r\nservices:\r\n  registry:\r\n    image: registry:latest\r\n    ports:\r\n    - \"5000:5000\"\r\n    environment:\r\n      REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: \/data\r\n    volumes:\r\n      - .\/data:\/data\r\n<\/code><\/pre>\n<p>\u6700\u521d\u306b\u3001\u6700\u521d\u306e\u30b5\u30fc\u30d3\u30b9\u767b\u9332\u3092\u6307\u5b9a\u3057\u3001\u305d\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30db\u30b9\u30c8\u4e0a\u306e\u30dd\u30fc\u30c85000\u3092\u30b3\u30f3\u30c6\u30ca\u306e\u30dd\u30fc\u30c85000\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30dd\u30fc\u30c85000\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u8ee2\u9001\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u74b0\u5883\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY\u5909\u6570\u3092\/data\u306b\u8a2d\u5b9a\u3057\u3001\u3069\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u306b\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3059\u308b\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30db\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\/data\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30b3\u30f3\u30c6\u30ca\u5185\u306e\/data\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u3001\u30d1\u30b9\u30b9\u30eb\u30fc\u3068\u3057\u3066\u6a5f\u80fd\u3055\u305b\u307e\u3059\u3002\u5b9f\u969b\u306b\u30c7\u30fc\u30bf\u306f\u30db\u30b9\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3001\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u300c\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u8a2d\u5b9a\u3092\u958b\u59cb\u3067\u304d\u307e\u3059\u3002\u300d<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> compose up<\/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>\u30ec\u30b8\u30b9\u30c8\u30ea\u30b3\u30f3\u30c6\u30ca\u3068\u305d\u306e\u4f9d\u5b58\u95a2\u4fc2\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u3001\u8d77\u52d5\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>[+] Running 2\/2 \u283f Network docker-registry_default Created 0.1s \u283f Container docker-registry-registry-1 Created 0.1s Attaching to docker-registry-registry-1 docker-registry-registry-1 | time=&#8221;2022-11-19T14:31:20.40444638Z&#8221; level=warning msg=&#8221;No HTTP secret provided &#8211; generated random secret. This may cause problems with uploads if multiple registries are behind a load-balancer. To provide a shared secret, fill in http.secret in the configuration file or set the REGISTRY_HTTP_SECRET environment variable.&#8221; go.version=go1.16.15 instance.id=4fb8d420-eaf8-4a69-b740-bdc94fa52d91 service=registry version=&#8221;v2.8.1+unknown&#8221; docker-registry-registry-1 | time=&#8221;2022-11-19T14:31:20.404960549Z&#8221; level=info msg=&#8221;redis not configured&#8221; go.version=go1.16.15 instance.id=4fb8d420-eaf8-4a69-b740-bdc94fa52d91 service=registry version=&#8221;v2.8.1+unknown&#8221; docker-registry-registry-1 | time=&#8221;2022-11-19T14:31:20.412312462Z&#8221; level=info msg=&#8221;using inmemory blob descriptor cache&#8221; go.version=go1.16.15 instance.id=4fb8d420-eaf8-4a69-b740-bdc94fa52d91 service=registry version=&#8221;v2.8.1+unknown&#8221; docker-registry-registry-1 | time=&#8221;2022-11-19T14:31:20.412803878Z&#8221; level=info msg=&#8221;Starting upload purge in 52m0s&#8221; go.version=go1.16.15 instance.id=4fb8d420-eaf8-4a69-b740-bdc94fa52d91 service=registry version=&#8221;v2.8.1+unknown&#8221; docker-registry-registry-1 | time=&#8221;2022-11-19T14:31:20.41296431Z&#8221; level=info msg=&#8221;listening on [::]:5000&#8243; go.version=go1.16.15 instance.id=4fb8d420-eaf8-4a69-b740-bdc94fa52d91 service=registry version=&#8221;v2.8.1+unknown&#8221; &#8230;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306e\u5f8c\u3067\u3001No HTTP\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u306a\u3044\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066\u306f\u5f8c\u3067\u5bfe\u51e6\u3057\u307e\u3059\u3002<\/p>\n<p>\u51fa\u529b\u306e\u6700\u5f8c\u306e\u884c\u306b\u306f\u3001\u30dd\u30fc\u30c8\u756a\u53f75000\u3067\u6b63\u5e38\u306b\u958b\u59cb\u3057\u3001\u30ea\u30b9\u30f3\u4e2d\u3067\u3042\u308b\u3053\u3068\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u3092\u505c\u6b62\u3059\u308b\u306b\u306f\u3001CTRL+C\u3092\u62bc\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001Docker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30dd\u30fc\u30c85000\u3067\u30ea\u30c3\u30b9\u30f3\u3059\u308bDocker Compose\u306e\u8a2d\u5b9a\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u30c9\u30e1\u30a4\u30f3\u3067\u516c\u958b\u3057\u3001\u8a8d\u8a3c\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72 &#8211; Nginx\u306e\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a<\/h2>\n<p>\u5fc5\u8981\u6761\u4ef6\u306e\u4e00\u90e8\u3068\u3057\u3066\u3001\u304a\u5ba2\u69d8\u306e\u30c9\u30e1\u30a4\u30f3\u3067HTTPS\u3092\u6709\u52b9\u306b\u3057\u307e\u3057\u305f\u3002\u30bb\u30ad\u30e5\u30a2\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u516c\u958b\u3059\u308b\u305f\u3081\u306b\u3001Nginx\u3092\u8a2d\u5b9a\u3057\u3066\u30c9\u30e1\u30a4\u30f3\u304b\u3089\u30ec\u30b8\u30b9\u30c8\u30ea\u30b3\u30f3\u30c6\u30ca\u306b\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8ee2\u9001\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306f\u3059\u3067\u306b\/etc\/nginx\/sites-available\/your_domain\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u308a\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u6210\u3092\u542b\u3093\u3067\u3044\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u7de8\u96c6\u3059\u308b\u305f\u3081\u306b\u305d\u308c\u3092\u958b\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\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/nginx\/sites-available\/<mark>your_domain<\/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>\u73fe\u5728\u306e\u5834\u6240\u30d6\u30ed\u30c3\u30af\u3092\u898b\u3064\u3051\u308b\u3002<\/p>\n<div>\u3042\u306a\u305f\u306e\u30c9\u30e1\u30a4\u30f3\u306e\/etc\/nginx\/sites-available\/\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/div>\n<pre class=\"post-pre\"><code>...\r\n        <mark>location<\/mark> \/ {\r\n  ...\r\n        }\r\n...\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u884c\u3092\u4f7f\u3063\u3066\u3001\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u30dd\u30fc\u30c85000\u306b\u8ee2\u9001\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u304c\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u53d7\u3051\u4ed8\u3051\u308b\u305f\u3081\u306b\u30d8\u30c3\u30c0\u30fc\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u671b\u3093\u3067\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u884c\u3067\u3001location\u30d6\u30ed\u30c3\u30af\u306e\u65e2\u5b58\u306e\u5185\u5bb9\u3092\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\u3042\u306a\u305f\u306e\u30c9\u30e1\u30a4\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u300c\/etc\/nginx\/sites-available\/your_domain\u300d\u3067\u3059\u3002<\/div>\n<pre class=\"post-pre\"><code>...\r\nlocation \/ {\r\n    # Do not allow connections from docker 1.5 and earlier\r\n    # docker pre-1.6.0 did not properly set the user agent on ping, catch \"Go *\" user agents\r\n    if ($http_user_agent ~ \"^(docker\\\/1\\.(3|4|5(?!\\.[0-9]-dev))|Go ).*$\" ) {\r\n      return 404;\r\n    }\r\n\r\n    proxy_pass                          http:\/\/localhost:5000;\r\n    proxy_set_header  Host              $http_host;   # required for docker client's sake\r\n    proxy_set_header  X-Real-IP         $remote_addr; # pass on real client's IP\r\n    proxy_set_header  X-Forwarded-For   $proxy_add_x_forwarded_for;\r\n    proxy_set_header  X-Forwarded-Proto $scheme;\r\n    proxy_read_timeout                  900;\r\n}\r\n...\r\n<\/code><\/pre>\n<p>\u3082\u3057\u30d6\u30ed\u30c3\u30af\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30e6\u30fc\u30b6\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001Docker\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c1.5\u4ee5\u4e0a\u3067\u3042\u308a\u3001\u30a2\u30af\u30bb\u30b9\u3092\u8a66\u307f\u308b\u306e\u304cGo\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u306a\u3044\u3053\u3068\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u306e\u8a73\u3057\u3044\u8aac\u660e\u306f\u3001Docker\u306e\u30ec\u30b8\u30b9\u30c8\u30eaNginx\u30ac\u30a4\u30c9\u306enginx\u30d8\u30c3\u30c0\u30fc\u306e\u8a2d\u5b9a\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4f5c\u696d\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002Nginx\u3092\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3067\u5909\u66f4\u3092\u9069\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\">sudo<\/span> systemctl restart 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>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u8ffd\u52a0\u3057\u305f\u8a2d\u5b9a\u3092\u518d\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30dd\u30fc\u30c85000\u3067\u30ec\u30b8\u30b9\u30c8\u30ea\u30b3\u30f3\u30c6\u30ca\u306b\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u304c\u9069\u5207\u306b\u8ee2\u9001\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001Nginx\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> compose up<\/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\u306e\u5f8c\u3001\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u30c9\u30e1\u30a4\u30f3\u306b\u79fb\u52d5\u3057\u3001v2\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>https:\/\/<mark>your_domain<\/mark>\/<mark>v2<\/mark>\r\n<\/code><\/pre>\n<p>\u30d6\u30e9\u30a6\u30b6\u306f\u7a7a\u306eJSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>{}\r\n<\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u7aef\u672b\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u51fa\u529b\u3092\u53d7\u3051\u53d6\u308a\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-registry-registry-1 | time=&#8221;2022-11-19T14:32:50.082396361Z&#8221; level=info msg=&#8221;response completed&#8221; go.version=go1.16.15 http.request.host=<mark>your_domain<\/mark> http.request.id=779fe265-1a7c-4a15-8ae4-eeb5fc35de98 http.request.method=GET http.request.remoteaddr=87.116.166.89 http.request.uri=&#8221;\/v2&#8243; http.request.useragent=&#8221;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36&#8243; http.response.contenttype=&#8221;text\/html; charset=utf-8&#8243; http.response.duration=&#8221;162.546\u00b5s&#8221; http.response.status=301 http.response.written=39 docker-registry-registry-1 | 172.19.0.1 &#8211; &#8211; [19\/Nov\/2022:14:32:50 +0000] &#8220;GET \/v2 HTTP\/1.0&#8221; 301 39 &#8220;&#8221; &#8220;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36&#8221; docker-registry-registry-1 | 172.19.0.1 &#8211; &#8211; [19\/Nov\/2022:14:32:50 +0000] &#8220;GET \/v2\/ HTTP\/1.0&#8221; 200 2 &#8220;&#8221; &#8220;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36&#8243; docker-registry-registry-1 | time=&#8221;2022-11-19T14:32:50.132472674Z&#8221; level=info msg=&#8221;response completed&#8221; go.version=go1.16.15 http.request.host=<mark>your_domain<\/mark> http.request.id=0ffb17f0-c2a0-49d6-94f3-af046cfb96e5 http.request.method=GET http.request.remoteaddr=87.116.166.89 http.request.uri=&#8221;\/v2\/&#8221; http.request.useragent=&#8221;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36&#8243; http.response.contenttype=&#8221;application\/json; charset=utf-8&#8243; http.response.duration=2.429608ms http.response.status=200 http.response.written=2 docker-registry-registry-1 | 172.19.0.1 &#8211; &#8211; [19\/Nov\/2022:14:32:50 +0000] &#8220;GET \/favicon.ico HTTP\/1.0&#8221; 404 19 &#8220;<mark>your_domain<\/mark>\/v2\/&#8221; &#8220;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/107.0.0.0 Safari\/537.36&#8221;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6700\u5f8c\u306e\u884c\u304b\u3089\u308f\u304b\u308b\u3088\u3046\u306b\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306f\/v2\/\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u884c\u308f\u308c\u307e\u3057\u305f\u3002\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u3088\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u306f\u3042\u306a\u305f\u304c\u9001\u4fe1\u3057\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u308a\u3001{}\u3068\u3044\u3046\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3057\u307e\u3057\u305f\u3002\u30b3\u30fc\u30c9200\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6b63\u5e38\u306b\u51e6\u7406\u3057\u305f\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u3092\u505c\u6b62\u3059\u308b\u306b\u306f\u3001CTRL+C\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u306e\u3067\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73- \u8a8d\u8a3c\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/h2>\n<p>Nginx\u306f\u3001\u7ba1\u7406\u3059\u308b\u30b5\u30a4\u30c8\u306b\u5bfe\u3057\u3066HTTP\u8a8d\u8a3c\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u3053\u308c\u3092\u4f7f\u7528\u3057\u3066Docker\u30ec\u30b8\u30b9\u30c8\u30ea\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u3001htpasswd\u3092\u4f7f\u7528\u3057\u3066\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u4e2d\u306b\u53d7\u3051\u5165\u308c\u3089\u308c\u308b\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u3088\u3063\u3066\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u3078\u306e\u8a8d\u8a3c\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u300capache2-utils\u300d\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3067\u3001htpasswd\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u5165\u624b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\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\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> apache2-utils <span class=\"token parameter variable\">-y<\/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-registry\/auth\u306b\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u307e\u3057\u3087\u3046\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\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> ~\/docker-registry\/auth<\/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\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Sore ni id\u014d shite kudasai.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">cd<\/span> ~\/docker-registry\/auth<\/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>\u6700\u521d\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u4f5c\u6210\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u5e0c\u671b\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u540d\u3067\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002-B\u30d5\u30e9\u30b0\u306f\u3001Docker\u304c\u5fc5\u8981\u3068\u3059\u308bbcrypt\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u4f7f\u7528\u3092\u6307\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">htpasswd <span class=\"token parameter variable\">-Bc<\/span> registry.password <mark>username<\/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>\u6307\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u8a8d\u8a3c\u60c5\u5831\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u3001registry.password\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1a\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001-c\u306a\u3057\u3067\u524d\u306e\u30b3\u30de\u30f3\u30c9\u3092\u518d\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<br \/>\nhtpasswd -B registry.password \u30e6\u30fc\u30b6\u30fc\u540d<\/div>\n<p>-c\u306f\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u3001\u305d\u308c\u3092\u524a\u9664\u3059\u308b\u3068\u65e2\u5b58\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n<p>\u4ee5\u4e0b\u306e\u65e5\u672c\u8a9e\u3067\u306e\u8868\u73fe\u306f\u4e00\u3064\u306e\u9078\u629e\u80a2\u3067\u3059\uff1a<br \/>\n\u8a8d\u8a3c\u60c5\u5831\u306e\u30ea\u30b9\u30c8\u304c\u4f5c\u6210\u3055\u308c\u305f\u306e\u3067\u3001docker-compose.yml\u3092\u7de8\u96c6\u3057\u3066\u3001Docker\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30e6\u30fc\u30b6\u306e\u8a8d\u8a3c\u3092\u884c\u3046\u3088\u3046\u6307\u793a\u3057\u307e\u3059\u3002\u7de8\u96c6\u3059\u308b\u305f\u3081\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u958b\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\">nano<\/span> ~\/docker-registry\/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>\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>~\/docker-registry\/docker-compose.yml\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u305f\u3063\u305f1\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002<\/div>\n<pre class=\"post-pre\"><code>version: '3'\r\n\r\nservices:\r\n  registry:\r\n    image: registry:latest\r\n    ports:\r\n    - \"5000:5000\"\r\n    environment:\r\n      <mark>REGISTRY_AUTH: htpasswd<\/mark>\r\n      <mark>REGISTRY_AUTH_HTPASSWD_REALM: Registry<\/mark>\r\n      <mark>REGISTRY_AUTH_HTPASSWD_PATH: \/auth\/registry.password<\/mark>\r\n      REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: \/data\r\n    volumes:\r\n      <mark>- .\/auth:\/auth<\/mark>\r\n      - .\/data:\/data\r\n<\/code><\/pre>\n<p>\u30e6\u30fc\u30b6\u30fc\u304c\u74b0\u5883\u5909\u6570\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001HTTP\u8a8d\u8a3c\u306e\u4f7f\u7528\u3068\u3001\u4f5c\u6210\u3057\u305fhtpasswd\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u304c\u6307\u5b9a\u3055\u308c\u307e\u3059\u3002REGISTRY_AUTH\u306b\u304a\u3044\u3066\u3001\u5024\u3068\u3057\u3066htpasswd\u3092\u6307\u5b9a\u3057\u3001\u3053\u308c\u304c\u4f7f\u7528\u3055\u308c\u308b\u8a8d\u8a3c\u30b9\u30ad\u30fc\u30e0\u3067\u3059\u3002\u307e\u305f\u3001REGISTRY_AUTH_HTPASSWD_PATH\u306f\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u3001REGISTRY_AUTH_HTPASSWD_REALM\u306fhtpasswd\u306e\u9818\u57df\u540d\u3092\u8868\u3057\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306f.\/auth\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3082\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u30b3\u30f3\u30c6\u30ca\u5185\u3067\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4eca\u3001\u3042\u306a\u305f\u306e\u8a8d\u8a3c\u304c\u6b63\u3057\u304f\u6a5f\u80fd\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u6700\u521d\u306b\u3001\u30e1\u30a4\u30f3\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\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-registry<\/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\u3067\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u8d77\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\">docker<\/span> compose up<\/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\u30d6\u30e9\u30a6\u30b6\u3067\u3001\u30c9\u30e1\u30a4\u30f3\u306e\u30da\u30fc\u30b8\u3092\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u6b63\u3057\u3044\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u63d0\u4f9b\u3059\u308b\u3068\u3001\u7a7a\u306eJSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u542b\u307e\u308c\u305f\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>{}\r\n<\/code><\/pre>\n<p>\u30ec\u30b8\u30b9\u30c8\u30ea\u3078\u306e\u8a8d\u8a3c\u304c\u6210\u529f\u3057\u3001\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u53d6\u5f97\u3057\u307e\u3057\u305f\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3067CTRL+C\u3092\u62bc\u3057\u3066\u7d42\u4e86\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u30ec\u30b8\u30b9\u30c8\u30ea\u306f\u73fe\u5728\u3001\u8a8d\u8a3c\u5f8c\u306b\u306e\u307f\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u3067\u5b89\u5168\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u6b21\u306b\u3001\u81ea\u52d5\u7684\u306b\u8d77\u52d5\u3057\u3066\u518d\u8d77\u52d5\u306b\u5bfe\u3057\u3066\u5f37\u56fa\u3067\u3042\u308b\u3088\u3046\u306b\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30d7\u30ed\u30bb\u30b9\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74 &#8211; Docker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u8d77\u52d5\u3059\u308b<\/h2>\n<p>Docker Compose\u306b\u5e38\u306b\u5b9f\u884c\u6307\u793a\u3092\u51fa\u3059\u3053\u3068\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8d77\u52d5\u6642\u3084\u30af\u30e9\u30c3\u30b7\u30e5\u5f8c\u306b\u30ec\u30b8\u30b9\u30c8\u30ea\u30b3\u30f3\u30c6\u30ca\u304c\u5e38\u306b\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>docker-compose.yml\u3092\u7de8\u96c6\u3059\u308b\u305f\u3081\u306b\u958b\u304f\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>\u30ec\u30b8\u30b9\u30c8\u30ea\u30d6\u30ed\u30c3\u30af\u306b\u6b21\u306e\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Rejisutori burokku ni tsugino gy\u014d o tsuika shite kudasai.)<\/p>\n<div>\n<p>docker-compose.yml\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306b\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c9\u30c3\u30ab\u30fc\u30fb\u30b3\u30f3\u30dd\u30fc\u30ba\u30fb\u30d5\u30a1\u30a4\u30eb<\/p>\n<\/div>\n<pre class=\"post-pre\"><code>...\r\n  registry:\r\n    <mark>restart: always<\/mark>\r\n...\r\n<\/code><\/pre>\n<p>\u5e38\u306b\u518d\u8d77\u52d5\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u306f\u518d\u8d77\u52d5\u5f8c\u3082\u751f\u5b58\u3059\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002\u4f5c\u696d\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u300c-d\u300d\u3092\u6307\u5b9a\u3057\u3066\u3001\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30d7\u30ed\u30bb\u30b9\u3068\u3057\u3066\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u958b\u59cb\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 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>\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u306eSSH\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u81ea\u7531\u306b\u9589\u3058\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30ec\u30b8\u30b9\u30c8\u30ea\u306f\u5f71\u97ff\u3092\u53d7\u3051\u307e\u305b\u3093\u3002<\/p>\n<p>Docker\u30a4\u30e1\u30fc\u30b8\u306f\u975e\u5e38\u306b\u5927\u304d\u3044\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u6b21\u306bNginx\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u53d7\u3051\u5165\u308c\u308b\u6700\u5927\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u62e1\u5927\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d75 &#8211; Nginx\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30b5\u30a4\u30ba\u3092\u5897\u3084\u3059<\/h2>\n<p>\u30a4\u30e1\u30fc\u30b8\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u524d\u306b\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u304c\u5927\u304d\u306a\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Nginx\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30b5\u30a4\u30ba\u5236\u9650\u306f1m\u3067\u3059\u304c\u3001\u3053\u308c\u306fDocker\u30a4\u30e1\u30fc\u30b8\u306b\u306f\u5341\u5206\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5236\u9650\u3092\u4e0a\u3052\u308b\u306b\u306f\u3001\/etc\/nginx\/nginx.conf\u306b\u3042\u308b\u4e3b\u306aNginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u7de8\u96c6\u306e\u305f\u3081\u306b\u958b\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\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/nginx\/nginx.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>http\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div>\n<p>\/etc\/nginx\/nginx.conf<\/p>\n<p>\/\u30a8\u30c6\u30a3\u30fc\u30b7\u30fc\u30ca\u30a4\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\/\u30ca\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\u30ca\u30b8\u30a7\u30b9\u30c6\u30a3\u30d5\u30b3\u30f3\u30d5<\/p>\n<\/div>\n<pre class=\"post-pre\"><code>...\r\nhttp {\r\n        <mark>client_max_body_size 16384m;<\/mark>\r\n        ...\r\n}\r\n...\r\n<\/code><\/pre>\n<p>client_max_body_size\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u73fe\u572816384m\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u6700\u5927\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30b5\u30a4\u30ba\u306f16GB\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u308b\u3002<\/p>\n<p>\u8a2d\u5b9a\u306e\u5909\u66f4\u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306b\u3001Nginx\u3092\u518d\u8d77\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\">sudo<\/span> systemctl restart 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\u624b\u9806\u3067\u306f\u3001Nginx\u306b\u3088\u3063\u3066\u8a31\u53ef\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3092\u66f4\u65b0\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001Nginx\u304c\u8ee2\u9001\u3092\u30d6\u30ed\u30c3\u30af\u305b\u305a\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u305b\u305a\u306b\u5927\u304d\u306a\u753b\u50cf\u3092Docker Registry\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>6 \u30b9\u30c6\u30c3\u30d7 &#8211; \u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3078\u306e\u516c\u958b<\/h2>\n<p>\u3042\u306a\u305f\u306eDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u30b5\u30fc\u30d0\u30fc\u304c\u7a3c\u50cd\u3057\u3001\u5927\u5bb9\u91cf\u30d5\u30a1\u30a4\u30eb\u3092\u53d7\u3051\u4ed8\u3051\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u3053\u3068\u3092\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f7f\u7528\u3067\u304d\u308b\u30a4\u30e1\u30fc\u30b8\u304c\u306a\u3044\u305f\u3081\u3001\u30c6\u30b9\u30c8\u306b\u306f\u516c\u958b\u3055\u308c\u3066\u3044\u308bDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3067\u3042\u308bDocker Hub\u304b\u3089ubuntu\u30a4\u30e1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b5\u30fc\u30d0\u30fc\u306e\u65b0\u3057\u3044\u30bf\u30fc\u30df\u30ca\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066Ubuntu\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u5b9f\u884c\u3057\u3001\u305d\u306e\u30b7\u30a7\u30eb\u306b\u30a2\u30af\u30bb\u30b9\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\">-t<\/span> <span class=\"token parameter variable\">-i<\/span> ubuntu \/bin\/bash<\/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>\u300c-i\u300d\u3068\u300c-t\u300d\u30d5\u30e9\u30b0\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u5bfe\u3057\u3066\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u30b7\u30a7\u30eb\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u4e00\u5ea6\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u3089\u3001\u5b9f\u884c\u3057\u3066\u6210\u529f\u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Ichido roguin shitara, jikk\u014d shite seik\u014d to iu namae no fairu o sakusei shite kudasai.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"root@f7e13d5464d1:\/#\"><span class=\"token function\">touch<\/span> \/SUCCESS<\/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\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u3042\u306a\u305f\u306f\u81ea\u5206\u5c02\u7528\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u307e\u3057\u305f\u3002\u5f8c\u3067\u3001\u307e\u3063\u305f\u304f\u540c\u3058\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u30b3\u30f3\u30c6\u30ca\u30b7\u30a7\u30eb\u3092\u5b9f\u884c\u3057\u3066\u7d42\u4e86\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u300d<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"root@f7e13d5464d1:\/#\"><span class=\"token builtin class-name\">exit<\/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>\u4eca\u3001\u3061\u3087\u3046\u3069\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u65b0\u3057\u3044\u30a4\u30e1\u30fc\u30b8\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> commit <span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">docker<\/span> <span class=\"token function\">ps<\/span> <span class=\"token parameter variable\">-lq<\/span><span class=\"token variable\">)<\/span><\/span> test-image<\/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>\u65b0\u3057\u3044\u30a4\u30e1\u30fc\u30b8\u306f\u73fe\u5728\u5730\u3067\u5229\u7528\u53ef\u80fd\u3067\u3059\u306e\u3067\u3001\u305d\u308c\u3092\u30b3\u30f3\u30c6\u30ca\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">docker<\/span> login https:\/\/<mark>your_domain<\/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>\u6307\u793a\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001\u30b9\u30c6\u30c3\u30d73\u3067\u5b9a\u7fa9\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u51fa\u529b\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059: (Shutsuryoku wa ika no toori desu)<\/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>&#8230; Login Succeeded<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u3089\u3001\u4f5c\u6210\u3057\u305f\u753b\u50cf\u3092\u540d\u524d\u3092\u5909\u66f4\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> tag test-image <mark>your_domain<\/mark>\/test-image<\/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>\u6700\u5f8c\u306b\u3001\u65b0\u305f\u306b\u30bf\u30b0\u4ed8\u3051\u3055\u308c\u305f\u753b\u50cf\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\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> push <mark>your_domain<\/mark>\/test-image<\/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\u3088\u3046\u306a\u51fa\u529b\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\uff1a<\/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>Using default tag: latest The push refers to a repository [<mark>your_domain<\/mark>\/test-image] 1cf9c9034825: Pushed f4a670ac65b6: Pushed latest: digest: sha256:95112d0af51e5470d74ead77932954baca3053e04d201ac4639bdf46d5cd515b size: 736<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306f\u3001\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u3092\u51e6\u7406\u3059\u308b\u30ec\u30b8\u30b9\u30c8\u30ea\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3001\u8a8d\u8a3c\u3055\u308c\u305f\u30e6\u30fc\u30b6\u30fc\u304c\u30a4\u30e1\u30fc\u30b8\u3092\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3067\u304d\u308b\u3053\u3068\u3082\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u6b21\u306b\u3001\u30ec\u30b8\u30b9\u30c8\u30ea\u304b\u3089\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d77 &#8211; \u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u304b\u3089\u53d6\u308a\u51fa\u3059<\/h2>\n<p>\u3042\u306a\u305f\u304c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u30a4\u30e1\u30fc\u30b8\u3092\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u306e\u3067\u3001\u305d\u308c\u304b\u3089\u30d7\u30eb\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30e1\u30a4\u30f3\u30b5\u30fc\u30d0\u30fc\u3067\u3001\u4ee5\u524d\u306b\u8a2d\u5b9a\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u30ed\u30b0\u30a4\u30f3\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> login https:\/\/<mark>your_domain<\/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>\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u30c6\u30b9\u30c8\u753b\u50cf\u3092\u53d6\u5f97\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> pull <mark>your_domain<\/mark>\/test-image<\/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\u306f\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30b3\u30f3\u30c6\u30ca\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\">-it<\/span> <mark>your_domain<\/mark>\/test-image \/bin\/bash<\/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\u30b7\u30a7\u30eb\u304c\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u3057\u3066\u73fe\u5728\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"root@f7e13d5464d1:\/#\"><span class=\"token function\">ls<\/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>\u4ee5\u524d\u306b\u4f5c\u6210\u3057\u305fSUCCESS\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u306b\u306f\u3001\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u4f5c\u6210\u3057\u305f\u30a4\u30e1\u30fc\u30b8\u3068\u540c\u3058\u3082\u306e\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"root@f7e13d5464d1:\/#\">SUCCESS bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var<\/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\u30b7\u30a7\u30eb\u3092\u7d42\u4e86\u3059\u308b\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">exit<\/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>\u3042\u306a\u305f\u306f\u30a4\u30e1\u30fc\u30b8\u306e\u30d7\u30c3\u30b7\u30e5\u3068\u30d7\u30eb\u3092\u30c6\u30b9\u30c8\u3057\u3001\u30ab\u30b9\u30bf\u30e0\u30a4\u30e1\u30fc\u30b8\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u5b89\u5168\u306a\u30ec\u30b8\u30b9\u30c8\u30ea\u306e\u8a2d\u5b9a\u3092\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u72ec\u81ea\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u8a2d\u5b9a\u3057\u3001Docker\u30a4\u30e1\u30fc\u30b8\u3092\u516c\u958b\u3057\u307e\u3059\u3002\u5c0e\u5165\u3067\u8ff0\u3079\u305f\u3088\u3046\u306b\u3001TravisCI\u3084\u540c\u69d8\u306eCI\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ec\u30b8\u30b9\u30c8\u30ea\u306b\u76f4\u63a5\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u81ea\u52d5\u5316\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>Docker\u30b3\u30f3\u30c6\u30ca\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u3067\u3001\u672c\u756a\u74b0\u5883\u3084\u958b\u767a\u74b0\u5883\u306b\u304a\u3044\u3066\u3082\u3001\u30b3\u30fc\u30c9\u3092\u542b\u3093\u3060\u30a4\u30e1\u30fc\u30b8\u304c\u540c\u3058\u632f\u308b\u821e\u3044\u3092\u3059\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002Docker\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u65b9\u6cd5\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306f\u3001\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306b\u95a2\u3059\u308b\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b46\u8005\u306f\u3001\u300cWrite for Donations\uff08\u5bc4\u4ed8\u306e\u305f\u3081\u306e\u57f7\u7b46\uff09\u30d7\u30ed\u30b0\u30e9\u30e0\u300d\u306e\u4e00\u74b0\u3068\u3057\u3066\u3001\u5bc4\u4ed8\u3092\u53d7\u3051\u308b\u305f\u3081\u306b\u30d5\u30ea\u30fc\u304b\u3064\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d5\u30a1\u30f3\u30c9\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002 \u5c0e\u5165\u6587 Docker Registry\u306f\u3001Docker\u30b3\u30f3 [&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":[58,18],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-18"],"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\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306adocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306adocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-13T02:52:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T12:03:02+00:00\" \/>\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=\"35\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%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/\",\"name\":\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-11-13T02:52:19+00:00\",\"dateModified\":\"2025-07-31T12:03:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413\"},\"description\":\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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\/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\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306adocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\/","og_locale":"ja_JP","og_type":"article","og_title":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5","og_description":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306adocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-13T02:52:19+00:00","article_modified_time":"2025-07-31T12:03:02+00:00","author":"\u84ee, \u7ffc","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u84ee, \u7ffc","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"35\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/","name":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-11-13T02:52:19+00:00","dateModified":"2025-07-31T12:03:02+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413"},"description":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu 22.04\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306aDocker\u30ec\u30b8\u30b9\u30c8\u30ea\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\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\/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\/ubuntu-22-04%e3%81%a7%e3%83%97%e3%83%a9%e3%82%a4%e3%83%99%e3%83%bc%e3%83%88%e3%81%aadocker%e3%83%ac%e3%82%b8%e3%82%b9%e3%83%88%e3%83%aa%e3%82%92%e3%82%bb%e3%83%83%e3%83%88%e3%82%a2%e3%83%83%e3%83%97\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/135","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=135"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":325709,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions\/325709"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}