{"id":1524,"date":"2021-08-11T20:59:12","date_gmt":"2021-08-11T11:59:12","guid":{"rendered":"http:\/\/leenux.kr\/?p=1524"},"modified":"2021-08-12T17:36:08","modified_gmt":"2021-08-12T08:36:08","slug":"docker-%eb%8f%84%ec%bb%a4-%ec%84%a4%ec%b9%98-%eb%b0%8f-%ec%bb%a8%ed%85%8c%ec%9d%b4%eb%84%88-%ec%83%9d%ec%84%b1","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1524","title":{"rendered":"[Docker] \ub3c4\ucee4 \uc124\uce58 \ubc0f \ucee8\ud14c\uc774\ub108 \uc0dd\uc131"},"content":{"rendered":"\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\ub3c4\ucee4(Docker)\ub294&nbsp;\ub9ac\ub205\uc2a4\uc758&nbsp;\uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\ub4e4\uc744 \ud504\ub85c\uc138\uc2a4 \uaca9\ub9ac \uae30\uc220\ub4e4\uc744 \uc0ac\uc6a9\ud574 \ucee8\ud14c\uc774\ub108\ub85c \uc2e4\ud589\ud558\uace0 \uad00\ub9ac\ud558\ub294&nbsp;\uc624\ud508 \uc18c\uc2a4&nbsp;\ud504\ub85c\uc81d\ud2b8\uc774\ub2e4.<br><br>\ub3c4\ucee4 \ucee8\ud14c\uc774\ub108\ub294 \uc77c\uc885\uc758 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub97c \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc758 \uc2e4\ud589\uc5d0 \ud544\uc694\ud55c \ubaa8\ub4e0 \uac83\uc744 \ud3ec\ud568\ud558\ub294 \uc644\uc804\ud55c \ud30c\uc77c \uc2dc\uc2a4\ud15c \uc548\uc5d0 \uac10\uc2fc\ub2e4. \uc5ec\uae30\uc5d0\ub294 \ucf54\ub4dc, \ub7f0\ud0c0\uc784, \uc2dc\uc2a4\ud15c \ub3c4\uad6c, \uc2dc\uc2a4\ud15c \ub77c\uc774\ube0c\ub7ec\ub9ac \ub4f1 \uc11c\ubc84\uc5d0 \uc124\uce58\ub418\ub294 \ubb34\uc5c7\uc774\ub4e0 \uc544\uc6b0\ub978\ub2e4. \uc774\ub294 \uc2e4\ud589 \uc911\uc778 \ud658\uacbd\uc5d0 \uad00\uacc4 \uc5c6\uc774 \uc5b8\uc81c\ub098 \ub3d9\uc77c\ud558\uac8c \uc2e4\ud589\ub420 \uac83\uc744 \ubcf4\uc99d\ud55c\ub2e4.<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/ko.wikipedia.org\/wiki\/%EB%8F%84%EC%BB%A4_(%EC%86%8C%ED%94%84%ED%8A%B8%EC%9B%A8%EC%96%B4)\">\ucd9c\ucc98 : \ub3c4\ucee4 \uc704\ud0a4\ubc31\uacfc<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p style=\"font-size:29px\" class=\"has-text-color has-very-dark-gray-color\"><strong>\ub3c4\ucee4 \uc124\uce58<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc5c5\uadf8\ub808\uc774\ub4dc \ubc0f \uc5c5\ub370\uc774\ud2b8<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update &amp;&amp; apt upgrade<\/code><\/pre>\n\n\n\n<p style=\"font-size:18px\" class=\"has-text-color has-very-dark-gray-color\"><strong>\ud544\uc218 \ud328\ud0a4\uc9c0 \uc124\uce58<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common<\/code><\/pre>\n\n\n\n<p style=\"font-size:18px\" class=\"has-text-color has-very-dark-gray-color\"><strong>GPG Key \uc778\uc99d <\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add -<\/code><\/pre>\n\n\n\n<p style=\"font-size:18px\" class=\"has-text-color has-very-dark-gray-color\"><strong>docker repository \ub4f1\ub85d<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo add-apt-repository \\\n\"deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu \\\n$(lsb_release -cs) \\\nstable\"<\/code><\/pre>\n\n\n\n<p style=\"font-size:18px\" class=\"has-text-color has-very-dark-gray-color\"><strong>apt \ub3c4\ucee4 \uc124\uce58<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update &amp;&amp; sudo apt-get install docker-ce docker-ce-cli containerd.io<\/code><\/pre>\n\n\n\n<p style=\"font-size:18px\" class=\"has-text-color has-very-dark-gray-color\"><strong>\ub3c4\ucee4 \ubd80\ud305\uc2dc \uc790\ub3d9 \uc2dc\uc791 \ubc0f \ub3c4\ucee4 \uc2dc\uc791<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable docker &amp;&amp; service docker start<\/code><\/pre>\n\n\n\n<p style=\"font-size:18px\" class=\"has-text-color has-very-dark-gray-color\"><strong>\ub3c4\ucee4 \uc11c\ube44\uc2a4 \uc0c1\ud0dc \ud655\uc778 (\uc120\ud0dd\uc0ac\ud56d)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>service docker status<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub3c4\ucee4 \uc124\uce58 \ubc0f \ucee8\ud14c\uc774\ub108 \uc0dd\uc131<\/p>\n","protected":false},"author":1,"featured_media":1525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[91],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1524"}],"collection":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1524"}],"version-history":[{"count":4,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1524\/revisions"}],"predecessor-version":[{"id":1532,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1524\/revisions\/1532"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1525"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}