<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ueponx</author_name>
  <author_url>https://blog.hatena.ne.jp/ueponx/</author_url>
  <blog_title>uepon日々の備忘録</blog_title>
  <blog_url>https://uepon.hatenadiary.com/</blog_url>
  <categories>
    <anon>Ubuntu</anon>
    <anon>Windows</anon>
    <anon>docker</anon>
    <anon>コンピュータ</anon>
    <anon>仮想</anon>
  </categories>
  <description>Dockerのコンテナ間の通信をできないかなと思って調べてみました。今まではコンテナにDBとWebサーバを共存させるようなことをやっていたのですが、 実際には別のサーバになることも多いので、この際調べて変更をしていこうと思います。 今回のテスト環境 今回は以下の環境でテストを行っています。 Windows10 Home WSL2環境のDocker コンテナイメージUbuntu : latest コンテナの生成・実行 実験の対象となるコンテナを以下の様に生成実行しました。 PS C:\&gt; docker run -itd -v /c/sharebin:/sharebin --name myubun…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuepon.hatenadiary.com%2Fentry%2F2022%2F05%2F20%2F003120&quot; title=&quot;Dockerのコンテナ間のネットワーク通信 - uepon日々の備忘録&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>2022-05-20 00:31:20</published>
  <title>Dockerのコンテナ間のネットワーク通信</title>
  <type>rich</type>
  <url>https://uepon.hatenadiary.com/entry/2022/05/20/003120</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
