{"id":1385,"date":"2015-04-27T04:00:00","date_gmt":"2015-04-26T19:00:00","guid":{"rendered":"http:\/\/helloidea.org\/?p=1385"},"modified":"2015-04-27T07:00:51","modified_gmt":"2015-04-26T22:00:51","slug":"docker%e3%81%ae%e5%9f%ba%e6%9c%ac%e7%9a%84%e3%81%aa%e4%bd%bf%e3%81%84%e6%96%b9%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/helloidea.org\/index.php\/archives\/1385.html","title":{"rendered":"Docker\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u30e1\u30e2"},"content":{"rendered":"<p>\u9023\u4f11\u306b\u306a\u3063\u305f\u306e\u3067\u6c17\u306b\u306a\u3063\u3066\u305fdocker\u5f04\u308a\u3002<br \/>\n\u516c\u5f0f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u8ffd\u3046\u306e\u3067\u3001\u5165\u9580\u7684\u306a\u4f55\u304b\u3067\u3059\u3002<\/p>\n<h1>\u25a0<span class=\"hi-c-amber\">\u524d\u63d0\u77e5\u8b58<\/span><\/h1>\n<p>\u25c6wiki<br \/>\n<a href=\"http:\/\/ja.wikipedia.org\/wiki\/Docker\" target=\"_blank\">http:\/\/ja.wikipedia.org\/wiki\/Docker<\/a><\/p>\n<p>\u25c6\u516c\u5f0f<br \/>\n<a href=\"https:\/\/www.docker.com\/\" target=\"_blank\">https:\/\/www.docker.com\/<\/a><\/p>\n<p>\u25c6\u516c\u5f0f &#8211; document<br \/>\n<a href=\"https:\/\/docs.docker.com\/\" target=\"_blank\">https:\/\/docs.docker.com\/<\/a><br \/>\n\u5bfe\u5fdcOS\u3084\u30b5\u30f3\u30d7\u30eb\u306e\u5b9f\u88c5\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3059<br \/>\n\u4eca\u306e\u3068\u3053\u308d\u6b63\u5f0f\u5bfe\u5fdc\u3057\u3066\u308bOS\u2193 2015-04-27<\/p>\n<pre class=\"brush: plain; collapse: true; light: false; title: ; toolbar: true; notranslate\" title=\"\">\r\nUbuntu\r\nMac OS X\r\nMicrosoft Windows\r\nAmazon EC2\r\nArch Linux\r\nBinaries\r\nCentOS\r\nCRUX Linux\r\nDebian\r\nFedora\r\nFrugalWare\r\nGoogle Cloud Platform\r\nGentoo\r\nIBM Softlayer\r\nJoyent Compute Service\r\nMicrosoft Azure\r\nRackspace Cloud\r\nRed Hat Enterprise Linux\r\nOracle Linux\r\nSUSE\r\nDocker Compose\r\n<\/pre>\n<p>\u25c6\u516c\u5f0f &#8211; document &#8211; Windows Boot2Docker<br \/>\n<a href=\"https:\/\/docs.docker.com\/installation\/windows\/\" target=\"_blank\">https:\/\/docs.docker.com\/installation\/windows\/<\/a><br \/>\n<a href=\"https:\/\/github.com\/boot2docker\/boot2docker\" target=\"_blank\">https:\/\/github.com\/boot2docker\/boot2docker<\/a><br \/>\nWindows\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u308b\u3088\u3046\u3067\u3059\u306d\u3002<br \/>\n\u3057\u304b\u3057\u30cd\u30a4\u30c6\u30a3\u30d6\u5b9f\u88c5\u3067\u306f\u306a\u304fVirtualBox\u4e0a\u3067\u8efd\u91cfLinux\u3092\u52d5\u304b\u3059\u30bf\u30a4\u30d7\uff01&#8230;linux\u306b\u4f9d\u5b58\u3057\u3059\u304e<br \/>\ndocker\u306e\u69cb\u6210\u4e0a\u3001sandboxie\u7684\u306a\u6c17\u8efd\u306a\u4f7f\u3044\u65b9\u306f\u56f0\u96e3\u306a\u6a21\u69d8<br \/>\n\u3042\u304f\u307e\u3067\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u7528\u3067\u3001GUI\u304c\u7d61\u3093\u3067\u304f\u308b\u7269\u306f\u52d5\u304b\u305b\u306a\u3044\u3002<br \/>\nX\u3092\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067\u3063\u3066\u601d\u3063\u305f\u3051\u3069\u753b\u9762\u306e\u51fa\u529b\u5148\u304c\u7121\u3055\u305d\u3046\u3002X\u306e\u8ee2\u9001\u304c\u3042\u308b\u3063\u3066\uff1f<br \/>\n\u3068\u308a\u3042\u3048\u305aGUI\u304c\u7d61\u3080\u4eee\u60f3\u5316\u6280\u8853\u3068\u306f\u7af6\u5408\u3057\u306a\u3055\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u25c6Docker Hub Registry<br \/>\n<a href=\"https:\/\/registry.hub.docker.com\/\" target=\"_blank\">https:\/\/registry.hub.docker.com\/<\/a><br \/>\ngithub\u7684\u306aDocker\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u7f6e\u304f\u30b5\u30fc\u30d3\u30b9\u3002<br \/>\ndocker\u306e\u30b3\u30de\u30f3\u30c9\u304c\u3001\u76f4\u63a5 Docker Hub Registry \u304b\u3089\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3067\u308b\u8fba\u308a\u3001\u6839\u5e79\u7684\u306a\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u4e00\u90e8\u307f\u305f\u3044\u3067\u3059\u306d<\/p>\n<h1>\u25a0<span class=\"hi-c-amber\">\u624b\u59cb\u3081\u306b\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u78ba\u8a8d<\/span><\/h1>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\n$ sudo apt-get install docker.io\r\n<\/pre>\n<pre class=\"brush: bash; collapse: true; light: false; title: ; toolbar: true; notranslate\" title=\"\">\r\n\u4ee5\u4e0b\u306e\u8ffd\u52a0\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059:\r\naufs-tools cgroupfs-mount git git-man liberror-perl\r\n\u63d0\u6848\u30d1\u30c3\u30b1\u30fc\u30b8:\r\nbtrfs-tools debootstrap lxc rinse git-daemon-run git-daemon-sysvinit git-doc\r\ngit-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn\r\n\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u65b0\u305f\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059:\r\naufs-tools cgroupfs-mount docker.io git git-man liberror-perl\r\n\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9: 0 \u500b\u3001\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb: 6 \u500b\u3001\u524a\u9664: 0 \u500b\u3001\u4fdd\u7559: 0 \u500b\u3002\r\n7,843 kB \u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\r\n\u3053\u306e\u64cd\u4f5c\u5f8c\u306b\u8ffd\u52a0\u3067 44.3 MB \u306e\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u304c\u6d88\u8cbb\u3055\u308c\u307e\u3059\u3002\r\n<\/pre>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\n$ dpkg -L docker.io\r\n<\/pre>\n<pre class=\"brush: bash; collapse: true; light: false; title: ; toolbar: true; notranslate\" title=\"\">\r\n\/.\r\n\/usr\r\n\/usr\/bin\r\n\/usr\/bin\/docker\r\n\/usr\/share\r\n\/usr\/share\/docker.io\r\n\/usr\/share\/docker.io\/contrib\r\n\/usr\/share\/docker.io\/contrib\/mkimage-rinse.sh\r\n\/usr\/share\/docker.io\/contrib\/mkimage-busybox.sh\r\n\/usr\/share\/docker.io\/contrib\/mkimage-yum.sh\r\n\/usr\/share\/docker.io\/contrib\/mkimage-unittest.sh\r\n\/usr\/share\/docker.io\/contrib\/mkimage-crux.sh\r\n\/usr\/share\/docker.io\/contrib\/mkimage-arch-pacman.conf\r\n\/usr\/share\/docker.io\/contrib\/desktop-integration\r\n\/usr\/share\/docker.io\/contrib\/desktop-integration\/chromium\r\n\/usr\/share\/docker.io\/contrib\/desktop-integration\/chromium\/Dockerfile\r\n\/usr\/share\/docker.io\/contrib\/desktop-integration\/README.md\r\n\/usr\/share\/docker.io\/contrib\/desktop-integration\/gparted\r\n\/usr\/share\/docker.io\/contrib\/desktop-integration\/gparted\/Dockerfile\r\n\/usr\/share\/docker.io\/contrib\/mkimage-alpine.sh\r\n\/usr\/share\/docker.io\/contrib\/mkimage-arch.sh\r\n\/usr\/share\/docker.io\/contrib\/mkimage-debootstrap.sh\r\n\/usr\/share\/docker.io\/contrib\/nuke-graph-directory.sh\r\n\/usr\/share\/docker.io\/contrib\/mkseccomp.sample\r\n\/usr\/share\/docker.io\/contrib\/mkseccomp.pl\r\n\/usr\/share\/docker.io\/contrib\/mkimage\r\n\/usr\/share\/docker.io\/contrib\/mkimage\/busybox-static\r\n\/usr\/share\/docker.io\/contrib\/mkimage\/.febootstrap-minimize\r\n\/usr\/share\/docker.io\/contrib\/mkimage\/rinse\r\n\/usr\/share\/docker.io\/contrib\/mkimage\/mageia-urpmi\r\n\/usr\/share\/docker.io\/contrib\/mkimage\/debootstrap\r\n\/usr\/share\/docker.io\/contrib\/mkimage.sh\r\n\/usr\/share\/docker.io\/contrib\/host-integration\r\n\/usr\/share\/docker.io\/contrib\/host-integration\/manager.sh\r\n\/usr\/share\/docker.io\/contrib\/host-integration\/Dockerfile.min\r\n\/usr\/share\/docker.io\/contrib\/host-integration\/manager.go\r\n\/usr\/share\/docker.io\/contrib\/host-integration\/manager\r\n\/usr\/share\/docker.io\/contrib\/host-integration\/manager\/systemd\r\n\/usr\/share\/docker.io\/contrib\/host-integration\/manager\/upstart\r\n\/usr\/share\/docker.io\/contrib\/host-integration\/Dockerfile.dev\r\n\/usr\/share\/lintian\r\n\/usr\/share\/lintian\/overrides\r\n\/usr\/share\/lintian\/overrides\/docker.io\r\n\/usr\/share\/zsh\r\n\/usr\/share\/zsh\/vendor-completions\r\n\/usr\/share\/zsh\/vendor-completions\/_docker\r\n\/usr\/share\/doc\r\n\/usr\/share\/doc\/docker.io\r\n\/usr\/share\/doc\/docker.io\/copyright\r\n\/usr\/share\/doc\/docker.io\/README.Debian\r\n\/usr\/share\/doc\/docker.io\/README.md.gz\r\n\/usr\/share\/doc\/docker.io\/changelog.Debian.gz\r\n\/usr\/share\/man\r\n\/usr\/share\/man\/man1\r\n\/usr\/share\/man\/man1\/docker-stop.1.gz\r\n\/usr\/share\/man\/man1\/docker-diff.1.gz\r\n\/usr\/share\/man\/man1\/docker-restart.1.gz\r\n\/usr\/share\/man\/man1\/docker-pull.1.gz\r\n\/usr\/share\/man\/man1\/docker-rm.1.gz\r\n\/usr\/share\/man\/man1\/docker-tag.1.gz\r\n\/usr\/share\/man\/man1\/docker-info.1.gz\r\n\/usr\/share\/man\/man1\/docker-unpause.1.gz\r\n\/usr\/share\/man\/man1\/docker-history.1.gz\r\n\/usr\/share\/man\/man1\/docker-ps.1.gz\r\n\/usr\/share\/man\/man1\/docker-images.1.gz\r\n\/usr\/share\/man\/man1\/docker-save.1.gz\r\n\/usr\/share\/man\/man1\/docker-build.1.gz\r\n\/usr\/share\/man\/man1\/docker-attach.1.gz\r\n\/usr\/share\/man\/man1\/docker-load.1.gz\r\n\/usr\/share\/man\/man1\/docker-rmi.1.gz\r\n\/usr\/share\/man\/man1\/docker.1.gz\r\n\/usr\/share\/man\/man1\/docker-pause.1.gz\r\n\/usr\/share\/man\/man1\/docker-logout.1.gz\r\n\/usr\/share\/man\/man1\/docker-create.1.gz\r\n\/usr\/share\/man\/man1\/docker-kill.1.gz\r\n\/usr\/share\/man\/man1\/docker-rename.1.gz\r\n\/usr\/share\/man\/man1\/docker-logs.1.gz\r\n\/usr\/share\/man\/man1\/docker-events.1.gz\r\n\/usr\/share\/man\/man1\/docker-top.1.gz\r\n\/usr\/share\/man\/man1\/docker-start.1.gz\r\n\/usr\/share\/man\/man1\/docker-login.1.gz\r\n\/usr\/share\/man\/man1\/docker-cp.1.gz\r\n\/usr\/share\/man\/man1\/docker-export.1.gz\r\n\/usr\/share\/man\/man1\/docker-run.1.gz\r\n\/usr\/share\/man\/man1\/docker-push.1.gz\r\n\/usr\/share\/man\/man1\/docker-import.1.gz\r\n\/usr\/share\/man\/man1\/docker-inspect.1.gz\r\n\/usr\/share\/man\/man1\/docker-commit.1.gz\r\n\/usr\/share\/man\/man1\/docker-wait.1.gz\r\n\/usr\/share\/man\/man1\/docker-exec.1.gz\r\n\/usr\/share\/man\/man1\/docker-stats.1.gz\r\n\/usr\/share\/man\/man1\/docker-version.1.gz\r\n\/usr\/share\/man\/man1\/docker-port.1.gz\r\n\/usr\/share\/man\/man1\/docker-search.1.gz\r\n\/usr\/share\/man\/man5\r\n\/usr\/share\/man\/man5\/Dockerfile.5.gz\r\n\/usr\/lib\r\n\/usr\/lib\/docker.io\r\n\/usr\/lib\/docker.io\/dockerinit\r\n\/lib\r\n\/lib\/systemd\r\n\/lib\/systemd\/system\r\n\/lib\/systemd\/system\/docker.service\r\n\/lib\/systemd\/system\/docker.socket\r\n\/lib\/udev\r\n\/lib\/udev\/rules.d\r\n\/lib\/udev\/rules.d\/80-docker.io.rules\r\n\/etc\r\n\/etc\/default\r\n\/etc\/default\/docker\r\n\/etc\/init.d\r\n\/etc\/init.d\/docker\r\n\/etc\/bash_completion.d\r\n\/etc\/bash_completion.d\/docker\r\n\/etc\/init\r\n\/etc\/init\/docker.conf\r\n<\/pre>\n<h1>\u25a0<span class=\"hi-c-amber\">\u30b3\u30de\u30f3\u30c9\u4e00\u89a7\u3092\u78ba\u8a8d<\/span><\/h1>\n<p>\u52dd\u624b\u306b\u7ffb\u8a33\u3002<br \/>\n\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u5229\u7528\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306b\u30cf\u30a4\u30e9\u30a4\u30c8\u3002<\/p>\n<pre class=\"brush: plain; highlight: [3,14,22,23,24,29,31,38]; title: ; toolbar: false; notranslate\" title=\"\">\r\nattach    \u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u306b\u63a5\u7d9a\r\nbuild     Dockerfile\u304b\u3089\u30a4\u30e1\u30fc\u30b8\u3092\u69cb\u7bc9\r\ncommit    \u30b3\u30f3\u30c6\u30ca\u306e\u5909\u5316\u304b\u3089\u65b0\u3057\u3044\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\r\ncp        \u30db\u30b9\u30c8\u30d1\u30b9\u306b\u30b3\u30f3\u30c6\u30ca\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u30d5\u30a1\u30a4\u30eb\/\u30d5\u30a9\u30eb\u30c0\u3092\u30b3\u30d4\u30fc\r\ncreate    \u65b0\u3057\u3044\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\r\ndiff      \u30b3\u30f3\u30c6\u30ca\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u4e0a\u306e\u5909\u66f4\u3092\u70b9\u691c\r\nevents    \u30b5\u30fc\u30d0\u304b\u3089\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\r\nexec      \u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\r\nexport    tar\u30a2\u30fc\u30ab\u30a4\u30d6\u3068\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u306e\u5185\u5bb9\u3092\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\r\nhistory   \u30a4\u30e1\u30fc\u30b8\u306e\u5c65\u6b74\u3092\u8868\u793a\r\nimages    \u30a4\u30e1\u30fc\u30b8\u306e\u4e00\u89a7\u8868\u793a\r\nimport    tar\u30dc\u30fc\u30eb\u306e\u5185\u5bb9\u304b\u3089\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\r\ninfo      \u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u60c5\u5831\u306e\u8868\u793a\r\ninspect   \u30b3\u30f3\u30c6\u30ca\u307e\u305f\u306f\u30a4\u30e1\u30fc\u30b8\u306e\u4f4e\u30ec\u30d9\u30eb\u306e\u60c5\u5831\u3092\u8fd4\u3059\r\nkill      \u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62\u3055\u305b\u308b\r\nload      tar\u30a2\u30fc\u30ab\u30a4\u30d6\u304b\u3089\u30a4\u30e1\u30fc\u30b8\u3092\u30ed\u30fc\u30c9\r\nlogin     Docker registry server \u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\r\nlogout    Docker registry server \u304b\u3089\u30ed\u30b0\u30a2\u30a6\u30c8\r\nlogs      \u30b3\u30f3\u30c6\u30ca\u306e\u30ed\u30b0\u3092\u30d5\u30a7\u30c3\u30c1\r\nport      \u30db\u30b9\u30c8\u306e\u30dd\u30fc\u30c8\u3068\u30b3\u30f3\u30c6\u30ca\u306e\u30dd\u30fc\u30c8\u7d10\u4ed8\u3051\u308b\r\npause     \u30b3\u30f3\u30c6\u30ca\u5185\u306e\u3059\u3079\u3066\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u4e00\u6642\u505c\u6b62\r\nps        \u30b3\u30f3\u30c6\u30ca\u306e\u4e00\u89a7\u8868\u793a\r\npull      Docker registry server \u304b\u3089\u30a4\u30e1\u30fc\u30b8\u307e\u305f\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30d7\u30fc\u30eb\r\npush      Docker registry server \u306b\u30a4\u30e1\u30fc\u30b8\u3084\u30ea\u30dd\u30b8\u30c8\u30ea\u3092 \u30d7\u30c3\u30b7\u30e5\r\nrename    \u65e2\u5b58\u306e\u30b3\u30f3\u30c6\u30ca\u306e\u540d\u524d\u3092\u5909\u66f4\r\nrestart   \u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u518d\u8d77\u52d5\r\nrm        1\u3064\u307e\u305f\u306f\u8907\u6570\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\u3059\u308b\r\nrmi       1\u3064\u307e\u305f\u306f\u8907\u6570\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u524a\u9664\u3059\u308b\r\nrun       \u65b0\u3057\u3044\u30b3\u30f3\u30c6\u30ca\u3067\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\r\nsave      tar\u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u30a4\u30e1\u30fc\u30b8\u3092\u4fdd\u5b58\u3059\u308b\r\nsearch    Docker Hub\u4e0a\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u691c\u7d22\r\nstart     \u505c\u6b62\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u3092\u518d\u958b\r\nstats     1\u4ee5\u4e0a\u306e\u30b3\u30f3\u30c6\u30ca'\u30ea\u30bd\u30fc\u30b9\u306e\u4f7f\u7528\u72b6\u6cc1\u7d71\u8a08\u306e\u30e9\u30a4\u30d6\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u8868\u793a\r\nstop      \u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62\r\ntag       \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30a4\u30e1\u30fc\u30b8\u306b\u30bf\u30b0\u3092\u3064\u3051\u308b\r\ntop       \u30b3\u30f3\u30c6\u30ca\u306e\u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u691c\u7d22\r\nunpause   \u4e00\u6642\u505c\u6b62\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u306e\u4e00\u6642\u505c\u6b62\u3092\u89e3\u9664\r\nversion   Docker\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u8868\u793a\r\nwait      \u30b3\u30f3\u30c6\u30ca\u304c\u505c\u6b62\u3059\u308b\u307e\u3067\u5f85\u3064\r\n<\/pre>\n<h1>\u25a0<span class=\"hi-c-amber\">\u4f55\u304b\u3089\u624b\u3092\u4ed8\u3051\u308c\u3070\u3044\u3044\u304b<\/span><\/h1>\n<p>\u307e\u305aDocker\u516c\u5f0f\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3084\u308b\u3079\u304d\u3002<br \/>\n\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306f\u500b\u4eba\u306e\u74b0\u5883\u304b\u3089\u3082\u51fa\u6765\u308b\u3088\u3046\u306b\u516c\u5f0f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u7528\u30a4\u30e1\u30fc\u30b8\u304c\u7f6e\u3044\u3066\u3042\u308b\u6a21\u69d8\u3067\u3059\u3002<\/p>\n<p><span class=\"hi-c-blue\"><strong>The best way to understand Docker is to try it!<\/strong><\/span><br \/>\n<a href=\"https:\/\/www.docker.com\/tryit\/\" target=\"_blank\">https:\/\/www.docker.com\/tryit\/<\/a><\/p>\n<p>\u6307\u5b9a\u3057\u305f\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u9806\u306b\u4f7f\u3044\u65b9\u3092\u7406\u89e3\u3059\u308b\u30bf\u30a4\u30d7\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u3059\u3002<br \/>\nTips\u3092\u898b\u308c\u3070\u5927\u4f53\u4f55\u3092\u3059\u308c\u3070\u826f\u3044\u306e\u304b\u89e3\u308a\u307e\u3059\u3002<br \/>\n\u3069\u3046\u3057\u3066\u3082\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u306f Show the answer \u3092\u30af\u30ea\u30c3\u30af\u3059\u308c\u3070\u7b54\u3048\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<br \/>\n\u6b63\u89e3\u3092\u5165\u529b\u3059\u308b\u3068\u53f3\u4e0a\u306b \u300cWell done! Let&#8217;s move to the next assignment.\u300d\u306e\u6587\u5b57\u3068\u3068\u3082\u306bNext\u30dc\u30bf\u30f3\u304c\u73fe\u308c\u308b\u306e\u3067\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><strong><span class=\"hi-c-amber\">\u4ee5\u4e0b\u30cd\u30bf\u30d0\u30ec\u3002<\/span><\/strong><\/p>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb0<\/strong><br \/>\nDocker \u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u307f\u3088\u3046\u7684\u306a\u3002<br \/>\n\u307e\u305aversion\u306e\u8868\u793a\u3067\u3059\u306d<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker version\r\nDocker Emulator version 0.1.3\r\n\r\nEmulating:\r\nClient version: 0.5.3\r\nServer version: 0.5.3\r\nGo version: go1.1\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb1<\/strong><br \/>\nDocker\u30b3\u30f3\u30c6\u30ca\u306e\u5143\u3068\u306a\u308b&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u3092\u300cDocker Hub Registry\u300d\u304b\u3089\u691c\u7d22\u3059\u308b\u3002<br \/>\ntutorial\u3068\u3044\u3046\u540d\u524d\u306e&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u3092\u63a2\u3057\u307e\u3059<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker search tutorial\r\nFound 1 results matching your query (&quot;tutorial&quot;)\r\nNAME DESCRIPTION\r\nlearn\/tutorial An image for the interactive tutorial\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb2<\/strong><br \/>\n1\u3067\u898b\u3064\u3051\u305f Docker&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u3092 docker pull \u30b3\u30de\u30f3\u30c9\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002<br \/>\n\u6b63\u5f0f\u540d\u306f learn\/tutorial \u3068\u3044\u3046\u540d\u79f0\u3002 \/ \u306f\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306a\u8868\u73fe\u307f\u305f\u3044\u3067\u3059\u306d<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker pull learn\/tutorial\r\nPulling repository learn\/tutorial from https:\/\/index.docker.io\/v1\r\nPulling image 8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c (precise) from ubuntu\r\nPulling image b750fe79269d2ec9a3c593ef05b4332b1d1a02a62b4accb2c21d589ff2f5f2dc (12.10) from ubuntu\r\nPulling image 27cf784147099545 () from tutorial\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb3<\/strong><br \/>\npull\u3057\u3066\u304d\u305f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u7528&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u3067 Hello World \u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker run learn\/tutorial echo &quot;hello world&quot;\r\nhello world\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb4<\/strong><br \/>\n&#8220;\u30a4\u30e1\u30fc\u30b8&#8221;\u306b apt-get \u3067 ping \u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n&#8220;\u30a4\u30e1\u30fc\u30b8&#8221;\u306b\u5909\u66f4\u304c\u5165\u3063\u305f\u6642\u70b9\u3067\u3001&#8221;\u30b3\u30f3\u30c6\u30ca&#8221;\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a&#8221;\u30b3\u30f3\u30c6\u30ca&#8221;\u306f&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u304b\u3089\u306e\u5dee\u5206\u30c7\u30fc\u30bf\u306e\u4e8b\u3002<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker run learn\/tutorial apt-get install -y ping\r\nReading package lists...\r\nBuilding dependency tree...\r\nThe following NEW packages will be installed:\r\niputils-ping\r\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\r\nNeed to get 56.1 kB of archives.\r\nAfter this operation, 143 kB of additional disk space will be used.\r\nGet:1 http:\/\/archive.ubuntu.com\/ubuntu\/ precise\/main iputils-ping amd64 3:20101006-1ubuntu1 &#x5B;56.1 kB]\r\ndebconf: delaying package configuration, since apt-utils is not installed\r\nFetched 56.1 kB in 1s (50.3 kB\/s)\r\nSelecting previously unselected package iputils-ping.\r\n(Reading database ... 7545 files and directories currently installed.)\r\nUnpacking iputils-ping (from ...\/iputils-ping_3%3a20101006-1ubuntu1_amd64.deb) ...\r\nSetting up iputils-ping (3:20101006-1ubuntu1) ...\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb5<\/strong><br \/>\nping\u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f&#8221;\u30b3\u30f3\u30c6\u30ca&#8221;\u3092\u5225\u540d\u3067\u30b3\u30df\u30c3\u30c8\u3057\u307e\u3059\u3002(\u30a4\u30e1\u30fc\u30b8\u5316)<br \/>\n\u5177\u4f53\u7684\u306b\u306flearn\/tutorial&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u3068\u3001698&#8243;\u30b3\u30f3\u30c6\u30ca&#8221;\u3092\u5143\u306b\u3001learn\/ping&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u3092\u4f5c\u6210\u3059\u308b<br \/>\n\u30b3\u30df\u30c3\u30c8\u3059\u308b&#8221;\u30b3\u30f3\u30c6\u30ca&#8221;\u306f ps \u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u51fa\u6765\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker ps -l\r\nID IMAGE COMMAND CREATED STATUS PORTS\r\n6982a9948422 ubuntu:12.04 apt-get install ping 1 minute ago Exit 0\r\n<\/pre>\n<p>ID\u304c 6982a9948422 \u3068\u306a\u3063\u3066\u307e\u3059\u304c\u3001\u91cd\u8907\u3057\u306a\u3044\u9650\u308a\u5148\u982d\u6570\u6587\u5b57\u306e 698 \u3067\u8a8d\u8b58\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker commit 698 learn\/ping\r\neffb66b31edb\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb6<\/strong><br \/>\n\u30b3\u30df\u30c3\u30c8\u3057\u3066\u51fa\u6765\u4e0a\u304c\u3063\u305f&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u306bping\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3055\u305b\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker run learn\/ping ping google.com\r\nPING www.google.com (74.125.239.129) 56(84) bytes of data.\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=1 ttl=55 time=2.23 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=2 ttl=55 time=2.30 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=3 ttl=55 time=2.27 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=4 ttl=55 time=2.30 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=5 ttl=55 time=2.25 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=6 ttl=55 time=2.29 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=7 ttl=55 time=2.23 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=8 ttl=55 time=2.30 ms\r\n64 bytes from nuq05s02-in-f20.1e100.net (74.125.239.148): icmp_req=9 ttl=55 time=2.35 ms\r\n-&amp;gt; This would normally just keep going. However, this emulator does not support Ctrl-C, so we quit here.\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb7<\/strong><br \/>\n&#8220;\u30a4\u30e1\u30fc\u30b8&#8221;\u60c5\u5831\u306e\u78ba\u8a8d\u3002<br \/>\n\u5909\u5316\u5185\u5bb9\u304c\u30d0\u30a4\u30ca\u30ea\u3067\u306f\u306a\u304fjson\u3068\u3044\u3046\u4e8b\u304c\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u3001\u30c6\u30ad\u30b9\u30c8\u30d9\u30fc\u30b9\u306e\u8a2d\u5b9a\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u69d8\u3067\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker inspect eff\r\n&#x5B;2013\/07\/30 01:52:26 GET \/v1.3\/containers\/efef\/json\r\n{\r\n  &quot;ID&quot;: &quot;efefdc74a1d5900d7d7a74740e5261c09f5f42b6dae58ded6a1fde1cde7f4ac5&quot;,\r\n  &quot;Created&quot;: &quot;2013-07-30T00:54:12.417119736Z&quot;,\r\n  &quot;Path&quot;: &quot;ping&quot;,\r\n  &quot;Args&quot;: &#x5B;\r\n      &quot;www.google.com&quot;\r\n  ],\r\n  &quot;Config&quot;: {\r\n      &quot;Hostname&quot;: &quot;efefdc74a1d5&quot;,\r\n      &quot;User&quot;: &quot;&quot;,\r\n      &quot;Memory&quot;: 0,\r\n      &quot;MemorySwap&quot;: 0,\r\n      &quot;CpuShares&quot;: 0,\r\n      &quot;AttachStdin&quot;: false,\r\n      &quot;AttachStdout&quot;: true,\r\n      &quot;AttachStderr&quot;: true,\r\n      &quot;PortSpecs&quot;: null,\r\n      &quot;Tty&quot;: false,\r\n      &quot;OpenStdin&quot;: false,\r\n      &quot;StdinOnce&quot;: false,\r\n      &quot;Env&quot;: null,\r\n      &quot;Cmd&quot;: &#x5B;\r\n          &quot;ping&quot;,\r\n          &quot;www.google.com&quot;\r\n      ],\r\n      &quot;Dns&quot;: null,\r\n      &quot;Image&quot;: &quot;learn\/ping&quot;,\r\n      &quot;Volumes&quot;: null,\r\n      &quot;VolumesFrom&quot;: &quot;&quot;,\r\n      &quot;Entrypoint&quot;: null\r\n  },\r\n  &quot;State&quot;: {\r\n      &quot;Running&quot;: true,\r\n      &quot;Pid&quot;: 22249,\r\n      &quot;ExitCode&quot;: 0,\r\n      &quot;StartedAt&quot;: &quot;2013-07-30T00:54:12.424817715Z&quot;,\r\n      &quot;Ghost&quot;: false\r\n  },\r\n  &quot;Image&quot;: &quot;a1dbb48ce764c6651f5af98b46ed052a5f751233d731b645a6c57f91a4cb7158&quot;,\r\n  &quot;NetworkSettings&quot;: {\r\n      &quot;IPAddress&quot;: &quot;172.16.42.6&quot;,\r\n      &quot;IPPrefixLen&quot;: 24,\r\n      &quot;Gateway&quot;: &quot;172.16.42.1&quot;,\r\n      &quot;Bridge&quot;: &quot;docker0&quot;,\r\n      &quot;PortMapping&quot;: {\r\n          &quot;Tcp&quot;: {},\r\n          &quot;Udp&quot;: {}\r\n      }\r\n  },\r\n  &quot;SysInitPath&quot;: &quot;\/usr\/bin\/docker&quot;,\r\n  &quot;ResolvConfPath&quot;: &quot;\/etc\/resolv.conf&quot;,\r\n  &quot;Volumes&quot;: {},\r\n  &quot;VolumesRW&quot;: {}\r\n<\/pre>\n<p><strong>&gt;&gt;\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb8<\/strong><br \/>\n\u51fa\u6765\u4e0a\u304c\u3063\u305f&#8221;\u30a4\u30e1\u30fc\u30b8&#8221;\u3092\u300cDocker Hub Registry\u300d\u3078push\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; toolbar: false; notranslate\" title=\"\">\r\nyou@tutorial:~$ docker push learn\/ping\r\nThe push refers to a repository &#x5B;learn\/ping] (len: 1)\r\nProcessing checksums\r\nSending image list\r\nPushing repository learn\/ping (1 tags)\r\nPushing 8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c\r\nImage 8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c already pushed, skipping\r\nPushing tags for rev &#x5B;8dbd9e392a964056420e5d58ca5cc376ef18e2de93b5cc90e868a1bbc8318c1c] on {https:\/\/registry-1.docker.io\/v1\/repositories\/learn\/p\r\ning\/tags\/latest}\r\nPushing a1dbb48ce764c6651f5af98b46ed052a5f751233d731b645a6c57f91a4cb7158\r\nPushing 11.5 MB\/11.5 MB (100%)\r\nPushing tags for rev &#x5B;a1dbb48ce764c6651f5af98b46ed052a5f751233d731b645a6c57f91a4cb7158] on {https:\/\/registry-1.docker.io\/v1\/repositories\/learn\/p\r\ning\/tags\/latest}\r\n<\/pre>\n<p>\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u6700\u5f8c\u306e push \u306f\u5b9f\u969b\u306b\u306f\u30a2\u30ab\u30a6\u30f3\u30c8\u767b\u9332\u304c\u5fc5\u8981\u306a\u6a21\u69d8<br \/>\n<a href=\"https:\/\/hub.docker.com\/account\/signup\/\">https:\/\/hub.docker.com\/account\/signup\/<\/a><\/p>\n<p>\u57fa\u672c\u7684\u306b\u3001Docker Hub Registry \u304b\u3089\u59cb\u307e\u308a Docker Hub Registry \u306b\u7d42\u308f\u308b\u3068\u3044\u3046\u6d41\u308c\u306e\u3088\u3046\u3067\u3059\u3002<br \/>\n\u5143\u3068\u306a\u308b\u30a4\u30e1\u30fc\u30b8\u3092pull\u3057\u3001\u597d\u307f\u306b\u7de8\u96c6\u3057\u3001\u30b3\u30df\u30c3\u30c8\u3001\u6700\u5f8c\u306bpush\u3002<br \/>\npush\u306f\u4efb\u610f\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9023\u4f11\u306b\u306a\u3063\u305f\u306e\u3067\u6c17\u306b\u306a\u3063\u3066\u305fdocker\u5f04\u308a\u3002 \u516c\u5f0f\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u8ffd\u3046\u306e\u3067\u3001\u5165\u9580\u7684\u306a\u4f55\u304b\u3067\u3059\u3002 \u25a0\u524d\u63d0\u77e5\u8b58 \u25c6wiki http:\/\/ja.wikipedia.org\/wiki\/Docker \u25c6\u516c\u5f0f https:\/\/w \u2026<\/p>\n","protected":false},"author":1,"featured_media":1481,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-1385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/comments?post=1385"}],"version-history":[{"count":102,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1385\/revisions"}],"predecessor-version":[{"id":1547,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/1385\/revisions\/1547"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media\/1481"}],"wp:attachment":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media?parent=1385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/categories?post=1385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/tags?post=1385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}