{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/docker-compose/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/docker-compose/", "feed_url": "https://matoken.org/blog/tag/docker-compose/feed/json/", "language": "ja", "title": "docker compose – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4695", "url": "https://matoken.org/blog/2025/08/21/change-the-maximum-number-of-simultaneous-downloads-for-docker-pull/", "title": "docker pull\u306e\u6700\u5927\u540c\u6642\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u6570\u3092\u5909\u66f4\u3059\u308b", "content_html": "
\n
\n

\n
\n

\u6700\u8fd1\u306f\u697d\u5929\u30e2\u30d0\u30a4\u30eb\u3092\u5e38\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0cau\u30ed\u30fc\u30df\u30f3\u30b0\u30a8\u30ea\u30a2\u304b\u3064\u96fb\u6ce2\u304c\u5f31\u3044\u306e\u3082\u3042\u3063\u3066ADSL\u306e\u9803\u3088\u308a\u3082\u9045\u304f\u4e0d\u5b89\u5b9a\u306a\u56de\u7dda\u3067\u3059\uff0c
\n\u66f4\u306b\u571f\u65e5\u4f11\u65e5\uff0c\u671d\u663c\u6669\u3068\u901f\u5ea6\u304c\u843d\u3061\u307e\u3059\uff0e
\n\u3066\u3053\u3068\u3067docker pull\u306a\u3069\u306f\u6df1\u591c\u5e2f\u306b\u3084\u3063\u305f\u308a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u6700\u8fd1\u306f\u305d\u308c\u3067\u3082\u99c4\u76ee\u306a\u611f\u3058\u306b\uff0e

\n
\n

\n

\n
\n
\n

pull\u6642\u306e\u8272\u3005\u306a\u30a8\u30e9\u30fc

\n
\n
\n

\u306a\u3093\u3060\u304b\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306b\u5bcc\u3093\u3060\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u697d\u3057\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\uff0e
\n\u3053\u308c\u306f\u6628\u65e5\u8a66\u3057\u305f\u6642\u306e\u4f55\u5ea6\u304b\u5206\u3067\u3059\uff0e

\n
\n
\n
\n
error pulling image configuration: download failed after attempts=6: net/http: TLS handshake timeout
\n
\n
\n
\n
\n
EOF
\n
\n
\n
\n
\n
error pulling image configuration: download failed after attempts=6: dial tcp [2600:1f18:2148:bc02:9ace:ab18:c47e:e0a5]:443: i/o timeout
\n
\n
\n
\n
\n
 \u2718 sockpuppetbrowser Error Get \"https://registry-1.docker.io/v2/\": net/http: TLS handshake timeout                                                                                                                                       10.1s\nError response from daemon: Get \"https://registry-1.docker.io/v2/\": net/http: TLS handshake timeout
\n
\n
\n
\n
\n
 \u2718 browser-chrome Error   Head \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/4\": Get \"https://auth.docker.io/token?scope=repository%3Aselenium%2Fstandalone-chrome%3Apull&service=regist...                      23.5s\n ✔ changedetection Pulled\n                                                                                                                                       21.3s
\n
\n
\n
\n
\n
Error response from daemon: Head \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/4\": Get \"https://auth.docker.io/token?scope=repository%3Aselenium%2Fstandalone-chrome%3Apull&service=registry.docker.io\": net/http: requ\nest canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
\n
\n
\n
\n
\n
error pulling image configuration: download failed after attempts=6: net/http: TLS handshake timeout
\n
\n
\n
\n
\n
Get \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/sha256:553ff18c2055bc2134cd833211c352d601d91f43fd42a7559f94a28eba96a504\": EOF
\n
\n
\n
\n
\n
Get \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/sha256:553ff18c2055bc2134cd833211c352d601d91f43fd42a7559f94a28eba96a504\": EOF
\n
\n
\n
\n
\n
dial tcp: lookup auth.docker.io: Temporary failure in name resolution
\n
\n
\n
\n
\n
error pulling image configuration: download failed after attempts=6: dial tcp: lookup registry-1.docker.io: i/o timeout
\n
\n
\n
\n
\n
error pulling image configuration: download failed after attempts=6: dial tcp: lookup registry-1.docker.io: i/o timeout
\n
\n
\n
\n
\n
 \u2718 sockpuppetbrowser Error Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)                                                              15.0s\n ! browser-chrome          Interrupted                                                                                                                                                                                                   15.0s\n ! changedetection         Interrupted                                                                                                                                                                                                   17.3s\nError response from daemon: Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
\n
\n
\n
\n
\n
Get \"https://registry-1.docker.io/v2/selenium/standalone-chrome/blobs/sha256:e34a67f89d25bc77130abb059c42a2c47d18fd489056fa50da057d4b51507fac\": dial tcp: lookup registry-1.docker.io: i/o timeout
\n
\n
\n
\n
\n
\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u3092\u5909\u66f4\u3059\u308b

