<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>riemann1618</author_name>
  <author_url>https://blog.hatena.ne.jp/riemann1618/</author_url>
  <blog_title>logicoffee プログラミング勉強日記</blog_title>
  <blog_url>https://logicoffee.hatenablog.com/</blog_url>
  <categories>
    <anon>Docker</anon>
    <anon>Rails</anon>
  </categories>
  <description>概要 DockerでRails環境を構築すると, コンテナが起動しないトラブルに見舞われることがあります. その原因と対処法を説明します. トラブルケース 以下のようなコマンドでRails Serverが稼働しているコンテナに入ったとします. docker-compose exec &lt;Rails container&gt; bash 一通り作業を終え, コンテナから出る際に Ctrl+D で抜けるとコンテナが停止してしまいます. そこであわてて docker-compose up -d としても, ほんの一瞬起動するだけで, すぐコンテナが停止してしまいます. 対処法 原因よりも大事であろう対処法を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogicoffee.hatenablog.com%2Fentry%2F2018%2F06%2F26%2F195502&quot; title=&quot;【Rails, Docker】コンテナが起動後すぐに落ちてしまうトラブルの原因とその対処法 - logicoffee プログラミング勉強日記&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>2018-06-26 19:55:02</published>
  <title>【Rails, Docker】コンテナが起動後すぐに落ちてしまうトラブルの原因とその対処法</title>
  <type>rich</type>
  <url>https://logicoffee.hatenablog.com/entry/2018/06/26/195502</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
