{"blog_url":"https://moremagic.hateblo.jp/","url":"https://moremagic.hateblo.jp/entry/20160916/1473985630","provider_url":"https://hatena.blog","width":"100%","description":"\u307e\u305a Ubuntu\u3067\u74b0\u5883\u6e96\u5099\u3002 \u3053\u308c\u3082\u6700\u7d42\u7684\u306b\u306fDocker\u30d5\u30a1\u30a4\u30eb\u5316\u3059\u308b\u4e88\u5b9a\u3002 apt-get update && apt-get -y upgrade apt-get install python python-pip pip install --upgrade pip pip install docker-py\u3053\u3093\u306a\u611f\u3058\u3067\u4f7f\u3046\u307f\u305f\u3044 from docker import client # \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070 Unix\u30c9\u30e1\u30a4\u30f3\u30bd\u30b1\u30c3\u30c8\u3082\u4f7f\u7528\u53ef\u80fd\uff01\u3059\u3054\u3044 # cli = client.Client(base_url='unix://var/run/docker.sock') cli = cl\u2026","categories":["Python","Docker","Ubuntu"],"image_url":null,"blog_title":"moremagic\u2019s diary","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoremagic.hateblo.jp%2Fentry%2F20160916%2F1473985630\" title=\"docker python client - moremagic\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"moremagic","title":"docker python client","author_url":"https://blog.hatena.ne.jp/moremagic/","height":"190","type":"rich","version":"1.0","published":"2016-09-16 09:27:10"}