{"id":1987,"date":"2022-11-01T10:47:24","date_gmt":"2022-11-01T01:47:24","guid":{"rendered":"https:\/\/www.itchefblog.com\/?p=1987"},"modified":"2022-11-01T10:48:45","modified_gmt":"2022-11-01T01:48:45","slug":"docker-%ea%b8%b0%eb%b3%b8-%eb%8d%b0%ec%9d%b4%ed%84%b0-%eb%94%94%eb%a0%89%ed%86%a0%eb%a6%ac-%eb%b3%80%ea%b2%bd","status":"publish","type":"post","link":"https:\/\/www.itchefblog.com\/?p=1987","title":{"rendered":"Docker \uae30\ubcf8 \ub370\uc774\ud130 \ub514\ub809\ud1a0\ub9ac \ubcc0\uacbd"},"content":{"rendered":"\n<p>\uac1c\ubc1c\uc6a9\uc73c\ub85c \uc0ac\uc6a9\uc911\uc778 \uc11c\ubc84 \uba54\uc778 \ub514\uc2a4\ud06c \uc6a9\ub7c9\uc774 100%\uac00 \ub418\ub294 \ubc14\ub78c\uc5d0(!) \uc791\ub3d9\uc774 \uc6d0\ud65c\ud558\uc9c0 \uc54a\uc544\uc11c \ub85c\uadf8 \ub514\ub809\ud1a0\ub9ac\ub97c \ud655\uc778\ud574\ubcf4\ub2c8 \ub85c\uadf8 \uc6a9\ub7c9 \ubb38\uc81c\ub3c4 \uc544\ub2c8\uace0 \ubb54\uac00 \uc2f6\uc5b4\uc11c \ud655\uc778\ud574\ubcf4\ub2c8 docker volumes\uc758 \uc6a9\ub7c9\uc774 \ub514\uc2a4\ud06c \ub300\ubd80\ubd84\uc744 \ucc28\uc9c0\ud55c \uac83\uc774\ub2e4.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\uac80\uc0c9 \ud574\ubcf4\ub2c8 \uae30\ubcf8 \ub370\uc774\ud130 \ub514\ub809\ud1a0\ub9ac\ub97c \ubcc0\uacbd\ud574\uc8fc\uba74 \ub418\ub294\uc9c0\ub77c \uc77c\ub2e8 \ub3c4\ucee4 \ud504\ub85c\uc138\uc2a4\ub97c \uc885\ub8cc\uc2dc\ucf30\ub2e4.<br>\/etc\/docker\/daemon.json\uc758 \ub0b4\uc6a9\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \ucd94\uac00\ud574\uc92c\ub2e4.<\/p>\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n{\n  &quot;data-root&quot;: &quot;\/docker\/data\/path&quot;\n}\n<\/pre>\n\n\n<p>\uadf8\ub9ac\uace0 \uae30\ubcf8 \ub514\ub809\ud1a0\ub9ac\uc778 \/var\/lib\/docker\uc744 \ub2e4\ub978 \ub514\uc2a4\ud06c\ub85c \uc704\uce58\uc2dc\ucf30\ub2e4.<br>\ud3b8\uc758\uc0c1 \uc704\uc758 \ucf54\ub4dc\ucc98\ub7fc \/docker\/data\/path\ub77c\uace0 \ud558\uc790.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\ub3c4\ucee4\ub97c \uc2dc\uc791\uc2dc\ucf30\ub354\ub2c8 \ud504\ub85c\uc138\uc2a4\uac00 \uc798 \uc62c\ub77c\uc624\uace0 \ucee8\ud14c\uc774\ub108\ub3c4 \uc798 \ub728\uae34 \ud558\ub294\ub370, DB\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \uc62c\ub77c\uc624\uc9c0 \uc54a\ub294 \uac83\uc774\ub2e4.<\/p>\n\n\n\n<p>\uc774\ub7f0\uc800\ub7f0 \uc0bd\uc9c8 \ub05d\uc5d0 \uc815\uc0c1\ud654 \uc2dc\ucf30\ub2e4.<br>\uc6d0\uc778\uc740 cp -rf \/var\/lib\/docker \/docker\/data\/path \uba85\ub839\uc5b4\ub85c \ub370\uc774\ud130\ub97c \ubcf5\uc0ac \ud574\uc92c\uc5c8\ub294\ub370, \ud37c\ubbf8\uc158 \ubb38\uc81c\uac00 \uc788\uc5c8\ub358 \uac83 \uac19\ub2e4.<br>rsync -avz \/var\/lib\/docker \/docker\/data\/path \uba85\ub839\uc5b4\ub85c \ubcf5\uc0ac\ud574\uc900 \ub4a4 daemon.json \uc5d0\uc11c path \uc124\uc815\uc744 \ud574\uc8fc\uace0 \uc7ac\uc2dc\uc791 \ud574\uc11c \ud574\uacb0 \ub418\uc5c8\ub2e4.<\/p>\n\n\n\n<p>\ub05d.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uac1c\ubc1c\uc6a9\uc73c\ub85c \uc0ac\uc6a9\uc911\uc778 \uc11c\ubc84 \uba54\uc778 \ub514\uc2a4\ud06c \uc6a9\ub7c9\uc774 100%\uac00 \ub418\ub294 \ubc14\ub78c\uc5d0(!) \uc791\ub3d9\uc774 \uc6d0\ud65c\ud558\uc9c0 \uc54a\uc544\uc11c \ub85c\uadf8 \ub514\ub809\ud1a0\ub9ac\ub97c \ud655\uc778\ud574\ubcf4\ub2c8 \ub85c\uadf8 \uc6a9\ub7c9 \ubb38\uc81c\ub3c4 \uc544\ub2c8\uace0 \ubb54\uac00 \uc2f6\uc5b4\uc11c \ud655\uc778\ud574\ubcf4\ub2c8 docker volumes\uc758 \uc6a9\ub7c9\uc774 \ub514\uc2a4\ud06c \ub300\ubd80\ubd84\uc744 \ucc28\uc9c0\ud55c \uac83\uc774\ub2e4. \uac80\uc0c9 \ud574\ubcf4\ub2c8 \uae30\ubcf8 \ub370\uc774\ud130 \ub514\ub809\ud1a0\ub9ac\ub97c \ubcc0\uacbd\ud574\uc8fc\uba74 \ub418\ub294\uc9c0\ub77c \uc77c\ub2e8 \ub3c4\ucee4 \ud504\ub85c\uc138\uc2a4\ub97c \uc885\ub8cc\uc2dc\ucf30\ub2e4.\/etc\/docker\/daemon.json\uc758 \ub0b4\uc6a9\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \ucd94\uac00\ud574\uc92c\ub2e4. \uadf8\ub9ac\uace0 \uae30\ubcf8 \ub514\ub809\ud1a0\ub9ac\uc778 \/var\/lib\/docker\uc744 \ub2e4\ub978 \ub514\uc2a4\ud06c\ub85c \uc704\uce58\uc2dc\ucf30\ub2e4.\ud3b8\uc758\uc0c1 \uc704\uc758 \ucf54\ub4dc\ucc98\ub7fc \/docker\/data\/path\ub77c\uace0 \ud558\uc790. &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[546,4,18],"tags":[783,784,785,550,551,780,781,782],"_links":{"self":[{"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1987"}],"collection":[{"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1987"}],"version-history":[{"count":4,"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1987\/revisions"}],"predecessor-version":[{"id":1991,"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1987\/revisions\/1991"}],"wp:attachment":[{"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itchefblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}