{"id":771,"date":"2017-06-14T01:23:08","date_gmt":"2017-06-13T16:23:08","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=771"},"modified":"2017-06-14T16:55:27","modified_gmt":"2017-06-14T07:55:27","slug":"docker-images-for-robotics","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=771","title":{"rendered":"Docker Images for Robotics"},"content":{"rendered":"<p>Fedora\u309225\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Docker \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo dnf install docker\r\n<\/pre>\n<p>Related Links<\/p>\n<ul>\n<li><a href=\"https:\/\/hub.docker.com\/r\/timn\/rcll-sim-rosplan\/\">Docker Images for Robotics<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/timn\/docker-robotics\">timn\/docker-robotics<\/a><\/li>\n<\/ul>\n<p><a href=\"http:\/\/qiita.com\/chi9rin\/items\/3326442bc02d4dca4669\">Proxy \u74b0\u5883\u4e0b\u3067\u306e Docker \u306e\u4f7f\u7528\u65b9\u6cd5\uff08Docker \u30c7\u30fc\u30e2\u30f3\u304c systemd \u306b\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5834\u5408\uff09<\/a>\u3088\u308a\uff0c\/lib\/systemd\/system\/docker.service \u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nEnvironment='http_proxy=http:\/\/cache.st.ryukoku.ac.jp:8080\/'\r\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo systemctl start docker\r\nsudo systemctl enable docker\r\n<\/pre>\n<p>Docker \u306e\u30c6\u30b9\u30c8<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">sudo docker run --rm hello-world<\/pre>\n<p>Docker \u306e\u6e96\u5099<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nmkdir Docker\r\ncd Docker\r\ngit clone https:\/\/github.com\/timn\/docker-robotics\r\nmkdir BabyTigers\r\ncd BabyTigers\r\ncp -r ..\/docker-robotics\/rcll-sim-rosplan\/* .\r\nsudo docker build -f Dockerfile.2016-f25-kinetic -t image:latest .\r\n<\/pre>\n<p>dnf \u3067repo\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u6012\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Error: Failed to synchronize cache for repo 'updates' <\/pre>\n<p>\u9f8d\u5927\u5185\u3067\u306f\u3001dnf \u306eproxy \u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001Step 2\u3092\u4ee5\u4e0b\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# Install additional ROSPlan dependencies\r\nRUN echo &quot;proxy=http:\/\/cache.st.ryukoku.ac.jp:8080&quot; &gt;&gt; \/etc\/dnf\/dnf.conf &amp;&amp; dnf install -y flex python2-pymongo &amp;&amp; dnf clean all\r\n<\/pre>\n<p>\u3066\u3044\u3046\u304b\u74b0\u5883\u5909\u6570\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u3093\u3067\u3059\u306d\uff0e\u4ee5\u4e0b\u3092Dockerfile.2016-f25-kinetic \u306e\u6700\u521d\u306e\u65b9\u306b\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nENV http_proxy http:\/\/cache.st.ryukoku.ac.jp:8080\r\nENV https_proxy $http_proxy\r\nRUN git config --global http.proxy $http_proxy\r\nRUN git config --global https.proxy $https_proxy\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fedora\u309225\u306b\u3057\u307e\u3057\u3087\u3046\u3002 Docker \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb sudo dnf &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=771\"> <span class=\"screen-reader-text\">Docker Images for Robotics<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[10,15,3,2],"tags":[],"class_list":["post-771","post","type-post","status-publish","format-standard","hentry","category-fawkes","category-icaps2017","category-logistics-league","category-robocup"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=771"}],"version-history":[{"count":7,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/771\/revisions"}],"predecessor-version":[{"id":779,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/771\/revisions\/779"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}