{"id":2051,"date":"2025-08-22T09:32:20","date_gmt":"2025-08-22T09:32:20","guid":{"rendered":"\/jp\/tutorials\/?p=2051"},"modified":"2026-01-16T11:00:36","modified_gmt":"2026-01-16T11:00:36","slug":"docker-start-a-container","status":"publish","type":"post","link":"\/jp\/tutorials\/docker-start-a-container","title":{"rendered":"2026\u5e74\u7248 Docker\u30a4\u30e1\u30fc\u30b8\u3092\u52b9\u7387\u7684\u306b\u7ba1\u7406\u3059\u308bDocker\u30b3\u30f3\u30c6\u30ca\u306e\u4f5c\u6210\u65b9\u6cd5"},"content":{"rendered":"<p>&#35079;&#25968;&#12398;&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#12486;&#12512;&#19978;&#12391;&#21205;&#20316;&#12377;&#12427;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12420;&#12469;&#12540;&#12499;&#12473;&#12434;&#38283;&#30330;&#12375;&#12390;&#12356;&#12427;&#22580;&#21512;&#12289;<strong>Docker<\/strong>&#12434;&#20351;&#12358;&#12371;&#12392;&#12391;&#12487;&#12503;&#12525;&#12452;&#12503;&#12525;&#12475;&#12473;&#12434;&#31777;&#30053;&#21270;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p><p>Docker&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12377;&#12428;&#12400;&#12289;&#20206;&#24819;&#23554;&#29992;&#12469;&#12540;&#12496;&#12540;&#65288;VPS&#65289;&#12507;&#12473;&#12486;&#12451;&#12531;&#12464;&#12420;&#23554;&#29992;&#12510;&#12471;&#12531;&#12394;&#12393;&#12398;&#29872;&#22659;&#12391;&#12289;&#35079;&#25968;&#12398;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12420;&#12469;&#12540;&#12499;&#12473;&#12434;&#25163;&#36605;&#12395;&#36215;&#21205;&#12391;&#12365;&#12414;&#12377;&#12290;Docker&#12399;&#36605;&#37327;&#12391;&#12289;&#12487;&#12503;&#12525;&#12452;&#12364;&#23481;&#26131;&#12394;&#12358;&#12360;&#12289;&#20206;&#24819;&#12510;&#12471;&#12531;&#12424;&#12426;&#12418;&#20778;&#12428;&#12383;&#12497;&#12501;&#12457;&#12540;&#12510;&#12531;&#12473;&#12434;&#30330;&#25582;&#12375;&#12414;&#12377;&#12290;<\/p><p>Docker&#12467;&#12531;&#12486;&#12490;&#12395;&#12399;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#23455;&#34892;&#12377;&#12427;&#12383;&#12417;&#12395;&#24517;&#35201;&#12394;&#20381;&#23384;&#38306;&#20418;&#12364;&#12377;&#12409;&#12390;&#21547;&#12414;&#12428;&#12390;&#12356;&#12427;&#12383;&#12417;&#12289;&#20114;&#25563;&#24615;&#12398;&#21839;&#38988;&#12434;&#35299;&#28040;&#12391;&#12365;&#12414;&#12377;&#12290;&#12458;&#12540;&#12503;&#12531;&#12477;&#12540;&#12473;&#12477;&#12501;&#12488;&#12454;&#12455;&#12450;&#12391;&#12354;&#12427;Docker&#12434;&#20351;&#12387;&#12390;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#12487;&#12503;&#12525;&#12452;&#12377;&#12427;&#38283;&#30330;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#12391;&#12399;&#12289;&#12476;&#12525;&#12363;&#12425;Docker&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12377;&#12427;&#12371;&#12392;&#12364;&#37325;&#35201;&#12391;&#12377;&#12290;<\/p><p>&#26412;&#12481;&#12517;&#12540;&#12488;&#12522;&#12450;&#12523;&#12391;&#12399;&#12289;Docker&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#26041;&#27861;&#12434;&#12473;&#12486;&#12483;&#12503;&#12372;&#12392;&#12395;&#35299;&#35500;&#12375;&#12289;&#12477;&#12501;&#12488;&#12454;&#12455;&#12450;&#38283;&#30330;&#12395;&#12362;&#12369;&#12427;&#21033;&#28857;&#12392;&#37325;&#35201;&#12394;&#12505;&#12473;&#12488;&#12503;&#12521;&#12463;&#12486;&#12451;&#12473;&#12418;&#32057;&#20171;&#12375;&#12414;&#12377;&#12290;<\/p><p>\n\n\n\n\n\n<div class=\"protip\">\n                    <h2 class=\"featured-snippet title\">Docker&#12467;&#12531;&#12486;&#12490;&#12392;&#12399;<\/h2>\n                    <p>Docker&#12467;&#12531;&#12486;&#12490;&#12399;&#12289;&#29305;&#23450;&#12398;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#30064;&#12394;&#12427;&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#12486;&#12512;&#19978;&#12391;&#23455;&#34892;&#12377;&#12427;&#12383;&#12417;&#12395;&#24517;&#35201;&#12394;&#20381;&#23384;&#38306;&#20418;&#12434;&#12377;&#12409;&#12390;&#20633;&#12360;&#12383;&#33258;&#24049;&#23436;&#32080;&#22411;&#12398;&#12477;&#12501;&#12488;&#12454;&#12455;&#12450;&#12497;&#12483;&#12465;&#12540;&#12472;&#12391;&#12377;&#12290;Docker&#12452;&#12513;&#12540;&#12472;&#12395;&#12399;&#12289;&#12467;&#12531;&#12486;&#12490;&#12434;&#36215;&#21205;&#12414;&#12383;&#12399;&#20572;&#27490;&#12377;&#12427;&#12383;&#12417;&#12398;&#12377;&#12409;&#12390;&#12398;&#35373;&#23450;&#25163;&#38918;&#12364;&#21547;&#12414;&#12428;&#12390;&#12356;&#12414;&#12377;&#12290;&#12518;&#12540;&#12470;&#12540;&#12364;&#12452;&#12513;&#12540;&#12472;&#12434;&#23455;&#34892;&#12377;&#12427;&#12383;&#12403;&#12395;&#12289;&#26032;&#12375;&#12356;&#12467;&#12531;&#12486;&#12490;&#12364;&#20316;&#25104;&#12373;&#12428;&#12414;&#12377;&#12290;<\/p>\n                <\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-docker&#12467;&#12531;&#12486;&#12490;&#12434;&#20351;&#12358;&#29702;&#30001;\"><strong>Docker&#12467;&#12531;&#12486;&#12490;&#12434;&#20351;&#12358;&#29702;&#30001;<\/strong><\/h3><p>Docker&#12467;&#12531;&#12486;&#12490;&#12399;&#12289;&#29694;&#20195;&#12398;&#38283;&#30330;&#32773;&#12395;&#12392;&#12387;&#12390;&#30011;&#26399;&#30340;&#12394;&#23384;&#22312;&#12391;&#12377;&#12290;&#12467;&#12531;&#12486;&#12490;&#12398;&#20998;&#38626;&#27231;&#33021;&#12395;&#12424;&#12426;&#12289;&#21516;&#12376;&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#12486;&#12512;&#19978;&#12391;&#12450;&#12503;&#12522;&#12434;&#23455;&#34892;&#12375;&#12394;&#12364;&#12425;&#12289;&#20182;&#12398;OS&#12420;&#12467;&#12531;&#12486;&#12490;&#12392;&#12399;&#29420;&#31435;&#12375;&#12383;&#29366;&#24907;&#12434;&#32173;&#25345;&#12391;&#12365;&#12414;&#12377;&#12290;&#12371;&#12398;&#27231;&#33021;&#12395;&#12424;&#12387;&#12390;&#12289;&#38283;&#30330;&#29872;&#22659;&#12420;&#12473;&#12486;&#12540;&#12472;&#12531;&#12464;&#29872;&#22659;&#12395;&#12362;&#12356;&#12390;&#19968;&#36011;&#12375;&#12383;&#12497;&#12501;&#12457;&#12540;&#12510;&#12531;&#12473;&#12364;&#20445;&#35388;&#12373;&#12428;&#12414;&#12377;&#12290;<\/p><p>&#20225;&#26989;&#12395;&#12392;&#12387;&#12390;&#12289;Docker&#12467;&#12531;&#12486;&#12490;&#12399;&#12487;&#12503;&#12525;&#12452;&#12398;&#36895;&#24230;&#12434;&#21521;&#19978;&#12373;&#12379;&#12289;&#12471;&#12473;&#12486;&#12512;&#12522;&#12477;&#12540;&#12473;&#12398;&#21033;&#29992;&#21177;&#29575;&#12434;&#26368;&#22823;&#21270;&#12375;&#12414;&#12377;&#12290;&#12522;&#12477;&#12540;&#12473;&#38754;&#12391;&#12399;&#12289;Docker&#12467;&#12531;&#12486;&#12490;&#12398;&#12487;&#12503;&#12525;&#12452;&#12399;&#20206;&#24819;&#12510;&#12471;&#12531;&#12395;&#27604;&#12409;&#12390;&#24517;&#35201;&#12394;&#12513;&#12514;&#12522;&#12364;&#22823;&#24133;&#12395;&#23569;&#12394;&#12367;&#12390;&#28168;&#12415;&#12414;&#12377;&#12290;&#12373;&#12425;&#12395;&#12289;&#21487;&#25644;&#24615;&#12364;&#39640;&#12356;&#12383;&#12417;&#12289;&#26082;&#23384;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12398;&#31227;&#34892;&#12420;&#12473;&#12465;&#12540;&#12522;&#12531;&#12464;&#12418;&#21487;&#33021;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290;<\/p><p>&#12414;&#12392;&#12417;&#12427;&#12392;&#12289;Docker&#12467;&#12531;&#12486;&#12490;&#12399;&#38283;&#30330;&#12503;&#12525;&#12475;&#12473;&#12434;&#26368;&#36969;&#21270;&#12375;&#12289;&#36020;&#37325;&#12394;&#26178;&#38291;&#12434;&#31680;&#32004;&#12377;&#12427;&#12392;&#12392;&#12418;&#12395;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#38283;&#30330;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#12398;&#12467;&#12473;&#12488;&#21177;&#29575;&#12398;&#39640;&#12356;&#25104;&#21151;&#12395;&#36002;&#29486;&#12375;&#12414;&#12377;&#12290;<\/p><h2 class=\"wp-block-heading\" id=\"h-docker&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#26041;&#27861;\"><strong>Docker&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#26041;&#27861;<\/strong><\/h2><p>&#12371;&#12398;&#12481;&#12517;&#12540;&#12488;&#12522;&#12450;&#12523;&#12391;&#12399;&#12289;<strong>Ubuntu 22.04<\/strong>&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#12486;&#12512;&#12434;&#25645;&#36617;&#12375;&#12383;&#20206;&#24819;&#23554;&#29992;&#12469;&#12540;&#12496;&#12540;&#65288;VPS&#65289;&#12434;&#20351;&#29992;&#12375;&#12414;&#12377;&#12364;&#12289;&#12381;&#12428;&#20197;&#38477;&#12398;&#12496;&#12540;&#12472;&#12519;&#12531;&#12391;&#12418;&#21205;&#20316;&#12377;&#12427;&#12399;&#12378;&#12391;&#12377;&#12290;&#12414;&#12378;&#12399;&#12289;&#12362;&#20351;&#12356;&#12398;&#12469;&#12540;&#12496;&#12540;&#12395;Docker&#12364;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12373;&#12428;&#12390;&#12356;&#12427;&#12371;&#12392;&#12434;&#30906;&#35469;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;<\/p><p>Hostinger&#12398;VPS&#12434;&#12372;&#21033;&#29992;&#12398;&#12362;&#23458;&#27096;&#12399;&#12289;Docker&#12434;&#33258;&#21205;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12391;&#12365;&#12427;&#12300;<strong>Ubuntu with Docker<\/strong>&#12301;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12434;&#12372;&#27963;&#29992;&#12356;&#12383;&#12384;&#12369;&#12414;&#12377;&#12290;&#12371;&#12398;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12434;&#20351;&#29992;&#12377;&#12427;&#12395;&#12399;&#12289;<strong>VPS<\/strong>&#12398;&#12480;&#12483;&#12471;&#12517;&#12508;&#12540;&#12489;&#12395;&#12525;&#12464;&#12452;&#12531;&#12375;&#12289;&#12300;<strong>OS &amp; Panel&#65288;OS&#12392;&#12497;&#12493;&#12523;&#65289;<\/strong>&#12301;&rarr;&#12300;<strong>Operating System<\/strong>&#65288;&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#12486;&#12512;&#65289;&#12301;&#12395;&#36914;&#12415;&#12414;&#12377;&#12290;<\/p><p>&#12300;<strong>Applications<\/strong>&#65288;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#65289;&#12301;&#12398;&#12489;&#12525;&#12483;&#12503;&#12480;&#12454;&#12531;&#12513;&#12491;&#12517;&#12540;&#12363;&#12425;&#12300;<strong>Ubuntu 22.04 64bit with Docker<\/strong>&#12301;&#12434;&#36984;&#25246;&#12375;&#12289;&#12300;<strong>Change OS<\/strong>&#65288;OS&#12434;&#22793;&#26356;&#65289;&#12301;&#12434;&#12463;&#12522;&#12483;&#12463;&#12375;&#12414;&#12377;&#12290;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12364;&#23436;&#20102;&#12377;&#12427;&#12414;&#12391;&#12362;&#24453;&#12385;&#12367;&#12384;&#12373;&#12356;&#12290;<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e003479bc19\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"373\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-189.png\/public\" alt=\"hPanel&#12398;&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#12486;&#12512;&#35373;&#23450;&#12506;&#12540;&#12472;&#12395;&#34920;&#31034;&#12373;&#12428;&#12383;Docker VPS&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;\" class=\"wp-image-2052\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-189.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-189.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-189.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-189.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>&#12371;&#12398;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12398;&#35443;&#32048;&#12420;&#20182;&#12392;&#12398;&#36949;&#12356;&#12395;&#12388;&#12356;&#12390;&#12399;&#12289;&#24403;&#31038;&#12398;&#12300;Docker VPS&#12507;&#12473;&#12486;&#12451;&#12531;&#12464;&#12301;&#23554;&#29992;&#12506;&#12540;&#12472;&#12434;&#12372;&#35239;&#12367;&#12384;&#12373;&#12356;&#12290;<\/p><figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.hostinger.com\/jp\/vps-hosting\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/JP_VPS.png\/public\" alt=\"\" class=\"wp-image-2105\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/JP_VPS.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/JP_VPS.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/JP_VPS.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/JP_VPS.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/JP_VPS.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><p>&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12364;&#23436;&#20102;&#12375;&#12383;&#12425;&#12289;&#20197;&#19979;&#12398;Docker&#12467;&#12531;&#12486;&#12490;&#21270;&#12398;&#25163;&#38918;&#12395;&#24467;&#12387;&#12390;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#20998;&#38626;&#12373;&#12428;&#12383;&#29872;&#22659;&#20869;&#12391;&#23455;&#34892;&#12375;&#12414;&#12377;&#12290;<\/p><h3 class=\"wp-block-heading\" id=\"h-1-docker&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#25104;&#12377;&#12427;\"><strong>1. Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#25104;&#12377;&#12427;<\/strong><\/h3><p>Docker&#12452;&#12513;&#12540;&#12472;&#12399;&#12289;&#12467;&#12531;&#12486;&#12490;&#12398;&#35373;&#35336;&#22259;&#12391;&#12377;&#12290;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12398;&#23455;&#34892;&#12395;&#24517;&#35201;&#12394;&#12467;&#12540;&#12489;&#12289;&#12521;&#12452;&#12502;&#12521;&#12522;&#12289;&#20381;&#23384;&#38306;&#20418;&#12364;&#12377;&#12409;&#12390;&#21547;&#12414;&#12428;&#12390;&#12356;&#12414;&#12377;&#12290;Docker Hub&#12394;&#12393;&#12398;&#12503;&#12521;&#12483;&#12488;&#12501;&#12457;&#12540;&#12512;&#12391;&#20844;&#38283;&#12373;&#12428;&#12390;&#12356;&#12427;&#12418;&#12398;&#12420;&#12289;&#20491;&#20154;&#12391;&#31649;&#29702;&#12375;&#12390;&#12356;&#12427;Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#23455;&#34892;&#12377;&#12427;&#12392;&#12289;&#12381;&#12428;&#12364;Docker&#12467;&#12531;&#12486;&#12490;&#12395;&#22793;&#25563;&#12373;&#12428;&#12414;&#12377;&#12290;<\/p><p>&#26032;&#12375;&#12356;Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#19968;&#12363;&#12425;&#20316;&#25104;&#12377;&#12427;&#12371;&#12392;&#12418;&#21487;&#33021;&#12391;&#12377;&#12364;&#12289;Docker Hub&#12395;&#12399;&#12377;&#12368;&#12395;&#21033;&#29992;&#12391;&#12365;&#12427;&#22810;&#25968;&#12398;&#12505;&#12540;&#12473;&#12452;&#12513;&#12540;&#12472;&#12364;&#29992;&#24847;&#12373;&#12428;&#12390;&#12356;&#12427;&#12383;&#12417;&#12289;&#12381;&#12428;&#12434;&#22522;&#12395;&#27083;&#31689;&#12377;&#12427;&#12411;&#12358;&#12364;&#23455;&#29992;&#30340;&#12391;&#12377;&#12290;<\/p><p>&#12414;&#12378;&#12399;PuTTY&#12394;&#12393;&#12398;SSH&#12463;&#12521;&#12452;&#12450;&#12531;&#12488;&#12434;&#20351;&#12387;&#12390;VPS&#12395;&#12525;&#12464;&#12452;&#12531;&#12375;&#12414;&#12377;&#12290;&#27425;&#12395;&#12289;&#20197;&#19979;&#12398;Linux&#12467;&#12510;&#12531;&#12489;&#12434;&#23455;&#34892;&#12375;&#12390;&#12289;&#12471;&#12473;&#12486;&#12512;&#19978;&#12398;&#12377;&#12409;&#12390;&#12398;Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#19968;&#35239;&#34920;&#31034;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">sudo docker images<\/pre><p>&#26082;&#23384;&#12398;Docker&#12452;&#12513;&#12540;&#12472;&#12395;&#38306;&#12377;&#12427;&#35443;&#32048;&#24773;&#22577;&#12434;&#30906;&#35469;&#12377;&#12427;&#12395;&#12399;&#12289;&#27425;&#12398;&#12467;&#12510;&#12531;&#12489;&#12434;&#23455;&#34892;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">sudo docker images --help<\/pre><p>&#12467;&#12510;&#12531;&#12489;&#12503;&#12525;&#12531;&#12503;&#12488;&#12391;<strong>-q<\/strong>&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20351;&#29992;&#12377;&#12427;&#12392;&#12289;&#12471;&#12473;&#12486;&#12512;&#19978;&#12391;&#21033;&#29992;&#21487;&#33021;&#12394;&#12452;&#12513;&#12540;&#12472;&#12398;&#25968;&#20516;ID&#12398;&#12415;&#12434;&#19968;&#35239;&#34920;&#31034;&#12391;&#12365;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">sudo docker images -q<\/pre><p>&#26032;&#12375;&#12356;&#12467;&#12531;&#12486;&#12490;&#12395;&#12424;&#12387;&#12390;&#12479;&#12464;&#20184;&#12369;&#12420;&#21442;&#29031;&#12364;&#12373;&#12428;&#12390;&#12356;&#12394;&#12356;&#12289;&#38750;&#12480;&#12531;&#12464;&#12522;&#12531;&#12464;&#12398;&#12452;&#12513;&#12540;&#12472;&#12434;&#12377;&#12409;&#12390;&#19968;&#35239;&#34920;&#31034;&#12377;&#12427;&#12395;&#12399;&#12289;&#27425;&#12398;&#12467;&#12510;&#12531;&#12489;&#12434;&#20351;&#29992;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">sudo docker images -f dangling=false<\/pre><p>&#12522;&#12450;&#12523;&#12391;&#12399;&#12289;<strong>MySQL<\/strong>&#12434;&#12505;&#12540;&#12473;&#12395;&#12375;&#12383;&#12452;&#12513;&#12540;&#12472;&#12434;&#21462;&#24471;&#12375;&#12414;&#12377;&#12290;&#21508;&#12452;&#12513;&#12540;&#12472;&#12398;&#12506;&#12540;&#12472;&#12395;&#12450;&#12463;&#12475;&#12473;&#12377;&#12427;&#12392;&#12289;&#36861;&#21152;&#24773;&#22577;&#12434;&#30906;&#35469;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e003479dd11\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1356\" height=\"284\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-190.png\/public\" alt=\"MySQL&#12434;&#12505;&#12540;&#12473;&#12395;&#12375;&#12383;Docker&#20844;&#24335;&#12452;&#12513;&#12540;&#12472;\" class=\"wp-image-2053\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-190.png\/w=1356,fit=scale-down 1356w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-190.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-190.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-190.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1356px) 100vw, 1356px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>&#27425;&#12398;&#12467;&#12510;&#12531;&#12489;&#12434;&#23455;&#34892;&#12375;&#12390;&#12289;&#26032;&#12375;&#12356;&#12452;&#12513;&#12540;&#12472;&#12434;&#29694;&#22312;&#12398;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12395;&#12452;&#12531;&#12509;&#12540;&#12488;&#12375;&#12414;&#12377;&#12290;<strong>&lt;image name or image id&gt;<\/strong>&#12399;&#12289;&#36984;&#25246;&#12375;&#12383;&#12452;&#12513;&#12540;&#12472;&#12398;&#21517;&#21069;&#12414;&#12383;&#12399;ID&#12395;&#32622;&#12365;&#25563;&#12360;&#12390;&#12367;&#12384;&#12373;&#12356;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker pull &lt;image name or image id&gt;<\/pre><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e003479ea74\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"355\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-191.png\/public\" alt=\"SSH&#12463;&#12521;&#12452;&#12450;&#12531;&#12488;&#12434;&#20351;&#29992;&#12375;&#12390;Docker&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12390;&#12356;&#12427;&#27096;&#23376;\" class=\"wp-image-2054\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-191.png\/w=998,fit=scale-down 998w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-191.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-191.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 998px) 100vw, 998px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#25104;&#12377;&#12427;&#12418;&#12358;1&#12388;&#12398;&#26041;&#27861;&#12392;&#12375;&#12390;&#12289;Easypanel&#12434;&#20351;&#29992;&#12377;&#12427;&#26041;&#27861;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;&#12371;&#12398;&#12484;&#12540;&#12523;&#12399;&#12464;&#12521;&#12501;&#12451;&#12459;&#12523;&#12518;&#12540;&#12470;&#12540;&#12452;&#12531;&#12479;&#12540;&#12501;&#12455;&#12540;&#12473;&#12434;&#25552;&#20379;&#12375;&#12289;&#12467;&#12510;&#12531;&#12489;&#12521;&#12452;&#12531;&#25805;&#20316;&#12395;&#19981;&#24931;&#12428;&#12394;&#26041;&#12391;&#12418;Docker&#12452;&#12513;&#12540;&#12472;&#12398;&#31649;&#29702;&#12434;&#31777;&#21336;&#12395;&#34892;&#12360;&#12427;&#12424;&#12358;&#12395;&#12375;&#12414;&#12377;&#12290;EasyPanel&#12399;&#12289;Node.js&#12289;Ruby&#12289;Python&#12289;PHP&#12289;Go&#12289;Java&#12394;&#12393;&#12289;&#12373;&#12414;&#12374;&#12414;&#12394;&#12503;&#12525;&#12464;&#12521;&#12511;&#12531;&#12464;&#35328;&#35486;&#12391;&#20316;&#25104;&#12373;&#12428;&#12383;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#21521;&#12369;&#12395;Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#25104;&#12391;&#12365;&#12427;&#12484;&#12540;&#12523;&#12391;&#12377;&#12290;&#29872;&#22659;&#27083;&#31689;&#12420;&#20381;&#23384;&#38306;&#20418;&#35373;&#23450;&#12395;&#38306;&#12431;&#12427;&#22810;&#12367;&#12398;&#12503;&#12525;&#12475;&#12473;&#12434;&#33258;&#21205;&#21270;&#12375;&#12414;&#12377;&#12290;<\/p><p>Hostinger&#12398;VPS&#12507;&#12473;&#12486;&#12451;&#12531;&#12464;&#12503;&#12521;&#12531;&#12391;&#12399;&#12289;&#12300;<strong>Ubuntu 22.04 64bit with EasyPanel<\/strong>&#12301;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12364;&#25552;&#20379;&#12373;&#12428;&#12390;&#12362;&#12426;&#12289;VPS&#12480;&#12483;&#12471;&#12517;&#12508;&#12540;&#12489;&#12398;&#12300;<strong>Operating System<\/strong>&#65288;&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#12486;&#12512;&#65289;&#12301;&#12513;&#12491;&#12517;&#12540;&#12363;&#12425;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p><p>Docker&#12505;&#12540;&#12473;&#12398;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12392;EasyPanel&#25645;&#36617;&#12398;&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12289;&#12393;&#12385;&#12425;&#12434;&#20351;&#29992;&#12377;&#12427;&#12363;&#12399;&#12362;&#23458;&#27096;&#27425;&#31532;&#12391;&#12377;&#12290;&#32048;&#12363;&#12356;&#21046;&#24481;&#12364;&#24517;&#35201;&#12391;&#12354;&#12428;&#12400;Docker&#12434;&#12289;&#25805;&#20316;&#12398;&#12375;&#12420;&#12377;&#12373;&#12434;&#37325;&#35222;&#12377;&#12427;&#22580;&#21512;&#12399;EasyPanel&#12434;&#36984;&#12406;&#12394;&#12393;&#12289;&#12372;&#33258;&#36523;&#12398;&#12473;&#12461;&#12523;&#12420;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#35201;&#20214;&#12395;&#21512;&#12431;&#12379;&#12390;&#36984;&#25246;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;<\/p><h3 class=\"wp-block-heading\" id=\"h-2-dockerfile&#12434;&#20316;&#25104;&#12377;&#12427;\"><strong>2. Dockerfile&#12434;&#20316;&#25104;&#12377;&#12427;<\/strong><\/h3><p>Dockerfile&#12399;&#12289;Docker&#12395;&#23550;&#12375;&#12390;&#12300;&#12393;&#12398;&#12424;&#12358;&#12395;&#12452;&#12513;&#12540;&#12472;&#12434;&#12499;&#12523;&#12489;&#12377;&#12427;&#12363;&#12301;&#12434;&#25351;&#31034;&#12377;&#12427;&#12486;&#12461;&#12473;&#12488;&#12501;&#12449;&#12452;&#12523;&#12391;&#12377;&#12290;&#12467;&#12531;&#12486;&#12490;&#12452;&#12513;&#12540;&#12472;&#12434;&#27083;&#31689;&#12377;&#12427;&#12383;&#12417;&#12395;&#24517;&#35201;&#12394;Docker&#12467;&#12510;&#12531;&#12489;&#12364;&#12377;&#12409;&#12390;&#35352;&#36617;&#12373;&#12428;&#12390;&#12356;&#12414;&#12377;&#12290;Dockerfile&#12434;&#20351;&#29992;&#12377;&#12427;&#12371;&#12392;&#12391;&#12289;&#27598;&#22238;&#21516;&#12376;&#25163;&#38918;&#12391;&#12452;&#12513;&#12540;&#12472;&#12434;&#12499;&#12523;&#12489;&#12391;&#12365;&#12289;&#20316;&#26989;&#12398;&#19968;&#36011;&#24615;&#12392;&#31649;&#29702;&#12398;&#12375;&#12420;&#12377;&#12373;&#12364;&#21521;&#19978;&#12375;&#12414;&#12377;&#12290;<\/p><p>&#20197;&#19979;&#12399;&#12289;&#12471;&#12531;&#12503;&#12523;&#12394;Dockerfile&#12486;&#12531;&#12503;&#12524;&#12540;&#12488;&#12398;&#20363;&#12391;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">FROM ubuntu:latest<br>WORKDIR \/app<br>COPY . .<br>RUN apt-get update &amp;&amp; apt-get install -y curl<br>CMD [\"curl\", \"https:\/\/www.example.com\"]<\/pre><p>Dockerfile&#12391;&#12399;&#12289;&#21508;&#12467;&#12510;&#12531;&#12489;&#12364;Docker&#12452;&#12513;&#12540;&#12472;&#20869;&#12398;&#26032;&#12375;&#12356;&#12524;&#12452;&#12516;&#12540;&#12434;&#20316;&#25104;&#12375;&#12414;&#12377;&#12290;&#20363;&#12434;&#20351;&#12387;&#12390;&#20181;&#32068;&#12415;&#12434;&#35500;&#26126;&#12375;&#12414;&#12377;&#65306;<\/p><ul class=\"wp-block-list\">\n<li><strong>FROM ubuntu:latest<\/strong> &#8210; &#26368;&#26032;&#12398;Ubuntu&#35242;&#12452;&#12513;&#12540;&#12472;&#12434;&#21462;&#24471;&#12375;&#12289;&#12505;&#12540;&#12473;&#12524;&#12452;&#12516;&#12540;&#12392;&#12375;&#12390;&#35373;&#23450;&#12375;&#12414;&#12377;&#12290;&#12371;&#12398;&#19978;&#12395;&#24460;&#32154;&#12398;&#12524;&#12452;&#12516;&#12540;&#12364;&#31309;&#12415;&#37325;&#12394;&#12426;&#12414;&#12377;&#12290;<\/li>\n\n\n\n<li><strong>WORKDIR \/app<\/strong> &#8210; &#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#26989;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12434;&#35373;&#23450;&#12375;&#12289;&#20197;&#38477;&#12398;&#12467;&#12510;&#12531;&#12489;&#12398;&#23455;&#34892;&#12467;&#12531;&#12486;&#12461;&#12473;&#12488;&#12392;&#12394;&#12427;&#26032;&#12375;&#12356;&#12524;&#12452;&#12516;&#12540;&#12434;&#20316;&#25104;&#12375;&#12414;&#12377;&#12290;<\/li>\n\n\n\n<li><strong>COPY . .<\/strong> &#8210; &#12525;&#12540;&#12459;&#12523;&#12501;&#12449;&#12452;&#12523;&#12434;&#12467;&#12531;&#12486;&#12490;&#20869;&#12398;&#21516;&#12376;&#12501;&#12457;&#12523;&#12480;&#12395;&#12467;&#12500;&#12540;&#12375;&#12289;&#12503;&#12525;&#12472;&#12455;&#12463;&#12488;&#12501;&#12449;&#12452;&#12523;&#12434;&#21547;&#12416;&#36861;&#21152;&#12524;&#12452;&#12516;&#12540;&#12434;&#20316;&#25104;&#12375;&#12414;&#12377;&#12290;<\/li>\n\n\n\n<li><strong>RUN apt-get update &amp;&amp; apt-get install -y curl<\/strong> &#8210; Docker <strong>run<\/strong>&#12467;&#12510;&#12531;&#12489;&#12399;&#12289;&#12467;&#12531;&#12486;&#12490;&#20869;&#12391;cURL&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12289;&#26356;&#26032;&#12373;&#12428;&#12383;&#12497;&#12483;&#12465;&#12540;&#12472;&#12522;&#12473;&#12488;&#12392;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#28168;&#12415;&#12398;cURL&#12497;&#12483;&#12465;&#12540;&#12472;&#12434;&#21547;&#12416;&#26032;&#12375;&#12356;&#12524;&#12452;&#12516;&#12540;&#12434;&#36861;&#21152;&#12375;&#12414;&#12377;&#12290;<\/li>\n\n\n\n<li><strong>CMD [&ldquo;curl&rdquo;, &ldquo;https:\/\/www.domain.com&rdquo;]<\/strong> &#8210; &#12467;&#12531;&#12486;&#12490;&#36215;&#21205;&#26178;&#12395;&#23455;&#34892;&#12373;&#12428;&#12427;&#12487;&#12501;&#12457;&#12523;&#12488;&#12467;&#12510;&#12531;&#12489;&#12434;&#35373;&#23450;&#12375;&#12414;&#12377;&#12290;<\/li>\n<\/ul><p>&#12501;&#12449;&#12452;&#12523;&#12398;&#36861;&#21152;&#12420;&#32232;&#38598;&#12394;&#12393;&#12289;&#12467;&#12531;&#12486;&#12490;&#12398;&#23455;&#34892;&#20013;&#12395;&#34892;&#12387;&#12383;&#22793;&#26356;&#12399;&#12381;&#12428;&#12382;&#12428;&#12398;&#26360;&#12365;&#36796;&#12415;&#21487;&#33021;&#12524;&#12452;&#12516;&#12540;&#12395;&#20445;&#23384;&#12373;&#12428;&#12414;&#12377;&#12290;&#12371;&#12398;&#20181;&#32068;&#12415;&#12395;&#12424;&#12426;&#12289;&#12505;&#12540;&#12473;&#12452;&#12513;&#12540;&#12472;&#12395;&#24433;&#38911;&#12434;&#19982;&#12360;&#12427;&#12371;&#12392;&#12394;&#12367;&#12289;&#19968;&#26178;&#30340;&#12394;&#35519;&#25972;&#12434;&#21152;&#12360;&#12427;&#12371;&#12392;&#12364;&#21487;&#33021;&#12391;&#12377;&#12290;<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">&#12509;&#12452;&#12531;&#12488;<\/h4>\n                    <p> Docker Hub&#12398;&#20107;&#21069;&#27083;&#31689;&#28168;&#12415;&#12452;&#12513;&#12540;&#12472;&#12434;&#20351;&#29992;&#12377;&#12427;&#22580;&#21512;&#12289;Dockerfile&#12399;&#24517;&#38920;&#12391;&#12399;&#12354;&#12426;&#12414;&#12379;&#12435;&#12290;&#12383;&#12384;&#12375;&#12289;&#12381;&#12428;&#12425;&#12434;&#12459;&#12473;&#12479;&#12510;&#12452;&#12474;&#12375;&#12383;&#12426;&#25313;&#24373;&#12375;&#12383;&#12426;&#12377;&#12427;&#22580;&#21512;&#12395;&#12399;&#24517;&#35201;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290;<\/p>\n                <\/div>\n\n\n\n<\/p><h3 class=\"wp-block-heading\" id=\"h-3-docker&#12467;&#12531;&#12486;&#12490;&#12434;&#12499;&#12523;&#12489;&#12377;&#12427;\"><strong>3. Docker&#12467;&#12531;&#12486;&#12490;&#12434;&#12499;&#12523;&#12489;&#12377;&#12427;<\/strong><\/h3><p>&#26032;&#12375;&#12356;Dockerfile&#12434;&#29992;&#24847;&#12375;&#12383;&#12425;&#12289;&#12381;&#12398;&#12501;&#12449;&#12452;&#12523;&#12364;&#12354;&#12427;&#12487;&#12451;&#12524;&#12463;&#12488;&#12522;&#12395;&#31227;&#21205;&#12375;&#12289;&#27425;&#12398;Docker <strong>build<\/strong>&#12467;&#12510;&#12531;&#12489;&#12434;&#23455;&#34892;&#12375;&#12390;&#26032;&#12375;&#12356;&#12452;&#12513;&#12540;&#12472;&#12398;&#12499;&#12523;&#12489;&#12503;&#12525;&#12475;&#12473;&#12434;&#38283;&#22987;&#12375;&#12414;&#12377;&#12290;<strong>&lt;image name or image id&gt;<\/strong>&#12398;&#37096;&#20998;&#12399;&#12479;&#12464;&#21517;&#12395;&#32622;&#12365;&#25563;&#12360;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;<\/p><pre class=\"wp-block-preformatted\">docker build -t &lt;image name or image id&gt; .<\/pre><p>&#20808;&#12411;&#12393;&#12499;&#12523;&#12489;&#12375;&#12383;&#12452;&#12513;&#12540;&#12472;&#12363;&#12425;&#12289;&#26032;&#12375;&#12356;&#12467;&#12531;&#12486;&#12490;&#12434;Docker<strong> run<\/strong>&#12467;&#12510;&#12531;&#12489;&#12391;&#36215;&#21205;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker run &lt;image name or image id&gt;<\/pre><p>&#12381;&#12428;&#20197;&#22806;&#12398;&#22580;&#21512;&#12399;&#12289;Docker Hub&#12363;&#12425;&#12452;&#12531;&#12509;&#12540;&#12488;&#12375;&#12383;&#20107;&#21069;&#27083;&#31689;&#28168;&#12415;&#12452;&#12513;&#12540;&#12472;&#12434;&#23455;&#34892;&#12375;&#12414;&#12377;&#12290;&#12371;&#12371;&#12391;&#12399;&#12289;&#20808;&#12411;&#12393;pull&#65288;&#21462;&#24471;&#65289;&#12375;&#12383;MySQL&#12452;&#12513;&#12540;&#12472;&#12434;&#20351;&#29992;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker run mysql<\/pre><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e003479f869\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1346\" height=\"222\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-192.png\/public\" alt=\"&#26082;&#23384;&#12398;&#12452;&#12513;&#12540;&#12472;&#12434;&#22522;&#12395;&#12467;&#12531;&#12486;&#12490;&#12434;&#27083;&#31689;&#12375;&#12390;&#12356;&#12427;&#27096;&#23376;\" class=\"wp-image-2055\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-192.png\/w=1346,fit=scale-down 1346w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-192.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-192.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-192.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1346px) 100vw, 1346px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>&#21177;&#29575;&#30340;&#12394;&#12452;&#12513;&#12540;&#12472;&#12524;&#12452;&#12516;&#12540;&#12398;&#27083;&#31689;&#12399;&#12289;&#12499;&#12523;&#12489;&#26178;&#38291;&#12420;&#12522;&#12477;&#12540;&#12473;&#20351;&#29992;&#12434;&#26368;&#36969;&#21270;&#12377;&#12427;&#12358;&#12360;&#12391;&#38750;&#24120;&#12395;&#37325;&#35201;&#12391;&#12377;&#12290;Dockerfile&#20869;&#12398;&#21508;&#12467;&#12510;&#12531;&#12489;&#12399;&#26032;&#12375;&#12356;&#12524;&#12452;&#12516;&#12540;&#12434;&#20316;&#25104;&#12375;&#12289;Docker&#12399;&#12381;&#12428;&#12434;&#12461;&#12515;&#12483;&#12471;&#12517;&#12375;&#12414;&#12377;&#12290;&#12452;&#12513;&#12540;&#12472;&#12434;&#20877;&#12499;&#12523;&#12489;&#12377;&#12427;&#38555;&#12289;&#22793;&#26356;&#12364;&#12394;&#12356;&#12524;&#12452;&#12516;&#12540;&#12399;&#20877;&#21033;&#29992;&#12373;&#12428;&#12427;&#12383;&#12417;&#12289;&#12499;&#12523;&#12489;&#26178;&#38291;&#12434;&#30701;&#32302;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p><p>&#12373;&#12425;&#12395;&#12289;&#12524;&#12452;&#12516;&#12540;&#12434;&#21177;&#29575;&#30340;&#12395;&#27083;&#25104;&#12377;&#12427;&#12371;&#12392;&#12391;&#12452;&#12513;&#12540;&#12472;&#12469;&#12452;&#12474;&#12434;&#21066;&#28187;&#12391;&#12365;&#12289;pull&#12289;push&#12289;&#12487;&#12503;&#12525;&#12452;&#12398;&#36895;&#24230;&#12364;&#21521;&#19978;&#12375;&#12414;&#12377;&#12290;&#29305;&#12395;&#12289;&#31478;&#20105;&#21147;&#12434;&#32173;&#25345;&#12377;&#12427;&#12383;&#12417;&#12395;&#36805;&#36895;&#12394;&#12487;&#12503;&#12525;&#12452;&#12364;&#27714;&#12417;&#12425;&#12428;&#12427;&#20225;&#26989;&#12395;&#12392;&#12387;&#12390;&#12289;&#12371;&#12398;&#25163;&#27861;&#12399;&#19981;&#21487;&#27424;&#12391;&#12377;&#12290;<\/p><h3 class=\"wp-block-heading\" id=\"h-4-&#12467;&#12531;&#12486;&#12490;&#12434;&#23455;&#34892;-&#31649;&#29702;&#12377;&#12427;\"><strong>4. &#12467;&#12531;&#12486;&#12490;&#12434;&#23455;&#34892;&#12539;&#31649;&#29702;&#12377;&#12427;<\/strong><\/h3><p>&#12467;&#12531;&#12486;&#12490;&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#25104;&#12375;&#12383;&#12425;&#12289;Docker <strong>run<\/strong>&#12467;&#12510;&#12531;&#12489;&#12434;&#20351;&#12387;&#12390;&#12467;&#12531;&#12486;&#12490;&#12434;&#36215;&#21205;&#12375;&#12414;&#12377;&#12290;<strong>&lt;container name&gt;<\/strong>&#12398;&#37096;&#20998;&#12399;&#20219;&#24847;&#12398;&#12467;&#12531;&#12486;&#12490;&#21517;&#12395;&#32622;&#12365;&#25563;&#12360;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;&#12371;&#12371;&#12391;&#12399; <strong>mysql bash<\/strong>&#12364;&#12289;&#23455;&#34892;&#12377;&#12427;&#12467;&#12531;&#12486;&#12490;&#12434;&#31034;&#12375;&#12390;&#12356;&#12414;&#12377;&#12290;<\/p><pre class=\"wp-block-preformatted\">docker run --name &lt;container name&gt; -it mysql bash<\/pre><p>Docker <strong>ps<\/strong>&#12467;&#12510;&#12531;&#12489;&#12395;<strong>-a<\/strong>&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20184;&#12369;&#12390;&#23455;&#34892;&#12377;&#12427;&#12392;&#12289;&#12471;&#12473;&#12486;&#12512;&#12398;&#23455;&#34892;&#20013;&#12398;&#12467;&#12531;&#12486;&#12490;&#12434;&#19968;&#35239;&#34920;&#31034;&#12391;&#12365;&#12414;&#12377;&#12290;root&#27177;&#38480;&#12391;&#23455;&#34892;&#12377;&#12427;&#22580;&#21512;&#12399;&#12289;&#12467;&#12510;&#12531;&#12489;&#12398;&#20808;&#38957;&#12395;<strong>sudo<\/strong>&#12434;&#20184;&#12369;&#12414;&#12377;&#12290;<\/p><pre class=\"wp-block-preformatted\">docker ps -a<\/pre><p>&#27425;&#12398;Docker&#12467;&#12510;&#12531;&#12489;&#12434;&#20351;&#29992;&#12377;&#12427;&#12392;&#12289;&#12467;&#12531;&#12486;&#12490;&#12398;&#12488;&#12483;&#12503;&#12503;&#12525;&#12475;&#12473;&#12434;&#30906;&#35469;&#12391;&#12365;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker top MyContainer<\/pre><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e00347a05fb\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"180\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-193.png\/public\" alt=\"Docker top&#12467;&#12510;&#12531;&#12489;&#12364;&#23455;&#34892;&#20013;&#12398;&#12467;&#12531;&#12486;&#12490;&#12398;&#12488;&#12483;&#12503;&#12503;&#12525;&#12475;&#12473;&#12434;&#34920;&#31034;&#12375;&#12390;&#12356;&#12427;&#27096;&#23376;\" class=\"wp-image-2056\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-193.png\/w=938,fit=scale-down 938w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-193.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-193.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>&#12507;&#12473;&#12488;&#12392;&#12467;&#12531;&#12486;&#12490;&#38291;&#12391;&#12509;&#12540;&#12488;&#12434;&#12510;&#12483;&#12500;&#12531;&#12464;&#12377;&#12427;&#12395;&#12399;&#12289;docker <strong>run<\/strong>&#12467;&#12510;&#12531;&#12489;&#12392;&#19968;&#32210;&#12395;-p&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20351;&#29992;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker run -p host_port:container_port &lt;image name&gt;<\/pre><p>&#12509;&#12540;&#12488;&#12510;&#12483;&#12500;&#12531;&#12464;&#12434;&#34892;&#12358;&#12371;&#12392;&#12391;&#12289;&#12467;&#12531;&#12486;&#12490;&#20869;&#12398;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#22806;&#37096;&#12395;&#20844;&#38283;&#12375;&#12289;&#12507;&#12473;&#12488;&#12510;&#12471;&#12531;&#12363;&#12425;&#12450;&#12463;&#12475;&#12473;&#12391;&#12365;&#12427;&#12424;&#12358;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290;&#12371;&#12398;&#12503;&#12525;&#12475;&#12473;&#12399;&#12289;Web&#12469;&#12540;&#12496;&#12540;&#12420;&#12487;&#12540;&#12479;&#12505;&#12540;&#12473;&#12289;&#22806;&#37096;&#12471;&#12473;&#12486;&#12512;&#12392;&#25509;&#32154;&#12377;&#12427;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12395;&#12392;&#12387;&#12390;&#37325;&#35201;&#12391;&#12377;&#12290;<\/p><p>&#27704;&#32154;&#30340;&#12394;&#12473;&#12488;&#12524;&#12540;&#12472;&#12434;&#30906;&#20445;&#12377;&#12427;&#12395;&#12399;&#12289;<strong>-v<\/strong>&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20351;&#12387;&#12390;&#12508;&#12522;&#12517;&#12540;&#12512;&#12434;&#12467;&#12531;&#12486;&#12490;&#12395;&#12450;&#12479;&#12483;&#12481;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker run -v host_directory:container_directory &lt;image name&gt;<\/pre><p>&#12508;&#12522;&#12517;&#12540;&#12512;&#65288;Docker&#12398;&#12487;&#12540;&#12479;&#20445;&#23384;&#27231;&#33021;&#65289;&#12434;&#12450;&#12479;&#12483;&#12481;&#12377;&#12427;&#12371;&#12392;&#12391;&#12289;&#12467;&#12531;&#12486;&#12490;&#29872;&#22659;&#12399;&#12424;&#12426;&#22533;&#29282;&#12395;&#12394;&#12426;&#12289;&#31649;&#29702;&#12364;&#23481;&#26131;&#12395;&#12394;&#12426;&#12289;&#12497;&#12501;&#12457;&#12540;&#12510;&#12531;&#12473;&#12418;&#21521;&#19978;&#12375;&#12414;&#12377;&#12290;Docker&#12467;&#12531;&#12486;&#12490;&#29872;&#22659;&#12434;&#20572;&#27490;&#12289;&#21066;&#38500;&#12289;&#26356;&#26032;&#12375;&#12390;&#12418;&#12487;&#12540;&#12479;&#12399;&#20445;&#25345;&#12373;&#12428;&#12414;&#12377;&#12290;&#12373;&#12425;&#12395;&#12289;&#12508;&#12522;&#12517;&#12540;&#12512;&#12399;&#35079;&#25968;&#12398;&#12467;&#12531;&#12486;&#12490;&#38291;&#12391;&#20849;&#26377;&#12391;&#12365;&#12427;&#12383;&#12417;&#12289;&#12510;&#12523;&#12481;&#12467;&#12531;&#12486;&#12490;&#29872;&#22659;&#12391;&#12398;&#12487;&#12540;&#12479;&#31649;&#29702;&#12364;&#31777;&#21336;&#12395;&#12394;&#12426;&#12414;&#12377;&#12290;<\/p><p>\n\n\n<div class=\"protip\">\n                    <h4 class=\"title\">&#12509;&#12452;&#12531;&#12488;<\/h4>\n                    <p> Docker CLI&#12467;&#12510;&#12531;&#12489;&#12420;Docker API&#12434;&#20351;&#29992;&#12375;&#12390;&#12289;&#12508;&#12522;&#12517;&#12540;&#12512;&#12434;&#31649;&#29702;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p>\n                <\/div>\n\n\n\n<\/p><p><strong>&ndash;cpus<\/strong>&#12392;<strong>&ndash;memory<\/strong>&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20351;&#12358;&#12371;&#12392;&#12391;&#12289;CPU&#12420;&#12513;&#12514;&#12522;&#12394;&#12393;&#12398;&#12522;&#12477;&#12540;&#12473;&#12434;&#21046;&#38480;&#12391;&#12365;&#12414;&#12377;&#12290;&#27425;&#12398;&#20363;&#12391;&#12399;&#12289;&#12467;&#12531;&#12486;&#12490;&#12434;&#26368;&#22823;0.5CPU&#12392;500MB&#12398;RAM&#12395;&#21046;&#38480;&#12375;&#12390;&#12356;&#12414;&#12377;&#12290;<\/p><pre class=\"wp-block-preformatted\">docker run --cpus=0.5 --memory=500m &lt;image name&gt;<\/pre><p>&#23455;&#34892;&#20013;&#12398;&#12467;&#12531;&#12486;&#12490;&#12434;&#20572;&#27490;&#12377;&#12427;&#12395;&#12399;&#12289;&#27425;&#12398;&#12467;&#12510;&#12531;&#12489;&#12434;&#23455;&#34892;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker stop MyContainer<\/pre><p>&#12467;&#12531;&#12486;&#12490;ID&#12289;CPU&#20351;&#29992;&#29575;&#12289;&#12513;&#12514;&#12522;&#20351;&#29992;&#37327;&#12394;&#12393;&#12398;&#36861;&#21152;&#24773;&#22577;&#12434;&#34920;&#31034;&#12377;&#12427;&#12395;&#12399;&#12289;&#27425;&#12398;&#12467;&#12510;&#12531;&#12489;&#12434;&#23455;&#34892;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker stats<\/pre><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e00347a14a1\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1227\" height=\"80\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-194.png\/public\" alt=\"docker stats&#12467;&#12510;&#12531;&#12489;&#12391;&#34920;&#31034;&#12373;&#12428;&#12383;&#12467;&#12531;&#12486;&#12490;&#12398;&#24773;&#22577;\" class=\"wp-image-2057\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-194.png\/w=1227,fit=scale-down 1227w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-194.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-194.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-194.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1227px) 100vw, 1227px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Docker&#12467;&#12531;&#12486;&#12490;&#12434;&#32066;&#20102;&#12377;&#12427;&#12395;&#12399;&#12289;&#12467;&#12510;&#12531;&#12489;&#12521;&#12452;&#12531;&#12391;&#27425;&#12398;&#12467;&#12510;&#12531;&#12489;&#12434;&#20837;&#21147;&#12375;&#12414;&#12377;&#65306;<\/p><pre class=\"wp-block-preformatted\">docker kill MyContainer<\/pre><h2 class=\"wp-block-heading\" id=\"h-docker&#12467;&#12531;&#12486;&#12490;&#12398;&#27963;&#29992;&#26041;&#27861;\"><strong>Docker&#12467;&#12531;&#12486;&#12490;&#12398;&#27963;&#29992;&#26041;&#27861;<\/strong><\/h2><p>&#21177;&#29575;&#30340;&#12394;Docker&#12467;&#12531;&#12486;&#12490;&#21270;&#12503;&#12525;&#12475;&#12473;&#12434;&#23455;&#29694;&#12377;&#12427;&#12383;&#12417;&#12398;&#25512;&#22888;&#25163;&#27861;&#12434;&#20197;&#19979;&#12395;&#12414;&#12392;&#12417;&#12414;&#12377;&#12290;<\/p><p><strong>Kodee&#12434;&#27963;&#29992;&#12377;&#12427;<\/strong><\/p><p>&#12467;&#12531;&#12486;&#12490;&#20316;&#25104;&#12395;&#12362;&#12356;&#12390;&#21177;&#29575;&#24615;&#12399;&#37325;&#35201;&#12391;&#12377;&#12290;Hostinger&#12434;&#12372;&#21033;&#29992;&#12398;&#12362;&#23458;&#27096;&#12399;&#12289;VPS&#31649;&#29702;&#12398;&#21508;&#31278;&#20316;&#26989;&#12434;&#31777;&#32032;&#21270;&#12391;&#12365;&#12427;AI&#12450;&#12471;&#12473;&#12479;&#12531;&#12488;&#12300;Kodee&#12301;&#12434;&#27963;&#29992;&#12391;&#12365;&#12414;&#12377;&#12290;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#25163;&#38918;&#12398;&#26696;&#20869;&#12363;&#12425;&#36969;&#20999;&#12394;&#12467;&#12510;&#12531;&#12489;&#12398;&#25552;&#26696;&#12414;&#12391;&#23550;&#24540;&#12375;&#12414;&#12377;&#12290;<\/p><p>&#12371;&#12398;&#27231;&#33021;&#12399;<strong>VPS<\/strong>&#12480;&#12483;&#12471;&#12517;&#12508;&#12540;&#12489;&#12395;&#12354;&#12427;&#24038;&#20596;&#12398;&#12497;&#12493;&#12523;&#12363;&#12425;&#21033;&#29992;&#12391;&#12365;&#12414;&#12377;&#12290;&#20363;&#12360;&#12400;&#12289;&#27425;&#12398;&#12424;&#12358;&#12394;&#36074;&#21839;&#12434;&#20837;&#21147;&#12391;&#12365;&#12414;&#12377;&#12290;&#12300;How to dynamically update the container when the base image changes?&#65288;&#12505;&#12540;&#12473;&#12452;&#12513;&#12540;&#12472;&#12364;&#22793;&#26356;&#12373;&#12428;&#12383;&#12392;&#12365;&#12395;&#12467;&#12531;&#12486;&#12490;&#12434;&#21205;&#30340;&#12395;&#26356;&#26032;&#12377;&#12427;&#12395;&#12399;&#12393;&#12358;&#12377;&#12428;&#12400;&#12356;&#12356;&#12391;&#12377;&#12363;&#65311;&#65289;&#12301;<\/p><p><strong>Kodee<\/strong>&#12399;&#12289;&#38306;&#36899;&#12377;&#12427;&#12467;&#12510;&#12531;&#12489;&#12420;&#12473;&#12463;&#12522;&#12503;&#12488;&#12434;&#21547;&#12416;&#21253;&#25324;&#30340;&#12394;&#22238;&#31572;&#12434;&#36820;&#12375;&#12414;&#12377;&#12290;<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e00347a225b\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"987\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-195.png\/public\" alt=\"VPS&#12480;&#12483;&#12471;&#12517;&#12508;&#12540;&#12489;&#12391;Kodee&#12434;&#20351;&#12356;&#12289;Docker&#12395;&#38306;&#12377;&#12427;&#36074;&#21839;&#12395;&#22238;&#31572;&#12375;&#12390;&#12356;&#12427;&#27096;&#23376;\" class=\"wp-image-2058\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-195.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-195.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-195.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-195.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-195.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>&#12467;&#12531;&#12486;&#12490;&#12398;&#12473;&#12486;&#12540;&#12479;&#12473;&#12395;&#12388;&#12356;&#12390;&#36074;&#21839;&#12377;&#12427;&#12371;&#12392;&#12418;&#12391;&#12365;&#12414;&#12377;&#12290;&#20363;&#12360;&#12400;&#12289;&#12469;&#12540;&#12496;&#12540;&#19978;&#12391;&#31292;&#20685;&#20013;&#12398;&#12377;&#12409;&#12390;&#12398;&#12467;&#12531;&#12486;&#12490;&#19968;&#35239;&#12434;&#12522;&#12463;&#12456;&#12473;&#12488;&#12375;&#12414;&#12377;&#12290;<\/p><div class=\"wp-block-image\">\n<figure data-wp-context='{\"imageId\":\"69e00347a2e23\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"596\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-196.png\/public\" alt=\"VPS&#19978;&#12391;&#23455;&#34892;&#20013;&#12398;&#12467;&#12531;&#12486;&#12490;&#12395;&#38306;&#12377;&#12427;&#36074;&#21839;&#12395;Kodee&#12364;&#22238;&#31572;&#12375;&#12390;&#12356;&#12427;&#27096;&#23376;\" class=\"wp-image-2059\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-196.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-196.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/43\/2025\/08\/image-196.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"&#25313;&#22823;&#12377;&#12427;\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>&#12467;&#12531;&#12486;&#12490;&#12434;&#36605;&#37327;&#12395;&#20445;&#12388;<\/strong><\/p><p>&#12467;&#12531;&#12486;&#12490;&#12364;&#23567;&#12373;&#12356;&#12411;&#12393;&#12289;&#39640;&#36895;&#12363;&#12388;&#21177;&#29575;&#30340;&#12391;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#38754;&#12391;&#12418;&#20778;&#12428;&#12390;&#12356;&#12414;&#12377;&#12290;&#12487;&#12503;&#12525;&#12452;&#12364;&#36805;&#36895;&#12395;&#12394;&#12426;&#12289;&#20351;&#29992;&#12377;&#12427;&#12522;&#12477;&#12540;&#12473;&#12418;&#23569;&#12394;&#12367;&#12289;&#12495;&#12540;&#12489;&#12454;&#12455;&#12450;&#12398;&#21033;&#29992;&#21177;&#29575;&#12364;&#26368;&#22823;&#21270;&#12373;&#12428;&#12414;&#12377;&#12290;&#27083;&#25104;&#35201;&#32032;&#12364;&#23569;&#12394;&#12356;&#12371;&#12392;&#12391;&#25915;&#25731;&#23550;&#35937;&#38936;&#22495;&#12364;&#28187;&#12426;&#12289;&#20840;&#20307;&#30340;&#12394;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12364;&#21521;&#19978;&#12375;&#12414;&#12377;&#12290;<\/p><p>&#36605;&#37327;&#12394;&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12377;&#12427;&#12383;&#12417;&#12398;&#12498;&#12531;&#12488;&#12399;&#20197;&#19979;&#12398;&#36890;&#12426;&#12391;&#12377;&#65306;<\/p><ul class=\"wp-block-list\">\n<li><strong>&#36605;&#37327;&#12394;&#12505;&#12540;&#12473;&#12452;&#12513;&#12540;&#12472;&#12434;&#36984;&#25246;&#12377;&#12427;<\/strong> &#8210; &#35079;&#25968;&#12398;&#39006;&#20284;&#12452;&#12513;&#12540;&#12472;&#12364;&#12354;&#12427;&#22580;&#21512;&#12399;&#12289;&#20849;&#36890;&#12467;&#12531;&#12509;&#12540;&#12493;&#12531;&#12488;&#12434;&#21547;&#12416;&#12505;&#12540;&#12473;&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#25104;&#12375;&#12289;&#12381;&#12428;&#12434;&#22522;&#12395;&#12459;&#12473;&#12479;&#12512;Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#25104;&#12375;&#12414;&#12377;&#12290;<\/li>\n\n\n\n<li><strong>&#12510;&#12523;&#12481;&#12473;&#12486;&#12540;&#12472;&#12499;&#12523;&#12489;&#12434;&#27963;&#29992;&#12377;&#12427;<\/strong> &#8210; &#26368;&#32066;&#12452;&#12513;&#12540;&#12472;&#12395;&#12399;&#12289;&#25104;&#26524;&#29289;&#12420;&#24517;&#35201;&#12394;&#23455;&#34892;&#29872;&#22659;&#12394;&#12393;&#26368;&#23567;&#38480;&#12398;&#12467;&#12531;&#12509;&#12540;&#12493;&#12531;&#12488;&#12398;&#12415;&#12434;&#21547;&#12417;&#12414;&#12377;&#12290;<\/li>\n\n\n\n<li><strong>&#19981;&#35201;&#12394;&#12501;&#12449;&#12452;&#12523;&#12434;&#21066;&#38500;&#12377;&#12427;<\/strong> &#8210; &#12497;&#12483;&#12465;&#12540;&#12472;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#24460;&#12395;&#26410;&#20351;&#29992;&#12398;Docker&#12452;&#12513;&#12540;&#12472;&#12289;&#12461;&#12515;&#12483;&#12471;&#12517;&#12289;&#19968;&#26178;&#12501;&#12449;&#12452;&#12523;&#12434;&#21066;&#38500;&#12375;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12398;&#12497;&#12501;&#12457;&#12540;&#12510;&#12531;&#12473;&#12434;&#26368;&#36969;&#21270;&#12375;&#12414;&#12377;&#12290;<\/li>\n\n\n\n<li><strong>&#12467;&#12510;&#12531;&#12489;&#12434;&#20855;&#20307;&#30340;&#12395;&#35352;&#36848;&#12377;&#12427;<\/strong> &#8210; &#12467;&#12510;&#12531;&#12489;&#12399;1&#34892;&#12395;&#12414;&#12392;&#12417;&#12390;&#23455;&#34892;&#12375;&#12289;&#12452;&#12513;&#12540;&#12472;&#12524;&#12452;&#12516;&#12540;&#12434;&#28187;&#12425;&#12375;&#12414;&#12377;&#12290;&#12414;&#12383;&#12289;&#24517;&#38920;&#12391;&#12394;&#12356;&#25512;&#22888;&#12497;&#12483;&#12465;&#12540;&#12472;&#12420;&#12458;&#12503;&#12471;&#12519;&#12531;&#12497;&#12483;&#12465;&#12540;&#12472;&#12399;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#12375;&#12394;&#12356;&#12424;&#12358;&#12395;&#12375;&#12414;&#12377;&#12290;<\/li>\n<\/ul><p><strong>&#20844;&#24335;&#12452;&#12513;&#12540;&#12472;&#12434;&#20351;&#29992;&#12377;&#12427;<\/strong><\/p><p>Docker Hub&#12395;&#12354;&#12427;&#20844;&#24335;&#12452;&#12513;&#12540;&#12472;&#12434;&#20351;&#12387;&#12390;Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#27083;&#31689;&#12377;&#12427;&#12371;&#12392;&#12391;&#12289;&#23433;&#20840;&#24615;&#12539;&#26368;&#36969;&#21270;&#12539;&#20449;&#38972;&#24615;&#12364;&#30906;&#20445;&#12373;&#12428;&#12383;&#22522;&#30436;&#12434;&#12467;&#12531;&#12486;&#12490;&#12395;&#25552;&#20379;&#12391;&#12365;&#12414;&#12377;&#12290;&#20844;&#24335;&#12452;&#12513;&#12540;&#12472;&#12399;&#29305;&#23450;&#12398;&#12518;&#12540;&#12473;&#12465;&#12540;&#12473;&#12395;&#21512;&#12431;&#12379;&#12390;&#35519;&#25972;&#12373;&#12428;&#12390;&#12356;&#12427;&#12371;&#12392;&#12364;&#22810;&#12367;&#12289;&#22533;&#29282;&#12363;&#12388;&#21177;&#29575;&#30340;&#12394;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#38283;&#30330;&#12377;&#12427;&#12383;&#12417;&#12398;&#21177;&#29575;&#30340;&#12394;&#20986;&#30330;&#28857;&#12392;&#12394;&#12426;&#12414;&#12377;&#12290;<\/p><p>&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#38754;&#12391;&#12399;&#12289;&#20844;&#24335;&#12452;&#12513;&#12540;&#12472;&#12399;&#24505;&#24213;&#12375;&#12383;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12481;&#12455;&#12483;&#12463;&#12434;&#21463;&#12369;&#12289;&#33030;&#24369;&#24615;&#12395;&#23550;&#12377;&#12427;&#12497;&#12483;&#12481;&#12418;&#36805;&#36895;&#12395;&#36969;&#29992;&#12373;&#12428;&#12414;&#12377;&#12290;&#12373;&#12425;&#12395;&#24195;&#12367;&#21033;&#29992;&#12373;&#12428;&#12390;&#12356;&#12427;&#12383;&#12417;&#12289;&#12486;&#12473;&#12488;&#12364;&#21313;&#20998;&#12395;&#34892;&#12431;&#12428;&#12390;&#12362;&#12426;&#12289;&#12373;&#12414;&#12374;&#12414;&#12394;&#27083;&#25104;&#12420;&#12503;&#12521;&#12483;&#12488;&#12501;&#12457;&#12540;&#12512;&#12392;&#12398;&#20114;&#25563;&#24615;&#12418;&#39640;&#12356;&#12398;&#12364;&#29305;&#24500;&#12391;&#12377;&#12290;<\/p><p><strong>&#12467;&#12531;&#12486;&#12490;&#12398;&#27177;&#38480;&#12434;&#21046;&#38480;&#12377;&#12427;<\/strong><\/p><p>&#19981;&#35201;&#12394;&#29305;&#27177;&#12434;&#20184;&#19982;&#12375;&#12390;&#12467;&#12531;&#12486;&#12490;&#12434;&#23455;&#34892;&#12377;&#12427;&#12392;&#12289;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12522;&#12473;&#12463;&#12364;&#39640;&#12414;&#12426;&#12414;&#12377;&#12290;&#12467;&#12531;&#12486;&#12490;&#12364;root&#12518;&#12540;&#12470;&#12540;&#12391;&#23455;&#34892;&#12373;&#12428;&#12390;&#12356;&#12427;&#29366;&#24907;&#12391;&#20405;&#20837;&#12434;&#35377;&#12375;&#12390;&#12375;&#12414;&#12358;&#12392;&#12289;&#25915;&#25731;&#32773;&#12364;&#12471;&#12473;&#12486;&#12512;&#20840;&#20307;&#12434;&#21046;&#24481;&#12391;&#12365;&#12390;&#12375;&#12414;&#12358;&#21487;&#33021;&#24615;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;<\/p><p>&#12471;&#12473;&#12486;&#12512;&#12398;&#23433;&#20840;&#24615;&#12434;&#32173;&#25345;&#12377;&#12427;&#12383;&#12417;&#12395;&#12399;&#12289;&#12467;&#12531;&#12486;&#12490;&#12395;&#12399;&#24517;&#35201;&#26368;&#23567;&#38480;&#12398;&#27177;&#38480;&#12398;&#12415;&#12434;&#20184;&#19982;&#12375;&#12414;&#12375;&#12423;&#12358;&#12290;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#12467;&#12531;&#12486;&#12490;&#20869;&#12391;&#23455;&#34892;&#12377;&#12427;&#38555;&#12395;&#12399;&#12289;root&#20197;&#22806;&#12398;&#12518;&#12540;&#12470;&#12540;&#12434;&#20316;&#25104;&#12375;&#12390;&#21033;&#29992;&#12377;&#12427;&#12371;&#12392;&#12434;&#25512;&#22888;&#12375;&#12414;&#12377;&#12290;&#12414;&#12383;&#12289;&#12467;&#12531;&#12486;&#12490;&#12434;<strong>&#35501;&#12415;&#21462;&#12426;&#23554;&#29992;&#12514;&#12540;&#12489;<\/strong>&#12395;&#35373;&#23450;&#12377;&#12427;&#12371;&#12392;&#12391;&#12289;&#19981;&#24517;&#35201;&#12394;&#22793;&#26356;&#12434;&#38450;&#12368;&#12371;&#12392;&#12418;&#21487;&#33021;&#12391;&#12377;&#12290;<\/p><p><strong>&#27231;&#23494;&#24773;&#22577;&#12434;&#20445;&#35703;&#12377;&#12427;<\/strong><\/p><p>Docker&#12467;&#12531;&#12486;&#12490;&#36215;&#21205;&#26178;&#12395;&#12399;&#12289;&#12467;&#12531;&#12486;&#12490;&#20869;&#12391;&#21205;&#20316;&#12377;&#12427;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12420;&#12469;&#12540;&#12499;&#12473;&#12395;&#24540;&#12376;&#12390;&#29872;&#22659;&#22793;&#25968;&#12434;&#35373;&#23450;&#12391;&#12365;&#12414;&#12377;&#12290;&#19968;&#33324;&#30340;&#12394;&#20363;&#12392;&#12375;&#12390;&#12399;&#12289;&#12487;&#12540;&#12479;&#12505;&#12540;&#12473;&#12398;&#35469;&#35388;&#24773;&#22577;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12398;&#35373;&#23450;&#12289;&#35469;&#35388;&#29992;&#12398;&#12471;&#12540;&#12463;&#12524;&#12483;&#12488;&#20516;&#12394;&#12393;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;<\/p><p>&#29872;&#22659;&#22793;&#25968;&#12434;&#21033;&#29992;&#12377;&#12428;&#12400;&#12289;&#27231;&#23494;&#12487;&#12540;&#12479;&#12434;&#12467;&#12540;&#12489;&#12420;&#12452;&#12513;&#12540;&#12472;&#26412;&#20307;&#12363;&#12425;&#20998;&#38626;&#12391;&#12365;&#12427;&#12383;&#12417;&#12289;&#12371;&#12428;&#12425;&#20001;&#26041;&#12395;&#12450;&#12463;&#12475;&#12473;&#27177;&#12434;&#25345;&#12388;&#20154;&#12363;&#12425;&#12418;&#24773;&#22577;&#12434;&#38560;&#12377;&#12371;&#12392;&#12364;&#21487;&#33021;&#12391;&#12377;&#12290;&#12414;&#12383;&#12289;Dockerfile&#12434;&#22793;&#26356;&#12375;&#12383;&#12426;&#12452;&#12513;&#12540;&#12472;&#12434;&#20877;&#12499;&#12523;&#12489;&#12375;&#12383;&#12426;&#12377;&#12427;&#12371;&#12392;&#12394;&#12367;&#12289;&#29872;&#22659;&#22793;&#25968;&#12398;&#20516;&#12434;&#22793;&#26356;&#12377;&#12427;&#12384;&#12369;&#12391;&#35373;&#23450;&#12434;&#20999;&#12426;&#26367;&#12360;&#12425;&#12428;&#12427;&#12383;&#12417;&#12289;&#12475;&#12483;&#12488;&#12450;&#12483;&#12503;&#12398;&#26580;&#36575;&#24615;&#12418;&#21521;&#19978;&#12375;&#12414;&#12377;&#12290;<\/p><p><strong>&#12467;&#12531;&#12486;&#12490;&#12458;&#12540;&#12465;&#12473;&#12488;&#12524;&#12540;&#12471;&#12519;&#12531;&#12434;&#27963;&#29992;&#12377;&#12427;<\/strong><\/p><p><strong>Docker Compose<\/strong>&#12420;<strong>Kubernetes<\/strong>&#12392;&#12356;&#12387;&#12383;&#12467;&#12531;&#12486;&#12490;&#12458;&#12540;&#12465;&#12473;&#12488;&#12524;&#12540;&#12471;&#12519;&#12531;&#12484;&#12540;&#12523;&#12434;&#20351;&#12360;&#12400;&#12289;&#35079;&#25968;&#12467;&#12531;&#12486;&#12490;&#12391;&#27083;&#25104;&#12373;&#12428;&#12427;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12398;&#31649;&#29702;&#12434;&#31777;&#32032;&#21270;&#12391;&#12365;&#12414;&#12377;&#12290;1&#12388;&#12398;&#12467;&#12510;&#12531;&#12489;&#12391;&#35079;&#25968;&#12398;&#12467;&#12531;&#12486;&#12490;&#12434;&#21516;&#26178;&#12395;&#36215;&#21205;&#12391;&#12365;&#12427;&#12383;&#12417;&#12289;&#12487;&#12503;&#12525;&#12452;&#20316;&#26989;&#12364;&#21177;&#29575;&#21270;&#12373;&#12428;&#12414;&#12377;&#12290;<\/p><p>&#20363;&#12360;&#12400;&#12289;<a href=\"https:\/\/www.hostinger.com\/jp\/tutorials\/run-docker-wordpress\/\"><strong>Docker Compose&#12391;WordPress&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;<\/strong><\/a>&#12375;&#12289;Web&#12469;&#12540;&#12496;&#12540;&#12420;&#12487;&#12540;&#12479;&#12505;&#12540;&#12473;&#12394;&#12393;&#24517;&#35201;&#12394;&#12467;&#12531;&#12509;&#12540;&#12493;&#12531;&#12488;&#12434;&#12414;&#12392;&#12417;&#12390;&#27083;&#31689;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p><p>&#12414;&#12383;&#12289;&#12458;&#12540;&#12465;&#12473;&#12488;&#12524;&#12540;&#12471;&#12519;&#12531;&#12484;&#12540;&#12523;&#12399;&#12473;&#12465;&#12540;&#12522;&#12531;&#12464;&#12418;&#33258;&#21205;&#12391;&#34892;&#12356;&#12289;&#12450;&#12463;&#12475;&#12473;&#25968;&#12398;&#22679;&#21152;&#12395;&#24540;&#12376;&#12390;&#12469;&#12540;&#12499;&#12473;&#12434;&#35519;&#25972;&#12375;&#12414;&#12377;&#12290;&#12373;&#12425;&#12395;&#12289;&#21463;&#20449;&#12375;&#12383;&#12493;&#12483;&#12488;&#12527;&#12540;&#12463;&#12488;&#12521;&#12501;&#12451;&#12483;&#12463;&#12434;&#35079;&#25968;&#12398;&#12467;&#12531;&#12486;&#12490;&#12395;&#20998;&#25955;&#12373;&#12379;&#12427;&#12371;&#12392;&#12391;&#12289;&#12497;&#12501;&#12457;&#12540;&#12510;&#12531;&#12473;&#12392;&#20449;&#38972;&#24615;&#12398;&#21521;&#19978;&#12395;&#12418;&#12388;&#12394;&#12364;&#12426;&#12414;&#12377;&#12290;<\/p><h2 class=\"wp-block-heading\" id=\"h-&#12414;&#12392;&#12417;\"><strong>&#12414;&#12392;&#12417;<\/strong><\/h2><p>Docker&#12399;&#12289;&#29694;&#20195;&#12398;&#38283;&#30330;&#32773;&#12420;&#20225;&#26989;&#12395;&#12392;&#12387;&#12390;&#27424;&#12363;&#12379;&#12394;&#12356;&#12484;&#12540;&#12523;&#12391;&#12354;&#12426;&#12289;&#19968;&#36011;&#12375;&#12383;&#29872;&#22659;&#12398;&#25552;&#20379;&#12289;&#12487;&#12503;&#12525;&#12452;&#12398;&#21177;&#29575;&#21270;&#12289;&#12522;&#12477;&#12540;&#12473;&#21033;&#29992;&#12398;&#26368;&#36969;&#21270;&#12434;&#23455;&#29694;&#12375;&#12414;&#12377;&#12290;&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#26041;&#27861;&#12434;&#29702;&#35299;&#12377;&#12427;&#12371;&#12392;&#12391;&#12289;&#38283;&#30330;&#12469;&#12452;&#12463;&#12523;&#12434;&#12424;&#12426;&#21177;&#29575;&#30340;&#12363;&#12388;&#23433;&#20840;&#12395;&#36914;&#12417;&#12427;&#12371;&#12392;&#12364;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p><p>&#26412;&#35352;&#20107;&#12391;&#12399;&#12289;&#12452;&#12513;&#12540;&#12472;&#12363;&#12425;Docker&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12377;&#12427;&#12473;&#12486;&#12483;&#12503;&#12392;&#12289;&#12381;&#12398;&#36942;&#31243;&#12391;&#12424;&#12367;&#20351;&#12431;&#12428;&#12427;Docker&#12467;&#12510;&#12531;&#12489;&#12434;&#32057;&#20171;&#12375;&#12414;&#12375;&#12383;&#12290;&#12414;&#12383;&#12289;Ubuntu 22.04&#20206;&#24819;&#23554;&#29992;&#12469;&#12540;&#12496;&#12540;&#65288;VPS&#65289;&#19978;&#12391;&#21177;&#29575;&#30340;&#12395;Docker&#12467;&#12531;&#12486;&#12490;&#12434;&#31649;&#29702;&#12377;&#12427;&#12383;&#12417;&#12398;&#12509;&#12452;&#12531;&#12488;&#12395;&#12388;&#12356;&#12390;&#12418;&#35299;&#35500;&#12375;&#12414;&#12375;&#12383;&#12290;<\/p><p>Docker&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#12395;&#12388;&#12356;&#12390;&#36074;&#21839;&#12364;&#12354;&#12427;&#22580;&#21512;&#12399;&#12289;&#19979;&#12398;&#12467;&#12513;&#12531;&#12488;&#27396;&#12395;&#12380;&#12402;&#12362;&#23492;&#12379;&#12367;&#12384;&#12373;&#12356;&#12290;<\/p><h2 class=\"wp-block-heading\" id=\"h-docker&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#26041;&#27861;&#12395;&#38306;&#12377;&#12427;&#12424;&#12367;&#12354;&#12427;&#36074;&#21839;\"><strong>Docker&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#26041;&#27861;&#12395;&#38306;&#12377;&#12427;&#12424;&#12367;&#12354;&#12427;&#36074;&#21839;<\/strong><\/h2><p>&#12371;&#12398;&#12475;&#12463;&#12471;&#12519;&#12531;&#12391;&#12399;&#12289;Docker&#12467;&#12531;&#12486;&#12490;&#12398;&#20316;&#25104;&#12395;&#38306;&#12375;&#12390;&#12424;&#12367;&#12354;&#12427;&#36074;&#21839;&#12434;&#21462;&#12426;&#19978;&#12370;&#12414;&#12377;&#12290;<\/p><div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-6943fe9dcb1ff\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Docker&#12452;&#12513;&#12540;&#12472;&#12392;&#12467;&#12531;&#12486;&#12490;&#12398;&#36949;&#12356;&#12392;&#12399;&#65311;<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Docker&#12452;&#12513;&#12540;&#12472;&#12399;&#12289;&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12377;&#12427;&#12383;&#12417;&#12398;&#35373;&#35336;&#22259;&#12391;&#12354;&#12426;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12398;&#12467;&#12540;&#12489;&#12289;&#12521;&#12452;&#12502;&#12521;&#12522;&#12289;&#20381;&#23384;&#38306;&#20418;&#12434;&#12377;&#12409;&#12390;&#21547;&#12435;&#12391;&#12356;&#12414;&#12377;&#12290;&#19968;&#26041;&#12289;Docker&#12467;&#12531;&#12486;&#12490;&#12399;&#12289;&#12381;&#12398;&#12452;&#12513;&#12540;&#12472;&#12434;&#22522;&#12395;&#23455;&#34892;&#12373;&#12428;&#12427;&#12452;&#12531;&#12473;&#12479;&#12531;&#12473;&#12391;&#12377;&#12290;&#12452;&#12513;&#12540;&#12472;&#12363;&#12425;&#12467;&#12531;&#12486;&#12490;&#12434;&#36215;&#21205;&#12377;&#12427;&#12392;&#12289;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12364;&#21205;&#20316;&#12375;&#12289;&#30456;&#20114;&#20316;&#29992;&#12391;&#12365;&#12427;&#12521;&#12452;&#12502;&#29872;&#22659;&#12364;&#12471;&#12473;&#12486;&#12512;&#19978;&#12395;&#20316;&#25104;&#12373;&#12428;&#12414;&#12377;&#12290;<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-6943fe9dcb201\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>1&#12388;&#12398;Docker&#12452;&#12513;&#12540;&#12472;&#12363;&#12425;&#35079;&#25968;&#12398;&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12391;&#12365;&#12427;&#65311;<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>&#12399;&#12356;&#12289;1&#12388;&#12398;Docker&#12452;&#12513;&#12540;&#12472;&#12363;&#12425;&#35079;&#25968;&#12398;&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12391;&#12365;&#12414;&#12377;&#12290;&#21508;&#12467;&#12531;&#12486;&#12490;&#12399;&#29420;&#31435;&#12375;&#12390;&#23455;&#34892;&#12373;&#12428;&#12289;&#12381;&#12428;&#12382;&#12428;&#12364;&#29420;&#33258;&#12398;&#12522;&#12477;&#12540;&#12473;&#12392;&#35373;&#23450;&#12434;&#25345;&#12385;&#12414;&#12377;&#12290;&#12371;&#12398;&#26041;&#27861;&#12434;&#20351;&#12360;&#12400;&#12289;&#27598;&#22238;Docker&#12452;&#12513;&#12540;&#12472;&#12434;&#20316;&#12426;&#30452;&#12373;&#12378;&#12395;&#12289;&#12373;&#12414;&#12374;&#12414;&#12394;&#29872;&#22659;&#12391;&#12450;&#12503;&#12522;&#12465;&#12540;&#12471;&#12519;&#12531;&#12434;&#12473;&#12465;&#12540;&#12522;&#12531;&#12464;&#12375;&#12383;&#12426;&#31292;&#20685;&#12373;&#12379;&#12383;&#12426;&#12391;&#12365;&#12289;&#26178;&#38291;&#12392;&#12522;&#12477;&#12540;&#12473;&#12434;&#31680;&#32004;&#12391;&#12365;&#12414;&#12377;&#12290;<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-6943fe9dcb202\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Docker&#12452;&#12513;&#12540;&#12472;&#12399;&#32232;&#38598;&#12391;&#12365;&#12427;&#65311;<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Docker&#12452;&#12513;&#12540;&#12472;&#12399;&#35501;&#12415;&#21462;&#12426;&#23554;&#29992;&#12398;&#12524;&#12452;&#12516;&#12540;&#12391;&#27083;&#25104;&#12373;&#12428;&#12390;&#12356;&#12427;&#12383;&#12417;&#12289;&#30452;&#25509;&#32232;&#38598;&#12377;&#12427;&#12371;&#12392;&#12399;&#12391;&#12365;&#12414;&#12379;&#12435;&#12290;&#22793;&#26356;&#12434;&#21152;&#12360;&#12427;&#12395;&#12399;&#12289;Dockerfile&#12420;&#12477;&#12540;&#12473;&#12501;&#12449;&#12452;&#12523;&#12434;&#26356;&#26032;&#12375;&#12289;Docker build&#12467;&#12510;&#12531;&#12489;&#12391;&#26032;&#12375;&#12356;&#12452;&#12513;&#12540;&#12472;&#12434;&#12499;&#12523;&#12489;&#12377;&#12427;&#24517;&#35201;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;&#26082;&#23384;&#12398;&#12467;&#12531;&#12486;&#12490;&#12399;&#33258;&#21205;&#30340;&#12395;&#26356;&#26032;&#12373;&#12428;&#12394;&#12356;&#12383;&#12417;&#12289;&#21476;&#12356;&#12467;&#12531;&#12486;&#12490;&#12434;&#20572;&#27490;&#12375;&#12289;&#26032;&#12375;&#12367;&#20316;&#25104;&#12375;&#12383;&#12452;&#12513;&#12540;&#12472;&#12363;&#12425;&#26032;&#12375;&#12356;&#12467;&#12531;&#12486;&#12490;&#12434;&#20316;&#25104;&#12377;&#12427;&#24517;&#35201;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&#35079;&#25968;&#12398;&#12458;&#12506;&#12524;&#12540;&#12486;&#12451;&#12531;&#12464;&#12471;&#12473;&#038;#1248 [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/jp\/tutorials\/docker-start-a-container\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":545,"featured_media":1341,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"%currentyear% \u5e74\u7248 Docker\u30b3\u30f3\u30c6\u30ca\u306e\u4f5c\u6210\u65b9\u6cd5","rank_math_description":"Docker\u30b3\u30f3\u30c6\u30ca\u306e\u4f5c\u6210\u65b9\u6cd5\u3092\u89e3\u8aac\uff1a1.Docker\u30a4\u30e1\u30fc\u30b8\u306e\u4f5c\u6210 2.Dockerfile\u306e\u4f5c\u6210 3.\u30b3\u30f3\u30c6\u30ca\u306e\u30d3\u30eb\u30c9 4.\u30b3\u30f3\u30c6\u30ca\u306e\u5b9f\u884c\u3068\u7ba1\u7406\u307e\u3067\u521d\u5fc3\u8005\u306b\u3082\u308f\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"docker\u30b3\u30f3\u30c6\u30ca \u4f5c\u6210\u65b9\u6cd5","footnotes":""},"categories":[4],"tags":[],"class_list":["post-2051","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps"],"hreflangs":[],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/posts\/2051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/users\/545"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/comments?post=2051"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/posts\/2051\/revisions"}],"predecessor-version":[{"id":2787,"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/posts\/2051\/revisions\/2787"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/media\/1341"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/media?parent=2051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/categories?post=2051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/jp\/tutorials\/wp-json\/wp\/v2\/tags?post=2051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}