<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>progrunner17</author_name>
  <author_url>https://blog.hatena.ne.jp/progrunner17/</author_url>
  <blog_title>Re Inventing the Wheel.</blog_title>
  <blog_url>https://progrunner.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>...というタイトルのものの、実際は既存のlinuxブリッジにlibvirtの仮想マシンをつなげる方法です。 1. つなげたいdockerネットワークのブリッジ名を調べる. 特に設定をしていなければdocker0のはずですが、 以下の様にして調べても大丈夫だと思います。 docker network inspect &lt;ネットワーク名&gt; 2. libvirtにおける仮想マシンの名前を取得する 以下の様にすれば取得できます. ただし、defaultの部分はVagrantfileで定義(していれば）した名前になるはず。 virsh domname $(cat .vagrant/machines/de…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogrunner.hatenablog.jp%2Fentry%2F2020%2F05%2F14%2F231235&quot; title=&quot;vagrant-libvirtで作ったVMを、dockerのネットワークにつなげる。 - Re Inventing the Wheel.&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>2020-05-14 23:12:35</published>
  <title>vagrant-libvirtで作ったVMを、dockerのネットワークにつなげる。</title>
  <type>rich</type>
  <url>https://progrunner.hatenablog.jp/entry/2020/05/14/231235</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