\n
\n
\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u8907\u6570\u4e26\u5217\u3067\u52d5\u304d\uff0c\u5931\u6557\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u306f\u518d\u5b9f\u884c\u6642\u59cb\u3081\u3089\u958b\u59cb\u3055\u308c\u307e\u3059\uff0e
\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7d50\u69cb\u3044\u3044\u3068\u3053\u307e\u3067\u884c\u3063\u3066\u3082\u5931\u6557\u3059\u308b\u3068\u307e\u305f\u306f\u3058\u3081\u304b\u3089\u3067\u60b2\u3057\u3044\u3067\u3059\uff0e

\n
\n
\n
\n
   \u2839 e34a67f89d25 Downloading [========================================>          ]  131.6MB/164.3MB                                                                                                                                    284.2s
\n
\n
\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u3092\u6e1b\u3089\u3057\u305f\u308a\uff0c wget -continue \u306e\u3088\u3046\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u9014\u4e2d\u304b\u3089\u518d\u958b\u3059\u308b\u6a5f\u80fd\u304c\u6b32\u3057\u3044\u3068\u3053\u308d\uff0e

\n
\n
\n

\u691c\u7d22\u3057\u3066\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306b --max-concurrent-downloads \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e

\n
\n\n
\n

\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n\n
\n

\u3053\u306e\u8a2d\u5b9a\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u3092\u65e2\u5b9a\u5024\u306e3\u304b\u30891\u306b\u3057\u3066\u307f\u307e\u3059\uff0e

\n
\n
\n

