{"id":505,"date":"2018-08-30T06:14:42","date_gmt":"2018-08-29T21:14:42","guid":{"rendered":"https:\/\/www.kkoc.org\/?p=505"},"modified":"2018-08-30T11:13:48","modified_gmt":"2018-08-30T02:13:48","slug":"docker-%ec%82%ac%ec%9a%a9%ed%95%b4-%eb%b3%b4%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.kkoc.org\/?p=505","title":{"rendered":"docker \uc0ac\uc6a9\ud574 \ubcf4\uae30"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\"><p>docker \uc774\ubbf8\uc9c0 \uac00\uc838\uc624\uae30<\/p><p>sudo docker pull tensorflow\/tensorflow #python 2<\/p><\/blockquote>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>chohi@XPenology:\/volume1\/docker\/test$ sudo docker pull tensorflow\/tensorflow<br\/>Password: <br\/>Using default tag: latest<br\/>latest: Pulling from tensorflow\/tensorflow<br\/>3b37166ec614: Already exists <br\/>ba077e1ddb3a: Already exists <br\/>34c83d2bc656: Already exists <br\/>84b69b6e4743: Already exists <br\/>0f72e97e1f61: Already exists <br\/>6086c6484ab2: Pull complete <br\/>25817b9e5842: Pull complete <br\/>5252e5633f1c: Pull complete <br\/>8de57ae4ad7d: Pull complete <br\/>4b7717108c3b: Pull complete <br\/>b65e9e47e80a: Pull complete <br\/>006d31e013ea: Pull complete <br\/>700521cc53f3: Pull complete <br\/>Digest: sha256:f45d87bd473bf999241afe444748a2d3a9be24f8d736a808277b4f3e32159566<br\/>Status: Downloaded newer image for tensorflow\/tensorflow:latest<br\/>chohi@XPenology:\/volume1\/docker\/test$ sudo docker images<br\/>REPOSITORY TAG IMAGE ID CREATED SIZE<br\/>2eae691863e2 6 hours ago 193MB<br\/>tensorflow\/tensorflow latest 76fb62c3cb89 5 days ago 1.23GB<br\/>ubuntu 16.04 52b10959e8aa 7 days ago 115MB<br\/>ubuntu 14.04 8789038981bc 7 days ago 188MB<br\/>jenkins latest e2541428ed0d 8 weeks ago 696MB<br\/>networkstatic\/iperf3 latest 6ea158fee1a7 2 years ago 126MB<br\/><\/td><\/tr><\/tbody><\/table>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>docker \uc774\ubbf8\uc9c0 \uc2e4\ud589<\/p><p>sudo docker run -it -p 8888:8888 tensorflow\/tensorflow<\/p><\/blockquote>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>chohi@XPenology:\/volume1\/docker\/test$ sudo docker run -it -p 8888:8888 tensorflow\/tensorflow<br\/>[I 20:51:21.378 NotebookApp] Writing notebook server cookie secret to \/root\/.local\/share\/jupyter\/runtime\/notebook_cookie_secret<br\/>[W 20:51:21.458 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.<br\/>[I 20:51:21.619 NotebookApp] Serving notebooks from local directory: \/notebooks<br\/>[I 20:51:21.620 NotebookApp] The Jupyter Notebook is running at:<br\/>[I 20:51:21.620 NotebookApp] http:\/\/(2981ef7ee701 or 127.0.0.1):8888\/?token=260d35f2565e89d31c83a815f2b9762b12b64b0796bb6ac6<br\/>[I 20:51:21.620 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).<br\/>[C 20:51:21.621 NotebookApp] <br\/><code>Copy\/paste this URL into your browser when you connect for the first time,\nto login with a token:\n    http:\/\/(2981ef7ee701 or 127.0.0.1):8888\/?token=260d35f2565e89d31c83a815f2b9762b12b64b0796bb6ac6<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\ud504\ub85c\uc138\uc2a4 \uc0c1\ud0dc \ud655\uc778<\/p><p>sudo docker ps<\/p><\/blockquote>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>chohi@XPenology:~$ sudo docker ps<br\/>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES<br\/>2981ef7ee701 tensorflow\/tensorflow &#8220;\/run_jupyter.sh -\u2026&#8221; About a minute ago Up About a minute 6006\/tcp, 0.0.0.0:8888->8888\/tcp gallant_mccarthy<\/td><\/tr><\/tbody><\/table>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>\ub85c\uadf8\ud655\uc778<\/p><p>sudo docker logs 2981ef7ee701<\/p><\/blockquote>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>chohi@XPenology:~$ sudo docker logs 2981ef7ee701<br\/>[I 20:51:21.378 NotebookApp] Writing notebook server cookie secret to \/root\/.local\/share\/jupyter\/runtime\/notebook_cookie_secret<br\/>[W 20:51:21.458 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.<br\/>[I 20:51:21.619 NotebookApp] Serving notebooks from local directory: \/notebooks<br\/>[I 20:51:21.620 NotebookApp] The Jupyter Notebook is running at:<br\/>[I 20:51:21.620 NotebookApp] http:\/\/(2981ef7ee701 or 127.0.0.1):8888\/?token=260d35f2565e89d31c83a815f2b9762b12b64b0796bb6ac6<br\/>[I 20:51:21.620 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).<br\/>[C 20:51:21.621 NotebookApp] <br\/><code>Copy\/paste this URL into your browser when you connect for the first time,\nto login with a token:\n    http:\/\/(2981ef7ee701 or 127.0.0.1):8888\/?token=260d35f2565e89d31c83a815f2b9762b12b64b0796bb6ac6<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>jupyter \ud655\uc778<\/p><p><a href=\"http:\/\/192.168.22.10:8888\/tree\">http:\/\/192.168.22.10:8888\/<\/a><\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" width=\"1272\" height=\"468\" src=\"https:\/\/www.kkoc.org\/wp-content\/uploads\/2018\/08\/image2018-8-30_5-59-5.png\" alt=\"\" class=\"wp-image-507\" srcset=\"https:\/\/www.kkoc.org\/wp-content\/uploads\/2018\/08\/image2018-8-30_5-59-5.png 1272w, https:\/\/www.kkoc.org\/wp-content\/uploads\/2018\/08\/image2018-8-30_5-59-5-300x110.png 300w, https:\/\/www.kkoc.org\/wp-content\/uploads\/2018\/08\/image2018-8-30_5-59-5-768x283.png 768w, https:\/\/www.kkoc.org\/wp-content\/uploads\/2018\/08\/image2018-8-30_5-59-5-1024x377.png 1024w\" sizes=\"(max-width: 1272px) 100vw, 1272px\" \/><\/figure>\n\n\n\n<p>docker \uc774\ub188\ub3c4 \ubb3c\uac74\uc774\ub124\uc694.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>docker \uc774\ubbf8\uc9c0 \uac00\uc838\uc624\uae30 sudo docker pull tensorflow\/tensorflow #python 2 chohi@XPenology:\/volume1\/docker\/test$ sudo docker pull tensorflow\/tensorflowPassword: Using default tag: latestlatest: Pulling from tensorflow\/tensorflow3b37166ec614: Already exists ba077e1ddb3a: Already exists 34c83d2bc656: Already exists 84b69b6e4743: Already exists 0f72e97e1f61: Already exists 6086c6484ab2: Pull complete&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.kkoc.org\/index.php?rest_route=\/wp\/v2\/posts\/505"}],"collection":[{"href":"https:\/\/www.kkoc.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kkoc.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kkoc.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kkoc.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=505"}],"version-history":[{"count":2,"href":"https:\/\/www.kkoc.org\/index.php?rest_route=\/wp\/v2\/posts\/505\/revisions"}],"predecessor-version":[{"id":508,"href":"https:\/\/www.kkoc.org\/index.php?rest_route=\/wp\/v2\/posts\/505\/revisions\/508"}],"wp:attachment":[{"href":"https:\/\/www.kkoc.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kkoc.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kkoc.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}