<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>otiai10</author_name>
  <author_url>https://blog.hatena.ne.jp/otiai10/</author_url>
  <blog_title>DRYな備忘録</blog_title>
  <blog_url>https://otiai10.hatenablog.com/</blog_url>
  <categories>
    <anon>docker</anon>
    <anon>docker-compose</anon>
    <anon>docker-machine</anon>
    <anon>mysql</anon>
  </categories>
  <description>問題 だいたいどんなDBのイメージ使ってても、同じdocker-composeでサーバアプリケーションも一緒に動かそうとすると、いかのように叱られることがよくある。 Unknown MySQL server host 'localhost' べつにMySQLに限らない。MongoDBでもRedisでも、ありがち。 調査 mysql - Running migrations with Rails in a Docker container with multiple container instances - Stack Overflow A tutorial on how to use MyS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotiai10.hatenablog.com%2Fentry%2F2016%2F02%2F04%2F160515&quot; title=&quot;docker-composeで Unknown MySQL server host &amp;#39;localhost&amp;#39; とかなる現象 - DRYな備忘録&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>http://cdn-ak.f.st-hatena.com/images/fotolife/o/otiai10/20160204/20160204160309.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-02-04 16:05:15</published>
  <title>docker-composeで Unknown MySQL server host 'localhost' とかなる現象</title>
  <type>rich</type>
  <url>https://otiai10.hatenablog.com/entry/2016/02/04/160515</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