/etc/docker/daemon.json \u3092\u7de8\u96c6\uff0c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u65b0\u898f\u4f5c\u6210\u3057\u3066\u540c\u6642\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u6570\u30921\u306b\u3057\u3066\u30c7\u30fc\u30e2\u30f3\u3092\u518d\u8d77\u52d5\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ ls -lA /etc/docker/ (1)\n\u5408\u8a08 8\n-rw------- 1 root root 244  7\u6708 19  2024 key.json\n$ umask 0077 (2)\n$ umask\n0077\n$ echo '{\n    \"max-concur-downloads\": 1\n}' | sudo tee /etc/docker/daemon.json (3)\n{\n    \"max-concurrent-downloads\": 1\n}\n$ ls -lA /etc/docker/\n\u5408\u8a08 8\n-rw------- 1 root root  38  8\u6708 21 07:01 daemon.json\n-rw------- 1 root root 244  7\u6708 19  2024 key.json\n$ sudo systemctl restart docker (4)
\n
\n
\n
\n
    \n
  1. \n

    daemon.json \u306f\u5b58\u5728\u3057\u306a\u3044\u72b6\u614b

    \n
  2. \n
  3. \n

    \u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5408\u308f\u305b\u308b\u305f\u3081\u306bumask\u3092\u8a2d\u5b9a

    \n
  4. \n
  5. \n

    \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u30921\u306b\u3059\u308b\u8a2d\u5b9a\u3092daemon.json\u306b

    \n
  6. \n
  7. \n

    docker\u30c7\u30fc\u30e2\u30f3\u518d\u8d77\u52d5

    \n
  8. \n
\n
\n
\n

\u30c7\u30fc\u30e2\u30f3\u518d\u8d77\u52d5\u5f8c\u518d\u5ea6pull\u3092\u8a66\u307f\u308b\u3068\u6700\u5f8c\u307e\u3067\u52d5\u4f5c\u3057\u307e\u3057\u305f\uff0e

\n
\n
\n
\n
$ docker compose --file ./docker-compose.yml pull\n[+] Pulling 43/43\n ✔ sockpuppetbrowser Pulled                                                                                                                                                                                                               3.5s\n ✔ browser-chrome Pulled                                                                                                                                                                                                               1394.0s\n   ✔ b71466b94f26 Already exists                                                                                                                                                                                                          0.0s\n   ✔ e34a67f89d25 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 75d85e0261db Already exists                                                                                                                                                                                                          0.0s\n   ✔ 939d8ca73113 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 6186010a47ee Already exists                                                                                                                                                                                                          0.0s\n   ✔ 27714f768b43 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 916b96ca33ba Already exists                                                                                                                                                                                                          0.0s\n   ✔ 04aa3410ccc8 Already exists                                                                                                                                                                                                          0.0s\n   ✔ bdb59075b1d5 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 2df770ff8fc0 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 54ac28d956cc Already exists                                                                                                                                                                                                          0.0s\n   ✔ c44f6dc55fed Already exists                                                                                                                                                                                                          0.0s\n   ✔ 5aff9b4a47b1 Already exists                                                                                                                                                                                                          0.0s\n   ✔ b1b7bf4d2165 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 24f77931a43f Already exists                                                                                                                                                                                                          0.0s\n   ✔ 6c2a20e23e29 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 1876ab010adb Already exists                                                                                                                                                                                                          0.0s\n   ✔ 3e2e63824644 Already exists                                                                                                                                                                                                          0.0s\n   ✔ 422e43c124fc Already exists                                                                                                                                                                                                          0.0s\n   ✔ 2f170438d2dd Already exists                                                                                                                                                                                                          0.0s\n   ✔ b2b509664d5c Pull complete                                                                                                                                                                                                         649.2s\n   ✔ d1699bb66466 Pull complete                                                                                                                                                                                                         815.8s\n   ✔ 5c8f9ce7ebce Pull complete                                                                                                                                                                                                         821.8s\n   ✔ 597064b9d874 Pull complete                                                                                                                                                                                                         826.8s\n   ✔ 34893f441ecf Pull complete                                                                                                                                                                                                         828.3s\n   ✔ 9e5143f86271 Pull complete                                                                                                                                                                                                         829.8s\n   ✔ 84388cffd066 Pull complete                                                                                                                                                                                                         840.2s\n   ✔ 9d6965976ee5 Pull complete                                                                                                                                                                                                        1322.8s\n   ✔ 2046aa7c3ddc Pull complete                                                                                                                                                                                                        1322.8s\n   ✔ c834abc7e6bf Pull complete                                                                                                                                                                                                        1323.3s\n   ✔ 23f3e15ccb79 Pull complete                                                                                                                                                                                                        1324.8s\n   ✔ 57a77ef3c897 Pull complete                                                                                                                                                                                                        1353.7s\n   ✔ b38fd1040849 Pull complete                                                                                                                                                                                                        1368.1s\n   ✔ 18fd3cb83a78 Pull complete                                                                                                                                                                                                        1380.9s\n   ✔ ce86c34af927 Pull complete                                                                                                                                                                                                        1383.7s\n   ✔ 6efed1a6a8f0 Pull complete                                                                                                                                                                                                        1385.1s\n   ✔ 9fc8549fc5d4 Pull complete                                                                                                                                                                                                        1386.5s\n   ✔ 1b3b81dbe4ce Pull complete                                                                                                                                                                                                        1388.0s\n   ✔ acbe3debc1b0 Pull complete                                                                                                                                                                                                        1389.3s\n   ✔ 2b0eb12e590f Pull complete                                                                                                                                                                                                        1390.6s\n ✔ changedetection Pulled\n ----\n\n\u3068\u3044\u3046\u3053\u3068\u30672\u65e5\u304f\u3089\u3044\u5931\u6557\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u305fpull\u304c1\u56de\u3067\u901a\u308a\u307e\u3057\u305f\uff0e\n\u3057\u3070\u3089\u304f\u306f\u3053\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n.\u74b0\u5883
\n
\n
\n
\n

$ dpkg-query -W docker.io bash
\nbash 5.2.37-2+b5
\ndocker.io 26.1.5+dfsg1-4+b1
\n$ lsb_release -dr
\nDescription: Debian GNU/Linux forky/sid
\nRelease: n/a
\n$ arch
\nx86_64

\n
\n
\n
\n
\n
\n
\n
\n
\n", "content_text": "\u6700\u8fd1\u306f\u697d\u5929\u30e2\u30d0\u30a4\u30eb\u3092\u5e38\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\uff0cau\u30ed\u30fc\u30df\u30f3\u30b0\u30a8\u30ea\u30a2\u304b\u3064\u96fb\u6ce2\u304c\u5f31\u3044\u306e\u3082\u3042\u3063\u3066ADSL\u306e\u9803\u3088\u308a\u3082\u9045\u304f\u4e0d\u5b89\u5b9a\u306a\u56de\u7dda\u3067\u3059\uff0c\n\u66f4\u306b\u571f\u65e5\u4f11\u65e5\uff0c\u671d\u663c\u6669\u3068\u901f\u5ea6\u304c\u843d\u3061\u307e\u3059\uff0e\n\u3066\u3053\u3068\u3067docker pull\u306a\u3069\u306f\u6df1\u591c\u5e2f\u306b\u3084\u3063\u305f\u308a\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u6700\u8fd1\u306f\u305d\u308c\u3067\u3082\u99c4\u76ee\u306a\u611f\u3058\u306b\uff0e\n\n\n\n\n\npull\u6642\u306e\u8272\u3005\u306a\u30a8\u30e9\u30fc\n\n\n\u306a\u3093\u3060\u304b\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306b\u5bcc\u3093\u3060\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u697d\u3057\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\uff0e\n\u3053\u308c\u306f\u6628\u65e5\u8a66\u3057\u305f\u6642\u306e\u4f55\u5ea6\u304b\u5206\u3067\u3059\uff0e\n\n\n\nerror pulling image configuration: download failed after attempts=6: net/http: TLS handshake timeout\n\n\n\n\nEOF\n\n\n\n\nerror pulling image configuration: download failed after attempts=6: dial tcp [2600:1f18:2148:bc02:9ace:ab18:c47e:e0a5]:443: i/o timeout\n\n\n\n\n \u2718 sockpuppetbrowser Error Get \"https://registry-1.docker.io/v2/\": net/http: TLS handshake timeout 10.1s\nError response from daemon: Get \"https://registry-1.docker.io/v2/\": net/http: TLS handshake timeout\n\n\n\n\n \u2718 browser-chrome Error Head \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/4\": Get \"https://auth.docker.io/token?scope=repository%3Aselenium%2Fstandalone-chrome%3Apull&service=regist... 23.5s\n ✔ changedetection Pulled\n 21.3s\n\n\n\n\nError response from daemon: Head \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/4\": Get \"https://auth.docker.io/token?scope=repository%3Aselenium%2Fstandalone-chrome%3Apull&service=registry.docker.io\": net/http: requ\nest canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)\n\n\n\n\nerror pulling image configuration: download failed after attempts=6: net/http: TLS handshake timeout\n\n\n\n\nGet \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/sha256:553ff18c2055bc2134cd833211c352d601d91f43fd42a7559f94a28eba96a504\": EOF\n\n\n\n\nGet \"https://registry-1.docker.io/v2/selenium/standalone-chrome/manifests/sha256:553ff18c2055bc2134cd833211c352d601d91f43fd42a7559f94a28eba96a504\": EOF\n\n\n\n\ndial tcp: lookup auth.docker.io: Temporary failure in name resolution\n\n\n\n\nerror pulling image configuration: download failed after attempts=6: dial tcp: lookup registry-1.docker.io: i/o timeout\n\n\n\n\nerror pulling image configuration: download failed after attempts=6: dial tcp: lookup registry-1.docker.io: i/o timeout\n\n\n\n\n \u2718 sockpuppetbrowser Error Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 15.0s\n ! browser-chrome Interrupted 15.0s\n ! changedetection Interrupted 17.3s\nError response from daemon: Get \"https://registry-1.docker.io/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)\n\n\n\n\nGet \"https://registry-1.docker.io/v2/selenium/standalone-chrome/blobs/sha256:e34a67f89d25bc77130abb059c42a2c47d18fd489056fa50da057d4b51507fac\": dial tcp: lookup registry-1.docker.io: i/o timeout\n\n\n\n\n\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u3092\u5909\u66f4\u3059\u308b\n\n\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u8907\u6570\u4e26\u5217\u3067\u52d5\u304d\uff0c\u5931\u6557\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u306f\u518d\u5b9f\u884c\u6642\u59cb\u3081\u3089\u958b\u59cb\u3055\u308c\u307e\u3059\uff0e\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7d50\u69cb\u3044\u3044\u3068\u3053\u307e\u3067\u884c\u3063\u3066\u3082\u5931\u6557\u3059\u308b\u3068\u307e\u305f\u306f\u3058\u3081\u304b\u3089\u3067\u60b2\u3057\u3044\u3067\u3059\uff0e\n\n\n\n \u2839 e34a67f89d25 Downloading [========================================> ] 131.6MB/164.3MB 284.2s\n\n\n\n\u3068\u3044\u3046\u3053\u3068\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u3092\u6e1b\u3089\u3057\u305f\u308a\uff0c wget -continue \u306e\u3088\u3046\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u9014\u4e2d\u304b\u3089\u518d\u958b\u3059\u308b\u6a5f\u80fd\u304c\u6b32\u3057\u3044\u3068\u3053\u308d\uff0e\n\n\n\u691c\u7d22\u3057\u3066\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u306b --max-concurrent-downloads \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff0e\n\n\n\n\ndocker image pull | Docker Docs | Concurrent downloads\n\n\n\n\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\ndockerd | Docker Docs\n\n\n\n\n\u3053\u306e\u8a2d\u5b9a\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u3092\u65e2\u5b9a\u5024\u306e3\u304b\u30891\u306b\u3057\u3066\u307f\u307e\u3059\uff0e\n\n\n/etc/docker/daemon.json \u3092\u7de8\u96c6\uff0c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306f\u65b0\u898f\u4f5c\u6210\u3057\u3066\u540c\u6642\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u6570\u30921\u306b\u3057\u3066\u30c7\u30fc\u30e2\u30f3\u3092\u518d\u8d77\u52d5\u3057\u307e\u3057\u305f\uff0e\n\n\n\n$ ls -lA /etc/docker/ (1)\n\u5408\u8a08 8\n-rw------- 1 root root 244 7\u6708 19 2024 key.json\n$ umask 0077 (2)\n$ umask\n0077\n$ echo '{\n \"max-concur-downloads\": 1\n}' | sudo tee /etc/docker/daemon.json (3)\n{\n \"max-concurrent-downloads\": 1\n}\n$ ls -lA /etc/docker/\n\u5408\u8a08 8\n-rw------- 1 root root 38 8\u6708 21 07:01 daemon.json\n-rw------- 1 root root 244 7\u6708 19 2024 key.json\n$ sudo systemctl restart docker (4)\n\n\n\n\n\ndaemon.json \u306f\u5b58\u5728\u3057\u306a\u3044\u72b6\u614b\n\n\n\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5408\u308f\u305b\u308b\u305f\u3081\u306bumask\u3092\u8a2d\u5b9a\n\n\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e26\u5217\u6570\u30921\u306b\u3059\u308b\u8a2d\u5b9a\u3092daemon.json\u306b\n\n\ndocker\u30c7\u30fc\u30e2\u30f3\u518d\u8d77\u52d5\n\n\n\n\n\u30c7\u30fc\u30e2\u30f3\u518d\u8d77\u52d5\u5f8c\u518d\u5ea6pull\u3092\u8a66\u307f\u308b\u3068\u6700\u5f8c\u307e\u3067\u52d5\u4f5c\u3057\u307e\u3057\u305f\uff0e\n\n\n\n$ docker compose --file ./docker-compose.yml pull\n[+] Pulling 43/43\n ✔ sockpuppetbrowser Pulled 3.5s\n ✔ browser-chrome Pulled 1394.0s\n ✔ b71466b94f26 Already exists 0.0s\n ✔ e34a67f89d25 Already exists 0.0s\n ✔ 75d85e0261db Already exists 0.0s\n ✔ 939d8ca73113 Already exists 0.0s\n ✔ 6186010a47ee Already exists 0.0s\n ✔ 27714f768b43 Already exists 0.0s\n ✔ 916b96ca33ba Already exists 0.0s\n ✔ 04aa3410ccc8 Already exists 0.0s\n ✔ bdb59075b1d5 Already exists 0.0s\n ✔ 2df770ff8fc0 Already exists 0.0s\n ✔ 54ac28d956cc Already exists 0.0s\n ✔ c44f6dc55fed Already exists 0.0s\n ✔ 5aff9b4a47b1 Already exists 0.0s\n ✔ b1b7bf4d2165 Already exists 0.0s\n ✔ 24f77931a43f Already exists 0.0s\n ✔ 6c2a20e23e29 Already exists 0.0s\n ✔ 1876ab010adb Already exists 0.0s\n ✔ 3e2e63824644 Already exists 0.0s\n ✔ 422e43c124fc Already exists 0.0s\n ✔ 2f170438d2dd Already exists 0.0s\n ✔ b2b509664d5c Pull complete 649.2s\n ✔ d1699bb66466 Pull complete 815.8s\n ✔ 5c8f9ce7ebce Pull complete 821.8s\n ✔ 597064b9d874 Pull complete 826.8s\n ✔ 34893f441ecf Pull complete 828.3s\n ✔ 9e5143f86271 Pull complete 829.8s\n ✔ 84388cffd066 Pull complete 840.2s\n ✔ 9d6965976ee5 Pull complete 1322.8s\n ✔ 2046aa7c3ddc Pull complete 1322.8s\n ✔ c834abc7e6bf Pull complete 1323.3s\n ✔ 23f3e15ccb79 Pull complete 1324.8s\n ✔ 57a77ef3c897 Pull complete 1353.7s\n ✔ b38fd1040849 Pull complete 1368.1s\n ✔ 18fd3cb83a78 Pull complete 1380.9s\n ✔ ce86c34af927 Pull complete 1383.7s\n ✔ 6efed1a6a8f0 Pull complete 1385.1s\n ✔ 9fc8549fc5d4 Pull complete 1386.5s\n ✔ 1b3b81dbe4ce Pull complete 1388.0s\n ✔ acbe3debc1b0 Pull complete 1389.3s\n ✔ 2b0eb12e590f Pull complete 1390.6s\n ✔ changedetection Pulled\n ----\n\n\u3068\u3044\u3046\u3053\u3068\u30672\u65e5\u304f\u3089\u3044\u5931\u6557\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u305fpull\u304c1\u56de\u3067\u901a\u308a\u307e\u3057\u305f\uff0e\n\u3057\u3070\u3089\u304f\u306f\u3053\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3044\u307e\u3059\uff0e\n\n\n.\u74b0\u5883\n\n\n\n$ dpkg-query -W docker.io bash\nbash 5.2.37-2+b5\ndocker.io 26.1.5+dfsg1-4+b1\n$ lsb_release -dr\nDescription: Debian GNU/Linux forky/sid\nRelease: n/a\n$ arch\nx86_64", "date_published": "2025-08-21T08:08:34+09:00", "date_modified": "2025-08-21T08:08:36+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "docker", "docker compose", "Debian", "Linux", "sid" ] }, { "id": "https://matoken.org/blog/?p=4386", "url": "https://matoken.org/blog/2025/01/18/docker-compose-stopped-working-in-debian-sid-environment/", "title": "Debian sid\u74b0\u5883\u3067Docker Compose\u304c\u52d5\u304b\u306a\u304f\u306a\u3063\u305f", "content_html": "
\n
\n

\n
\n\n\n\n\n\n
\n
Note
\n
\n
\n

\u30d0\u30b0\u5831\u544a\u3057\u305f\u3068\u3053\u308d\uff0c2025-01-19(JST\u3067\u306f20\u65e5)\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u66f4\u65b0\u3055\u308c\uff0cdocker-compose\u30d1\u30c3\u30b1\u30fc\u30b8\u304cPython 3.13\u3067\u3082\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0ev2\u5bfe\u5fdc\u306f\u307e\u3060\uff0e

\n
\n
\n
\n
\n

I uploaded docker-compose 1.29.2-6.4 earlier today to fix that. (I
\ncan’t help with packaging 2.x, though.)

\n
\n
\n\n
\n
\n
\n
\n
    \n
  • \n

    Replace pipes with shlex for Python 3.13 compatibility (closes:
    \n#1084703).

    \n
  • \n
\n
\n
\n\n
\n\n
\n
\n
\n

Debian sid\u3092\u518d\u8d77\u52d5\u3057\u305f\u3042\u3068\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305fDocker Compose\u30b3\u30f3\u30c6\u30ca\u304c\u52d5\u3044\u3066\u3044\u307e\u305b\u3093\uff0e\u624b\u52d5\u3067\u8d77\u52d5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\uff0e

\n
\n
\n
\n
$ docker-compose -v\nTraceback (most recent call last):\n  File \"/usr/bin/docker-compose\", line 33, in <module>\n    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())\n             ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/bin/docker-compose\", line 25, in importlib_load_entry_point\n    return next(matches).load()\n           ~~~~~~~~~~~~~~~~~~^^\n  File \"/usr/lib/python3.13/importlib/metadata/__init__.py\", line 179, in load\n    module = import_module(match.group('module'))\n  File \"/usr/lib/python3.13/importlib/__init__.py\", line 88, in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"<frozen importlib._bootstrap>\", line 1387, in _gcd_import\n  File \"<frozen importlib._bootstrap>\", line 1360, in _find_and_load\n  File \"<frozen importlib._bootstrap>\", line 1331, in _find_and_load_unlocked\n  File \"<frozen importlib._bootstrap>\", line 935, in _load_unlocked\n  File \"<frozen importlib._bootstrap_external>\", line 1026, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 488, in _call_with_frames_removed\n  File \"/usr/lib/python3/dist-packages/compose/cli/main.py\", line 5, in <module>\n    import pipes\nModuleNotFoundError: No module named 'pipes'
\n
\n
\n

\n
\n

\u305d\u3046\u3044\u3048\u3070\u5c11\u3057\u524d\u306bPython\u306eversion\u304c\u4e0a\u304c\u3063\u305f\u306e\u3067\u305d\u308c\u304c\u95a2\u4fc2\u3057\u3066\u3044\u305d\u3046\u3067\u3059\uff0e
\npipes\u95a2\u9023\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306fdocker.io/docker-compose\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f9d\u5b58\u306b\u306f\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\uff0eapt-cache search\u3067\u3055\u304c\u3057\u3066\u3082\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\uff0e
\npipes\u306fPython 3.11\u3067\u5ec3\u6b62\u3055\u308c\uff0c3.13\u3067\u524a\u9664\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e\u305d\u3057\u3066Debian sid\u306ePython\u306f\u5c11\u3057\u524d\u306b3.13\u306b\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\uff0e

\n
\n\n
\n
\n
$ python3 --version\nPython 3.13.1\n$ dpkg-query -W python3\npython3 3.13.1-2
\n
\n
\n
\n

Debian\u3068\u3057\u3066\u306fDocker Comose v1\u306f\u5ec3\u6b62\u3055\u308c\u3066\u3044\u308b\u306e\u3067v2\u306b\u4e0a\u3052\u305f\u3044\u3051\u3069go\u306a\u3069\u306e\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u6b20\u5982\u3057\u3066\u3044\u308b\u305f\u3081v2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u304c\u6b62\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e

\n
\n\n
\n

\u3068\u3044\u3046\u611f\u3058\u3067Python 3.13\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305fDebian sid\u3067\u306fdocker-compose\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\uff0e
\n\u6050\u3089\u304fDocker Compose v2\u304c\u964d\u308a\u3066\u304f\u308b\u307e\u3067\u306f\u52d5\u304b\u306a\u3044\u306e\u304b\u306a\u3068\uff0e

\n
\n
\n

\u3068\u3044\u3046\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u306fDocker\u8b39\u88fd\u306e\u3082\u306e\u3092\u5c0e\u5165\u3057\u3066\u51cc\u3050\u5fc5\u8981\u304c\u3042\u308a\u305d\u3046\u3067\u3059\uff0e

\n
\n
\n
\n
\n

Docker.com\u8b39\u88fdDocker\u3092\u5c0e\u5165

\n
\n
\n

\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e

\n
\n\n
\n
Debian\u306e\u95a2\u9023\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664
\n
\n
$ sudo apt remove docker.io docker-cli docker-doc docker-compose podman-docker containerd runc
\n
\n
\n
\n
Docker\u306ePGP\u9375\u306e\u767b\u9332
\n
\n
$ sudo apt install ca-certificates curl\n$ sudo install -m 0755 -d /etc/apt/keyrings\n$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo tee /etc/apt/keyrings/docker.asc\n$ gpg --show-keys /etc/apt/keyrings/docker.asc\npub   rsa4096 2017-02-22 [SCEA]\n      9DC858229FC7DD38854AE2D88D81803C0EBFCD88\nuid                      Docker Release (CE deb) <docker@docker.com>\nsub   rsa4096 2017-02-22 [S]\n$ sudo chmod a+r /etc/apt/keyrings/docker.asc\n$ w3m -dump https://download.docker.com/linux/debian/dists/\nIndex of linux/debian/dists/\n\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\n../\nbookworm/\nbullseye/\nbuster/\njessie/\nstretch/\nwheezy/\n\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n$ echo \\\n  \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \\\n  bookworm stable\" | \\\n  sudo tee /etc/apt/sources.list.d/docker.list\ndeb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian   bookworm stable\n$ sudo apt update\n$ sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin\n$ docker --version\nDocker version 27.5.0, build a187fa5\n$ docker compose version\nDocker Compose version v2.32.4
\n
\n
\n
\n\n\n\n\n\n
\n
Note
\n
\ntrixie(testing), sid(unstable), experimental\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u306a\u3044\u3088\u3046\u306a\u306e\u3067bookworm(stable)\u7528\u3092\u5229\u7528\u3057\u307e\u3057\u305f\uff0e\n
\n
\n
\n
Docker\u52d5\u4f5c\u78ba\u8a8d
\n
\n
$ docker run hello-world\n\nHello from Docker!\nThis message shows that your installation appears to be working correctly.\n\nTo generate this message, Docker took the following steps:\n 1. The Docker client contacted the Docker daemon.\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\n    (amd64)\n 3. The Docker daemon created a new container from that image which runs the\n    executable that produces the output you are currently reading.\n 4. The Docker daemon streamed that output to the Docker client, which sent it\n    to your terminal.\n\nTo try something more ambitious, you can run an Ubuntu container with:\n $ docker run -it ubuntu bash\n\nShare images, automate workflows, and more with a free Docker ID:\n https://hub.docker.com/\n\nFor more examples and ideas, visit:\n https://docs.docker.com/get-started/
\n
\n
\n
\n
Docker Cmpose\u3082\u52d5\u4f5c\u3059\u308b\u306e\u3092\u78ba\u8a8d
\n
\n
$ cd $PATH_TO_COMPOSE\n$ docker compose up\n   :
\n
\n
\n
\n
\n", "content_text": "Note\n\n\n\n\u30d0\u30b0\u5831\u544a\u3057\u305f\u3068\u3053\u308d\uff0c2025-01-19(JST\u3067\u306f20\u65e5)\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u66f4\u65b0\u3055\u308c\uff0cdocker-compose\u30d1\u30c3\u30b1\u30fc\u30b8\u304cPython 3.13\u3067\u3082\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0ev2\u5bfe\u5fdc\u306f\u307e\u3060\uff0e\n\n\n\n\nI uploaded docker-compose 1.29.2-6.4 earlier today to fix that. (I\ncan’t help with packaging 2.x, though.)\n\n\n\n— #1040417 – docker-compose V1 is depreciated. – Debian Bug report logs\n\n\n\n\n\n\n\nReplace pipes with shlex for Python 3.13 compatibility (closes:\n#1084703).\n\n\n\n\n\n— metadata.ftp-master.debian.org/changelogs//main/d/docker-compose/docker-compose_1.29.2-6.4_changelog\n\n\n\n\n\nPackage: docker-compose | Debian Sources patch\n\n\n\n\n\n\n\n\nDebian sid\u3092\u518d\u8d77\u52d5\u3057\u305f\u3042\u3068\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305fDocker Compose\u30b3\u30f3\u30c6\u30ca\u304c\u52d5\u3044\u3066\u3044\u307e\u305b\u3093\uff0e\u624b\u52d5\u3067\u8d77\u52d5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\uff0e\n\n\n\n$ docker-compose -v\nTraceback (most recent call last):\n File \"/usr/bin/docker-compose\", line 33, in <module>\n sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/bin/docker-compose\", line 25, in importlib_load_entry_point\n return next(matches).load()\n ~~~~~~~~~~~~~~~~~~^^\n File \"/usr/lib/python3.13/importlib/metadata/__init__.py\", line 179, in load\n module = import_module(match.group('module'))\n File \"/usr/lib/python3.13/importlib/__init__.py\", line 88, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"<frozen importlib._bootstrap>\", line 1387, in _gcd_import\n File \"<frozen importlib._bootstrap>\", line 1360, in _find_and_load\n File \"<frozen importlib._bootstrap>\", line 1331, in _find_and_load_unlocked\n File \"<frozen importlib._bootstrap>\", line 935, in _load_unlocked\n File \"<frozen importlib._bootstrap_external>\", line 1026, in exec_module\n File \"<frozen importlib._bootstrap>\", line 488, in _call_with_frames_removed\n File \"/usr/lib/python3/dist-packages/compose/cli/main.py\", line 5, in <module>\n import pipes\nModuleNotFoundError: No module named 'pipes'\n\n\n\n\n\u305d\u3046\u3044\u3048\u3070\u5c11\u3057\u524d\u306bPython\u306eversion\u304c\u4e0a\u304c\u3063\u305f\u306e\u3067\u305d\u308c\u304c\u95a2\u4fc2\u3057\u3066\u3044\u305d\u3046\u3067\u3059\uff0e\npipes\u95a2\u9023\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306fdocker.io/docker-compose\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f9d\u5b58\u306b\u306f\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\uff0eapt-cache search\u3067\u3055\u304c\u3057\u3066\u3082\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\uff0e\npipes\u306fPython 3.11\u3067\u5ec3\u6b62\u3055\u308c\uff0c3.13\u3067\u524a\u9664\u3055\u308c\u305f\u3088\u3046\u3067\u3059\uff0e\u305d\u3057\u3066Debian sid\u306ePython\u306f\u5c11\u3057\u524d\u306b3.13\u306b\u4e0a\u304c\u3063\u3066\u3044\u307e\u3059\uff0e\n\n\n\n\nPEP 594 \u2013 Removing dead batteries from the standard library | peps.python.org\n\n\n\n\n\n$ python3 --version\nPython 3.13.1\n$ dpkg-query -W python3\npython3 3.13.1-2\n\n\n\nDebian\u3068\u3057\u3066\u306fDocker Comose v1\u306f\u5ec3\u6b62\u3055\u308c\u3066\u3044\u308b\u306e\u3067v2\u306b\u4e0a\u3052\u305f\u3044\u3051\u3069go\u306a\u3069\u306e\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u6b20\u5982\u3057\u3066\u3044\u308b\u305f\u3081v2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u304c\u6b62\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\n\n\n\n\n#1040417 – docker-compose V1 is depreciated. – Debian Bug report logs\n\n\nDocker Compose: What\u2019s New, What\u2019s Changing, What\u2019s Next | Docker\n\n\n\n\n\u3068\u3044\u3046\u611f\u3058\u3067Python 3.13\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305fDebian sid\u3067\u306fdocker-compose\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\uff0e\n\u6050\u3089\u304fDocker Compose v2\u304c\u964d\u308a\u3066\u304f\u308b\u307e\u3067\u306f\u52d5\u304b\u306a\u3044\u306e\u304b\u306a\u3068\uff0e\n\n\n\u3068\u3044\u3046\u3053\u3068\u3067\u3068\u308a\u3042\u3048\u305a\u306fDocker\u8b39\u88fd\u306e\u3082\u306e\u3092\u5c0e\u5165\u3057\u3066\u51cc\u3050\u5fc5\u8981\u304c\u3042\u308a\u305d\u3046\u3067\u3059\uff0e\n\n\n\n\nDocker.com\u8b39\u88fdDocker\u3092\u5c0e\u5165\n\n\n\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u5c0e\u5165\u3057\u307e\u3057\u305f\uff0e\n\n\n\n\nDebian | Docker Docs\n\n\n\n\nDebian\u306e\u95a2\u9023\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\n\n$ sudo apt remove docker.io docker-cli docker-doc docker-compose podman-docker containerd runc\n\n\n\nDocker\u306ePGP\u9375\u306e\u767b\u9332\n\n$ sudo apt install ca-certificates curl\n$ sudo install -m 0755 -d /etc/apt/keyrings\n$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo tee /etc/apt/keyrings/docker.asc\n$ gpg --show-keys /etc/apt/keyrings/docker.asc\npub rsa4096 2017-02-22 [SCEA]\n 9DC858229FC7DD38854AE2D88D81803C0EBFCD88\nuid Docker Release (CE deb) <docker@docker.com>\nsub rsa4096 2017-02-22 [S]\n$ sudo chmod a+r /etc/apt/keyrings/docker.asc\n$ w3m -dump https://download.docker.com/linux/debian/dists/\nIndex of linux/debian/dists/\n\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n\n../\nbookworm/\nbullseye/\nbuster/\njessie/\nstretch/\nwheezy/\n\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\n$ echo \\\n \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \\\n bookworm stable\" | \\\n sudo tee /etc/apt/sources.list.d/docker.list\ndeb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable\n$ sudo apt update\n$ sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin\n$ docker --version\nDocker version 27.5.0, build a187fa5\n$ docker compose version\nDocker Compose version v2.32.4\n\n\n\n\n\n\nNote\n\n\ntrixie(testing), sid(unstable), experimental\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u306a\u3044\u3088\u3046\u306a\u306e\u3067bookworm(stable)\u7528\u3092\u5229\u7528\u3057\u307e\u3057\u305f\uff0e\n\n\n\n\n\nDocker\u52d5\u4f5c\u78ba\u8a8d\n\n$ docker run hello-world\n\nHello from Docker!\nThis message shows that your installation appears to be working correctly.\n\nTo generate this message, Docker took the following steps:\n 1. The Docker client contacted the Docker daemon.\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\n (amd64)\n 3. The Docker daemon created a new container from that image which runs the\n executable that produces the output you are currently reading.\n 4. The Docker daemon streamed that output to the Docker client, which sent it\n to your terminal.\n\nTo try something more ambitious, you can run an Ubuntu container with:\n $ docker run -it ubuntu bash\n\nShare images, automate workflows, and more with a free Docker ID:\n https://hub.docker.com/\n\nFor more examples and ideas, visit:\n https://docs.docker.com/get-started/\n\n\n\nDocker Cmpose\u3082\u52d5\u4f5c\u3059\u308b\u306e\u3092\u78ba\u8a8d\n\n$ cd $PATH_TO_COMPOSE\n$ docker compose up\n :", "date_published": "2025-01-18T05:48:00+09:00", "date_modified": "2025-01-20T18:02:33+09:00", "authors": [ { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" } ], "author": { "name": "matoken", "url": "https://matoken.org/blog/author/matoken/", "avatar": "https://secure.gravatar.com/avatar/38f5f3b575c5eb45cda6aa659bca119ac7a5e16b46565e869d0030e3bd66981d?s=512&d=mm&r=g" }, "tags": [ "1040417", "1084703", "docker", "docker compose", "Debian", "Linux", "sid" ] } ] }