<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazukifu</author_name>
  <author_url>https://blog.hatena.ne.jp/kazukifu/</author_url>
  <blog_title>Kazuki's Blog</blog_title>
  <blog_url>https://kazukifu.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに Docker 上で Ubuntu コンテナを立ち上げ、環境構築のために apt update や apt-get install を実行した際、処理の途中で数秒〜数十秒ほど固まったり、異様に時間がかかったりした経験はないでしょうか。 「ミラーサーバーが混んでいるのかな？」と思いがちですが、実は コンテナ内での IPv6 名前の解決とルーティング不達（Network is unreachable）に伴うフォールバック遅延 が原因であるケースが多々あります。 今回は、この遅延が発生するネットワーク的なメカニズムと、コンテナ内での具体的な確認手順、そして Acquire::ForceIPv…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazukifu.hatenablog.com%2Fentry%2F2026%2F09%2F08%2F075106&quot; title=&quot;Dockerコンテナ（Ubuntu）で `apt update` が遅い原因と解決策！IPv4固定化（`Acquire::ForceIPv4`） - Kazuki&amp;#39;s Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-09-08 07:51:06</published>
  <title>Dockerコンテナ（Ubuntu）で `apt update` が遅い原因と解決策！IPv4固定化（`Acquire::ForceIPv4`）</title>
  <type>rich</type>
  <url>https://kazukifu.hatenablog.com/entry/2026/09/08/075106</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
