<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lhiroki1205</author_name>
  <author_url>https://blog.hatena.ne.jp/lhiroki1205/</author_url>
  <blog_title>技術ブログ</blog_title>
  <blog_url>https://lhiroki1205.hatenablog.com/</blog_url>
  <categories>
    <anon>docker</anon>
  </categories>
  <description>めちゃ便利、binding.pryのdocker attach短縮方法 ※ 事前にDocker環境構築は終えていると想定 １. bin/docker-compose-attachに以下の内容を追記記載 #!/usr/bin/env bash docker-compose up -d &amp;&amp; docker attach $(docker-compose ps -q $1) ２. Railsアプリのあるコンテナ名を引数としては渡す形でコマンド入力 ./bin/docker-compose-attach app こうすると、コンテナ起動とアタッチを同時にしてくれるので。 binding.pryでデバッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flhiroki1205.hatenablog.com%2Fentry%2F2020%2F07%2F23%2F142653&quot; title=&quot;めちゃ便利、binding.pryのdocker attach短縮方法 - 技術ブログ&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-07-23 14:26:53</published>
  <title>めちゃ便利、binding.pryのdocker attach短縮方法</title>
  <type>rich</type>
  <url>https://lhiroki1205.hatenablog.com/entry/2020/07/23/142653</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
