{"id":1304,"date":"2023-09-14T15:00:53","date_gmt":"2023-09-14T06:00:53","guid":{"rendered":"https:\/\/www.miraiserver.ne.jp\/column\/?p=1304"},"modified":"2025-08-18T17:51:45","modified_gmt":"2025-08-18T08:51:45","slug":"about_ubuntu-docker","status":"publish","type":"post","link":"https:\/\/www.miraiserver.ne.jp\/column\/about_ubuntu-docker\/","title":{"rendered":"Ubuntu 22.04.2 LTS \u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011"},"content":{"rendered":"<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-4591 size-full\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/Ubuntu-22.04.2-LTS-\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011.webp\" alt=\"\" width=\"900\" height=\"500\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/Ubuntu-22.04.2-LTS-\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011.webp 900w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/Ubuntu-22.04.2-LTS-\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011-300x167.webp 300w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/Ubuntu-22.04.2-LTS-\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011-640x356.webp 640w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/Ubuntu-22.04.2-LTS-\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011-768x427.webp 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/>Docker\u306fLinux\u306e\u30b3\u30f3\u30c6\u30ca\u6280\u8853\u3092\u4f7f\u7528\u3057\u305f\u4eee\u60f3\u74b0\u5883\u7528\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<\/span>\u3067\u3059\u3002<\/p>\n<p>\u5f93\u6765\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3068\u6bd4\u3079\u3001\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u306e\u30ab\u30fc\u30cd\u30eb\u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3059\u308b\u305f\u3081\u3001<span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u8efd\u91cf\u3067\u9ad8\u901f\u306b\u52d5\u4f5c<\/span>\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u672c\u8a18\u4e8b\u3067\u306f\u3001Ubuntu 22.04 LTS\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306b\u3064\u3044\u3066\u89e3\u8aac<\/span>\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u304b\u3089Docker\u3092\u5229\u7528\u3055\u308c\u308b\u65b9\u306f\u672c\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Ubuntu\u306e\u57fa\u672c\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"cardlink\">\r\n    <a class=\"image\" href=\"https:\/\/www.miraiserver.ne.jp\/column\/about_ubuntu\/\">\r\n     <img src=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2025\/08\/Ubuntu\u3068\u306f\u3002\u7279\u5fb4\u3001\u3067\u304d\u308b\u3053\u3068\u3001\u901a\u5e38\u7248\u3068LTE\u7248\u306e\u9055\u3044\u3092\u89e3\u8aac-1.webp\">\r\n    <\/a>\r\n    <div class=\"content\">\r\n     <div class=\"title_area\">\r\n      <p class=\"date\">2022.10.13<\/p>\r\n      <h4 class=\"title\">\r\n       <a href=\"https:\/\/www.miraiserver.ne.jp\/column\/about_ubuntu\/\">Ubuntu\u3068\u306f\u3002\u7279\u5fb4\u3001\u3067\u304d\u308b\u3053\u3068\u3001\u901a\u5e38\u7248\u3068LTE\u7248\u306e\u9055\u3044\u3092\u89e3\u8aac<\/a>\r\n      <\/h4>\r\n     <\/div>\r\n     <p class=\"desc\"><span>\r\n\r\nUbuntu\u306fLinux\u7cfb\u306eOS\u3067\u3042\u308a\u3001\u591a\u304f\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u4e2d\u3067\u3082\u9ad8\u3044\u4eba\u6c17\u3092\u8a87\u308a\u307e\u3059\u3002\r\n\r\n\u975e\u5e38\u306b\u6271\u3044\u3084\u3059\u3044\u305f...<\/span><\/p>\r\n    <\/div>\r\n   <\/div>\n\n<div class=\"well2\" style=\"text-align: center;\">\n<p style=\"text-align: center;\"><span style=\"color: #008000;\"><strong>Linux<\/strong>\u3092<strong>VPS<\/strong>\u3067\u5229\u7528\u3059\u308b\u306a\u3089<\/span><strong style=\"font-size: 16px;\"><span style=\"color: #339966;\"><br \/>\n\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<\/span><\/strong><br \/>\n<strong>\uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f<\/strong><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener\">VPS\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#Ubuntu\"><span class=\"toc_number toc_depth_1\">1<\/span> Ubuntu\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306e\u4e8b\u524d\u6e96\u5099<\/a><ul><li><a href=\"#i\"><span class=\"toc_number toc_depth_2\">1.1<\/span> \u524d\u63d0\u6761\u4ef6<\/a><\/li><li><a href=\"#sudo\"><span class=\"toc_number toc_depth_2\">1.2<\/span> \u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3092sudo\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0<\/a><\/li><\/ul><\/li><li><a href=\"#Docker\"><span class=\"toc_number toc_depth_1\">2<\/span> Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><ul><li><a href=\"#Docker-2\"><span class=\"toc_number toc_depth_2\">2.1<\/span> Docker\u3068\u306f<\/a><\/li><li><a href=\"#Docker-3\"><span class=\"toc_number toc_depth_2\">2.2<\/span> Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/a><\/li><li><a href=\"#Docker-4\"><span class=\"toc_number toc_depth_2\">2.3<\/span> Docker\u306e\u52d5\u4f5c\u78ba\u8a8d<\/a><\/li><\/ul><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">3<\/span> \u307e\u3068\u3081<\/a><\/li><li><a href=\"#UbuntuVPS\"><span class=\"toc_number toc_depth_1\">4<\/span> Ubuntu\u3092VPS\u3067\u5229\u7528\u3059\u308b\u306a\u3089\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<\/a><\/li><\/ul><\/div>\n<h2 class=\"styled_h2\"><span id=\"Ubuntu\">Ubuntu\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306e\u4e8b\u524d\u6e96\u5099<\/span><\/h2>\n<h3 class=\"styled_h3\"><span id=\"i\">\u524d\u63d0\u6761\u4ef6<\/span><\/h3>\n<p>\u4eca\u56de\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u4e0a\u306b\u69cb\u7bc9\u3055\u308c\u305fUbuntu\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u30b9\u30da\u30c3\u30af\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"list-style-type: disc;\">\n<li>CPU\uff1a2vCPU<\/li>\n<li>Memory\uff1a4GB<\/li>\n<li>Disk\uff1a50GB<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Ubuntu\u3001\u304a\u3088\u3073Docker\u306f\u4ee5\u4e0b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul style=\"list-style-type: disc;\">\n<li>Ubuntu\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff1aUbuntu 22.04.2 LTS<\/li>\n<li>Docker\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff1aDocker version 24.0.6, build ed223bc<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u307e\u305f\u3001\u30b3\u30de\u30f3\u30c9\u306e\u6a19\u8a18\u306b\u3064\u3044\u3066\u306f\u3001\u5b9f\u969b\u306b\u5165\u529b\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092<strong>\u592a\u5b57<\/strong>\u3001\u88dc\u8db3\u306e\u5185\u5bb9\u3092<span style=\"color: #3366ff;\"><strong>\u9752\u5b57<\/strong><\/span>\u3067\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3 class=\"styled_h3\"><span id=\"sudo\">\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3092sudo\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0<\/span><\/h3>\n<p>Docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>root\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u901a\u5e38\u30e6\u30fc\u30b6\u30fc\uff08\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001testuser\uff09\u3092sudo\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\"># <strong>usermod -aG sudo testuser<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center;\"><strong>\uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f<\/strong><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener noreferrer\">VPS\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<h2 class=\"styled_h2\"><span id=\"Docker\">Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/h2>\n<h3 class=\"styled_h3\"><span id=\"Docker-2\">Docker\u3068\u306f<\/span><\/h3>\n<p>Docker\u306f\u30b3\u30f3\u30c6\u30ca\u6280\u8853\u3092\u4f7f\u7528\u3057\u305f\u4eee\u60f3\u74b0\u5883\u7528\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\"><strong>\u30b3\u30f3\u30c6\u30ca<\/strong>\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304a\u3088\u3073\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u52d5\u4f5c\u306b\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3092\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3057\u305f\u3082\u306e<\/span>\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001<span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u30b3\u30f3\u30c6\u30ca\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u4f5c\u3059\u308b\u74b0\u5883\u3092\u7d20\u65e9\u304f\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd<\/span>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\"><strong>Docker<\/strong>\u306f1\u3064\u306eOS\u306b\u5bfe\u3057\u3066\u591a\u6570\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3067\u304d\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30ea\u30bd\u30fc\u30b9\u3092\u6709\u52b9\u6d3b\u7528\u3067\u304d\u308b<\/span>\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>1\u3064\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u4e0a\u306b\u8907\u6570\u306e\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3059\u308b\u4ee5\u5916\u306b\u3082<strong>\u4eee\u60f3\u30de\u30b7\u30f3<\/strong>\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\"><strong>\u4eee\u60f3\u30de\u30b7\u30f3<\/strong>\u306f1\u3064\u306e\u30db\u30b9\u30c8OS\u4e0a\u306b\u8907\u6570\u306e\u30b2\u30b9\u30c8OS\u3092\u8d77\u52d5\u3055\u305b\u3001\u30b2\u30b9\u30c8OS\u306e\u4e2d\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u304b\u3057\u307e\u3059<\/span>\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u30b2\u30b9\u30c8OS\u3092\u4ecb\u3059\u308b\u5206\u3001\u30ea\u30bd\u30fc\u30b9\u304c\u6d88\u8cbb\u3055\u308c\u308b\u4e0a\u51e6\u7406\u901f\u5ea6\u3082\u4f4e\u4e0b\u3059\u308b\u3068\u3044\u3046\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3057\u305f\u3002<img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-thumbnail wp-image-4592\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u4eee\u60f3\u30de\u30b7\u30f3\u3068Docker\u306e\u69cb\u6210\u6bd4\u8f03-640x333.webp\" alt=\"\" width=\"640\" height=\"333\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u4eee\u60f3\u30de\u30b7\u30f3\u3068Docker\u306e\u69cb\u6210\u6bd4\u8f03-640x333.webp 640w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u4eee\u60f3\u30de\u30b7\u30f3\u3068Docker\u306e\u69cb\u6210\u6bd4\u8f03-300x156.webp 300w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u4eee\u60f3\u30de\u30b7\u30f3\u3068Docker\u306e\u69cb\u6210\u6bd4\u8f03-1024x532.webp 1024w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u4eee\u60f3\u30de\u30b7\u30f3\u3068Docker\u306e\u69cb\u6210\u6bd4\u8f03-768x399.webp 768w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u4eee\u60f3\u30de\u30b7\u30f3\u3068Docker\u306e\u69cb\u6210\u6bd4\u8f03.webp 1218w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\"><strong>Docker<\/strong>\u3067\u306f\u3001\u30b2\u30b9\u30c8OS\u3092\u4f7f\u7528\u3057\u306a\u3044\u69cb\u6210\u306e\u305f\u3081\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u69cb\u6210\u3088\u308a\u3082\u30ea\u30bd\u30fc\u30b9\u3084\u51e6\u7406\u901f\u5ea6\u306e\u9762\u3067\u512a\u308c\u3066\u3044\u308b<\/span>\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<p>Docker\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u8003\u616e\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u70b9\u3068\u3057\u3066\u306f\u3001<span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u30db\u30b9\u30c8OS\u304cDocker\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093<\/span>\u3002<\/p>\n<p>Windows\u3084MacOS\u3001Linux\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u304c\u3001<span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">Windows Server\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044<\/span>\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067\u52d5\u4f5c\u3059\u308b\u30db\u30b9\u30c8OS\u306f\u5171\u901a\u3067\u3042\u308b\u305f\u3081\u3001\u7570\u306a\u308bOS\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u4f5c\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u4f7f\u3063\u305f\u69cb\u6210\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/span>\u3002<\/p>\n<h3 class=\"styled_h3\"><span id=\"Docker-3\">Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/span><\/h3>\n<p>\u3053\u3053\u304b\u3089\u306f\u3001Ubuntu 22.04\u306e\u74b0\u5883\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h4 class=\"styled_h4\">\u624b\u98061:\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u306e\u66f4\u65b0<\/h4>\n<p>\u6700\u521d\u306b\u3001\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u6700\u65b0\u306b\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\">$ <strong>sudo apt-get update<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 class=\"styled_h4\">\u624b\u98062:\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u6b21\u306b\u3001\u5fc5\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\">$ <strong>sudo apt-get install ca-certificates curl gnupg lsb-release<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4594\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf3-1.webp\" alt=\"\" width=\"602\" height=\"184\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf3-1.webp 602w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf3-1-300x92.webp 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<h4 class=\"styled_h4\">\u624b\u98063:Docker\u516c\u5f0f\u306eGPG\u516c\u958b\u9375\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>Docker\u516c\u5f0f\u306eGPG\u516c\u958b\u9375\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e8b\u524d\u306b\u4fdd\u5b58\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u4f5c\u6210\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p class=\"well2\">$ <strong>sudo mkdir -p \/etc\/apt\/keyrings<br \/>\n<\/strong>$<strong> curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg &#8211;dearmor -o \/etc\/apt\/keyrings\/docker.gpg<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4595\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf4-1.webp\" alt=\"\" width=\"602\" height=\"52\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf4-1.webp 602w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf4-1-300x26.webp 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<h4 class=\"styled_h4\">\u624b\u98064:Docker\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b<\/h4>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u3001\u516c\u5f0f\u306eDocker\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p class=\"well2\">$ <strong>echo <span style=\"font-family: arial, helvetica, sans-serif;\">\\<\/span><br \/>\n<\/strong><strong>&#8220;deb [arch=$(dpkg &#8211;print-architecture) signed-by=\/etc\/apt\/keyrings\/docker.gpg] https:\/\/download.docker.com\/linux\/ubuntu <span style=\"font-family: arial, helvetica, sans-serif;\">\\<\/span><\/strong><br \/>\n<strong>$(lsb_release -cs) stable&#8221; | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null<\/strong><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4596\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf5-1.webp\" alt=\"\" width=\"602\" height=\"69\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf5-1.webp 602w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf5-1-300x34.webp 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001\u518d\u5ea6\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u66f4\u65b0\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\">$ <strong>sudo apt-get update<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 class=\"styled_h4\">\u624b\u98065:Docker\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306eDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\">$ <strong>sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4597\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf6-1.webp\" alt=\"\" width=\"602\" height=\"192\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf6-1.webp 602w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf6-1-300x96.webp 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<h4 class=\"styled_h4\">\u624b\u98066:Docker\u30b0\u30eb\u30fc\u30d7\u306b\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0<\/h4>\n<p>\u73fe\u5728\u306e\u72b6\u614b\u3067\u306f\u3001sudo\u6a29\u9650\u304c\u306a\u3044\u3068Docker\u3092\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>sudo\u6a29\u9650\u306a\u3057\u3067Docker\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001Docker\u30b0\u30eb\u30fc\u30d7\u306b\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u4f8b\u3068\u3057\u3066\u3001\u300ctestuser\u300d\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\">$ <strong>sudo usermod -aG docker testuser<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8ffd\u52a0\u3057\u305f\u3089\u3001\u8a2d\u5b9a\u3092\u53cd\u6620\u3055\u305b\u308b\u305f\u3081\u306b\u4e00\u5ea6\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u3001\u518d\u5ea6\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3 class=\"styled_h3\"><span id=\"Docker-4\">Docker\u306e\u52d5\u4f5c\u78ba\u8a8d<\/span><\/h3>\n<p>Docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\">$ <strong>docker -v<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4598\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf7-1.webp\" alt=\"\" width=\"582\" height=\"51\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf7-1.webp 582w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf7-1-300x26.webp 300w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001Hello world \u30b5\u30f3\u30d7\u30ebdocker\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\u3057\u3066\u3001\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u554f\u984c\u306a\u3051\u308c\u3070\u3001\u300cHello from Docker!\u300d\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<table width=\"602\">\n<tbody>\n<tr>\n<td width=\"602\">$ <strong>docker run hello-world<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-thumbnail wp-image-4599\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf8-1-553x360.webp\" alt=\"\" width=\"553\" height=\"360\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf8-1-553x360.webp 553w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf8-1-300x195.webp 300w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/09\/\u753b\u50cf8-1.webp 602w\" sizes=\"(max-width: 553px) 100vw, 553px\" \/><\/p>\n<p>\u3053\u3053\u307e\u3067\u3067\u3001Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u964d\u306f\u3001Docker\u30a4\u30e1\u30fc\u30b8\u304a\u3088\u3073\u30b3\u30f3\u30c6\u30ca\u3092\u5165\u624b\u3057\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u30d3\u30eb\u30c9\u3059\u308c\u3070Docker\u4e0a\u3067\u30b3\u30f3\u30c6\u30ca\u304c\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p style=\"text-align: center;\"><strong>\uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f<\/strong><br \/>\n<a class=\"btn_10\" href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=btn-vps&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener noreferrer\">VPS\u3092\u4f7f\u3063\u3066\u307f\u308b<\/a><\/p>\n<h2 class=\"styled_h2\"><span id=\"i-2\">\u307e\u3068\u3081<\/span><\/h2>\n<p>\u4eca\u56de\u306f<span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\">Ubuntu\u3092\u4f7f\u7528\u3057\u3066Docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806<\/span>\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">Docker\u306f\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3057\u305f\u4eee\u60f3\u74b0\u5883\u7528\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3059\u308c\u3070\u74b0\u5883\u3092\u7d20\u65e9\u304f\u69cb\u7bc9<\/span>\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3088\u308a\u3082\u30b2\u30b9\u30c8OS\u3092\u4f7f\u7528\u3057\u306a\u3044\u5206<span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u30ea\u30bd\u30fc\u30b9\u3092\u6d88\u8cbb\u305b\u305a\u3001\u51e6\u7406\u6027\u80fd\u3067\u3082\u512a\u308c\u3066\u3044\u308b<\/span>\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u53cd\u9762\u3001\u7570\u306a\u308bOS\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u52d5\u4f5c\u3055\u305b\u305f\u3044\u5834\u5408\u3001Docker\u3067\u306f\u5bfe\u5fdc\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u7406\u89e3\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Ubuntu\u3067Docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u3001\u305d\u306e\u4e0a\u3067\u8907\u6570\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u4eca\u56de\u3054\u7d39\u4ecb\u3057\u305f\u624b\u9806\u3067Docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2 class=\"styled_h2\"><span id=\"UbuntuVPS\">Ubuntu\u3092VPS\u3067\u5229\u7528\u3059\u308b\u306a\u3089\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<\/span><\/h2>\n<p><a href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener\"><strong>\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc<\/strong><\/a>\u306f\u3001\u30a2\u30b7\u30b9\u30c8\u30a2\u30c3\u30d7\u682a\u5f0f\u4f1a\u793e\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3001<strong>Unix\u7cfb\u30b5\u30fc\u30d0\u30fc<\/strong>\u306b\u7279\u5316\u3057\u305f\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<\/p>\n<p><span class=\"q_underline q_underline1\" style=\"border-bottom-color: #fff799;\"><a href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener\"><strong>\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u306eVPS<\/strong><\/a>\u3067\u306f\u3001<strong>\u9ad8\u901f\u51e6\u7406\u304c\u53ef\u80fd\u306aSSD<\/strong>\u3092<strong>\u5168\u30d7\u30e9\u30f3\u306b\u642d\u8f09<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">OS\u306f\u3001<b>Ubuntu<\/b>\u3084<b>Debian<\/b>\u3001<b>AlmaLinux<\/b>\u306a\u3069\u306e\u8c4a\u5bcc\u306a\u30e9\u30a4\u30f3\u30a2\u30c3\u30d7\u304b\u3089\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener\"><strong>2\u9031\u9593\u7121\u6599\u30c8\u30e9\u30a4\u30a2\u30eb<\/strong><\/a>\u3092\u5b9f\u65bd\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3001\u307e\u305a\u306f\u304a\u6c17\u8efd\u306b\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.miraiserver.ne.jp\/\" target=\"_blank\" rel=\"noopener\">\u25bc\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u25bc<\/a><a href=\"https:\/\/www.miraiserver.ne.jp\/?utm_source=article-other&amp;utm_medium=referral&amp;utm_campaign=miraiserver\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-111 size-full\" src=\"http:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2022\/08\/02_336x280_a.png\" alt=\"Unix\u7cfbOS\u5c02\u9580\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u300c\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u300d\" width=\"336\" height=\"280\" srcset=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2022\/08\/02_336x280_a.png 336w, https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2022\/08\/02_336x280_a-300x250.png 300w\" sizes=\"(max-width: 336px) 100vw, 336px\" \/><\/a><\/p>\n<p><span class=\"q_underline q_underline2\" style=\"border-bottom-color: #99f9ff;\">\u30d7\u30e9\u30f3\u306e\u9078\u629e\u3067\u304a\u56f0\u308a\u306e\u5834\u5408\u306f\u3001\u305c\u3072\u4e00\u5ea6\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/span><br \/>\n<strong>\u304a\u554f\u3044\u5408\u308f\u305b\u30d5\u30a9\u30fc\u30e0\uff1a<\/strong><a href=\"https:\/\/www.miraiserver.ne.jp\/formmail.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.miraiserver.ne.jp\/formmail.html<\/a><br \/>\n<div class=\"cardlink\">\r\n    <a class=\"image\" href=\"https:\/\/www.miraiserver.ne.jp\/column\/miraiserver_vps\/\">\r\n     <img src=\"https:\/\/blog.miraiserver.ne.jp\/wp-content\/uploads\/2023\/08\/VPS\u306b\u7533\u8fbc\u307f\u3001SSH\u63a5\u7d9a\u3059\u308b\u307e\u3067\u306e\u6d41\u308c\u3010\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u3011-2.webp\">\r\n    <\/a>\r\n    <div class=\"content\">\r\n     <div class=\"title_area\">\r\n      <p class=\"date\">2023.08.03<\/p>\r\n      <h4 class=\"title\">\r\n       <a href=\"https:\/\/www.miraiserver.ne.jp\/column\/miraiserver_vps\/\">VPS\u306b\u7533\u8fbc\u307f\u3001SSH\u63a5\u7d9a\u3059\u308b\u307e\u3067\u306e\u6d41\u308c\u3010\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc\u3011<\/a>\r\n      <\/h4>\r\n     <\/div>\r\n     <p class=\"desc\"><span>\u30aa\u30f3\u30e9\u30a4\u30f3\u30d3\u30b8\u30cd\u30b9\u3084Web\u30b5\u30a4\u30c8\u306e\u904b\u55b6\u3092\u59cb\u3081\u308b\u969b\u306b\u306f\u3001\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u306e\u4e2d\u304b\u3089\u81ea\u5206\u306e\u7528\u9014\u306b\u5408\u3063\u305f\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u4e00\u822c\u7684\u3067\u3059\u3002...<\/span><\/p>\r\n    <\/div>\r\n   <\/div>\n<\/p>\n","protected":false},"excerpt":{"rendered":"Docker\u306fLinux\u306e\u30b3\u30f3\u30c6\u30ca\u6280\u8853\u3092\u4f7f\u7528\u3057\u305f\u4eee\u60f3\u74b0\u5883\u7528\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3059\u3002 \u5f93\u6765\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3068\u6bd4\u3079\u3001\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u306e\u30ab\u30fc\u30cd\u30eb\u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3059\u308b\u305f\u3081\u3001\u8efd\u91cf\u3067\u9ad8\u901f\u306b\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001Ubuntu 22.04 LTS\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002 \u3053\u308c\u304b\u3089Docker\u3092\u5229\u7528\u3055\u308c\u308b\u65b9\u306f\u672c\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002 Ubuntu\u306e\u57fa\u672c\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002 Linux\u3092VPS\u3067\u5229\u7528\u3059\u308b\u306a\u3089 \u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc \uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f VPS\u3092\u4f7f\u3063\u3066\u307f\u308b &nbsp; \u76ee\u6b211 Ubuntu\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306e\u4e8b\u524d\u6e96\u50991.1 \u524d\u63d0\u6761\u4ef61.2 \u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3092sudo\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a02 Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb2.1 Docker\u3068\u306f2.2 Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u98062.3 Docker\u306e\u52d5\u4f5c\u78ba\u8a8d3 \u307e\u3068\u30814 Ubuntu\u3092VPS\u3067\u5229\u7528\u3059\u308b\u306a\u3089\u30df\u30e9\u30a4\u30b5\u30fc\u30d0\u30fc Ubuntu\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u305f\u3081\u306e\u4e8b\u524d\u6e96\u5099 \u524d\u63d0\u6761\u4ef6 \u4eca\u56de\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u4e0a\u306b\u69cb\u7bc9\u3055\u308c\u305fUbuntu\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 \u4eee\u60f3\u30de\u30b7\u30f3\u306e\u30b9\u30da\u30c3\u30af\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002 CPU\uff1a2vCPU Memory\uff1a4GB Disk\uff1a50GB Ubuntu\u3001\u304a\u3088\u3073Docker\u306f\u4ee5\u4e0b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 Ubuntu\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff1aUbuntu 22.04.2 LTS Docker\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff1aDocker version 24.0.6, build ed223bc \u307e\u305f\u3001\u30b3\u30de\u30f3\u30c9\u306e\u6a19\u8a18\u306b\u3064\u3044\u3066\u306f\u3001\u5b9f\u969b\u306b\u5165\u529b\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u592a\u5b57\u3001\u88dc\u8db3\u306e\u5185\u5bb9\u3092\u9752\u5b57\u3067\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002 \u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u3092sudo\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0 Docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059\u3002 root\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001\u901a\u5e38\u30e6\u30fc\u30b6\u30fc\uff08\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001testuser\uff09\u3092sudo\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002 # usermod -aG sudo testuser \uff3c 2\u9031\u9593\u7121\u6599\u3067\u304a\u8a66\u3057\u3067\u304d\u307e\u3059\uff01 \uff0f VPS\u3092\u4f7f\u3063\u3066\u307f\u308b Docker\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Docker\u3068\u306f [&hellip;]","protected":false},"author":1,"featured_media":4591,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[188,190,238],"tags":[22,27,67,210,218],"_links":{"self":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts\/1304"}],"collection":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/comments?post=1304"}],"version-history":[{"count":5,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts\/1304\/revisions"}],"predecessor-version":[{"id":4601,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/posts\/1304\/revisions\/4601"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/media\/4591"}],"wp:attachment":[{"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/media?parent=1304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/categories?post=1304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.miraiserver.ne.jp\/column\/wp-json\/wp\/v2\/tags?post=1304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}