{"id":18491,"date":"2025-10-23T19:46:11","date_gmt":"2025-10-23T19:46:11","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=18491"},"modified":"2025-10-23T19:46:11","modified_gmt":"2025-10-23T19:46:11","slug":"%e3%82%b3%e3%83%b3%e3%83%86%e3%83%8adb%e5%85%a5%e9%96%80%e3%82%b7%e3%83%aa%e3%83%bc%e3%82%ba%e2%91%a0%ef%bc%9adocker%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%82%92%e5%8b%95","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/18491\/","title":{"rendered":"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab"},"content":{"rendered":"\n<\/p>\n<div id=\"\">\n<p><span style=\"font-weight: 400;\">Docker\u306e\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u306f\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3051\u308c\u3069\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066Kubernetes\u306b\u6311\u6226\u3057\u305f\u3044\u65b9\u3084\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5b89\u5168\u306b\u52d5\u304b\u3057\u305f\u308a\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044\u65b9\u3001\u5c06\u6765\u7684\u306b\u300cKubernetes\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068DB\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u52d5\u304b\u3059\u300d\u3053\u3068\u3092\u76ee\u6307\u3057\u3066\u3044\u308b\u65b9\u3078\u5411\u3051\u3066\u30fb\u30fb\u30fb<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4eca\u56de\u304b\u3089\u300c\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u300d\u3068\u984c\u3057\u3066\u3001\u5b9f\u52d9\u306b\u5fdc\u7528\u53ef\u80fd\u306a\u77e5\u8b58\u3092\u30b9\u30c6\u30c3\u30d7\u30fb\u30d0\u30a4\u30fb\u30b9\u30c6\u30c3\u30d7\u3067\u7fd2\u5f97\u3059\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u672c\u30b7\u30ea\u30fc\u30ba\u3092\u9023\u8f09\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u672c\u8a18\u4e8b\u306f\u7b2c\u4e00\u56de\u76ee\u3068\u3057\u3066\u3001\u307e\u305a\u5358\u4f53\u306eDocker\u30b3\u30f3\u30c6\u30ca\u4e0a\u3067\u30c7\u30fc\u30bf\u3092\u6c38\u7d9a\u5316\u3057\u3066\u30b3\u30f3\u30c6\u30caDB\u3092\u52d5\u304b\u3059\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002Kubernetes\u306b\u304a\u3051\u308b\u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u3092\u6b63\u3057\u304f\u7406\u89e3\u3059\u308b\u306b\u306f\u3001\u305d\u306e\u571f\u53f0\u3068\u306a\u308b\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u306b\u304a\u3051\u308b\u57fa\u672c\u7684\u306a\u30c7\u30fc\u30bf\u306e\u6c38\u7d9a\u5316\u306e\u8003\u3048\u65b9\u3092\u6291\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u57fa\u790e\u3092\u56fa\u3081\u308b\u3053\u3068\u304c\u3001Kubernetes\u4e0a\u3067\u306eDB\u904b\u7528\u3092\u6210\u529f\u3055\u305b\u308b\u305f\u3081\u306e\u8fd1\u9053\u3068\u306a\u308b\u305f\u3081\u3001\u4eca\u56de\u306fDocker\u3092\u984c\u6750\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6c38\u7d9a\u5316\u3068\u306f\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7d42\u4e86\u3057\u3066\u3082\u305d\u306e\u30c7\u30fc\u30bf\u304c\u5b58\u7d9a\u3059\u308b\u7279\u6027\u306e\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u6c38\u7d9a\u5316\u306e\u4ed5\u7d44\u307f\u306fDocker\u306b\u3082\u5b58\u5728\u3057\u3001\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u306b\u95a2\u9023\u3057\u307e\u3059\u3002<\/span><\/p>\n<h2><span id=\"nazedeta_yong_xu_huaga_bi_yaoka\"><span style=\"font-weight: 400;\">\u306a\u305c\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u304c\u5fc5\u8981\u304b<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Docker\u30b3\u30f3\u30c6\u30ca\u3092\u6271\u3046\u4e0a\u3067\u6700\u3082\u91cd\u8981\u306a\u6027\u8cea\u306e\u4e00\u3064\u304c\u3001\u300c\u30b3\u30f3\u30c6\u30ca\u304c\u524a\u9664\u3055\u308c\u308b\u3068\u305d\u306e\u5185\u90e8\u306e\u30c7\u30fc\u30bf\u3082\u5931\u308f\u308c\u308b\u300d\u3068\u3044\u3046\u70b9\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4f8b\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u3001\u9867\u5ba2\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u3057\u305f\u3068\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306e\u305f\u3081\u306b\u53e4\u3044\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\u3059\u308b\u3068\u3001\u4fdd\u5b58\u3057\u305f\u306f\u305a\u306e\u9867\u5ba2\u30c7\u30fc\u30bf\u3082\u30b3\u30f3\u30c6\u30ca\u3068\u5171\u306b\u5b8c\u5168\u306b\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/span><span style=\"font-weight: 400;\">\u30b3\u30f3\u30c6\u30ca\u3068\u5171\u306b\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u306a\u3044\u305f\u3081\u306b\u3001\u30c7\u30fc\u30bf\u3092\u30b3\u30f3\u30c6\u30ca\u306e\u5916\u90e8\u306b\u4fdd\u5b58\u3059\u308b\u300c\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u300d\u3068\u3044\u3046\u4ed5\u7d44\u307f\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<h2><span id=\"deta_yong_xu_huano_fang_fa_Docker_Volumeno_li_yong\"><span style=\"font-weight: 400;\">\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u306e\u65b9\u6cd5\uff08Docker Volume\u306e\u5229\u7528\uff09<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Docker Volume\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u90e8\u306e\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3059\u308b\u305f\u3081\u306b\u3001\u30b3\u30f3\u30c6\u30ca\u5916\u90e8\u306e\u5834\u6240(\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)\u306b\u30c7\u30fc\u30bf\u3092\u4fdd\u7ba1\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u30c7\u30fc\u30bf\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\u3059\u308b\u3068\u5931\u308f\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001Docker Volume\u306f\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u4e0a\u306eDocker\u304c\u7ba1\u7406\u3059\u308b\u9818\u57df\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30b3\u30f3\u30c6\u30ca\u3068\u306f\u5225\u306b\u30c7\u30fc\u30bf\u304c\u7ba1\u7406\u3055\u308c\u308b\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u30b3\u30f3\u30c6\u30ca\u8d77\u52d5\u6642\u306b\u3001\u3053\u306eVolume\u3092\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u7279\u5b9a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u63a5\u7d9a\uff08\u30de\u30a6\u30f3\u30c8\uff09\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u66f8\u304d\u8fbc\u3080\u30c7\u30fc\u30bf\u306f\u30b3\u30f3\u30c6\u30ca\u306e\u5916\u306b\u3042\u308bVolume\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\u30fb\u518d\u4f5c\u6210\u3057\u3066\u3082\u3001\u540c\u3058Volume\u3092\u518d\u5ea6\u30de\u30a6\u30f3\u30c8\u3059\u308c\u3070\u3001\u30c7\u30fc\u30bf\u3092\u5f15\u304d\u7d99\u3050\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4eca\u56de\u306e\u30cf\u30f3\u30ba\u30aa\u30f3\u306fdocker\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308b\u74b0\u5883\u304c\u3042\u308b\u65b9\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u3082\u3057\u3001\u307e\u3060Docker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u3001\u516c\u5f0f\u30b5\u30a4\u30c8\u3084\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u3001\u304a\u4f7f\u3044\u306eUbuntu\u74b0\u5883\u306bDocker Engine\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u3010\u516c\u5f0f\u30b5\u30a4\u30c8\u3011Install Docker Engine on Ubuntu <\/span><a target=\"_blank\" href=\"https:\/\/docs.docker.com\/engine\/install\/ubuntu\/\"><span style=\"font-weight: 400;\">https:\/\/docs.docker.com\/engine\/install\/ubuntu\/<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\">VSCode Dev Container\u3068Rancher Desktop\u3067\u4f5c\u308b\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u3010WSL\u3011<\/span><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/tech-lab.sios.jp\/archives\/33994\"><span style=\"font-weight: 400;\">https:\/\/tech-lab.sios.jp\/archives\/33994<\/span><\/a><\/p>\n<h2><span id=\"shi_xing_huan_jing\"><span style=\"font-weight: 400;\">\u5b9f\u884c\u74b0\u5883<\/span><\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ubuntu\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff1a24.04.1 LTS<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Docker\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff1a28.1.1<\/span><\/li>\n<\/ul>\n<h2><span id=\"DBkontenaimejino_qu_de\"><span style=\"font-weight: 400;\">DB\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u306e\u53d6\u5f97<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u30cf\u30f3\u30ba\u30aa\u30f3\u3092\u59cb\u3081\u308b\u306b\u3042\u305f\u3063\u3066\u3001\u307e\u305a\u306f\u304a\u597d\u304d\u306a\u5834\u6240\u306b\u4f5c\u696d\u7528\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u305d\u3053\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4eca\u56de\u306fMySQL8.4\u306e\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067MySQL8.4\u306eDocker\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<h2><span id=\"boryumuno_zuo_cheng\"><span style=\"font-weight: 400;\">\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u4f5c\u6210<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">docker volume create \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068Docker Volume\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<div id=\"attachment_49863\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/133878254330d69667f7d8e827e24551.png?ssl=1\"><img loading=\"lazy\" data-recalc-dims=\"1\" decoding=\"async\" aria-describedby=\"caption-attachment-49863\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/133878254330d69667f7d8e827e24551.png?resize=600%2C41&amp;ssl=1\" alt=\"\" width=\"600\" height=\"41\" class=\"wp-image-49863\"\/><\/a><\/p>\n<p id=\"caption-attachment-49863\" class=\"wp-caption-text\">Docker Volume\u306e\u4f5c\u6210<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u4f5c\u6210\u3057\u305fDocker Volume\u306fdocker volume ls\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<h2><span id=\"Docker_Volumewo_zhi_dingshiteDBkontenawo_qi_dong\"><span style=\"font-weight: 400;\">Docker Volume\u3092\u6307\u5b9a\u3057\u3066DB\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">docker run\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u540d\u524d\u3084\u4f7f\u7528\u3059\u308b\u30dc\u30ea\u30e5\u30fc\u30e0\u306a\u3069\u69d8\u3005\u306a\u8a2d\u5b9a\u3092\u305d\u306e\u5834\u3067\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4eca\u56de\u4f7f\u7528\u3057\u305f\u30b3\u30de\u30f3\u30c9\u306e\u89e3\u8aac\u3067\u3059\u3002<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">docker run -d<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">docker\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3059\u308b\u30b3\u30de\u30f3\u30c9docker run\u306b-d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002-d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067docker run\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9(\u30c7\u30bf\u30c3\u30c1\u30e2\u30fc\u30c9)\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u753b\u9762\u304c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30ed\u30b0\u3067\u57cb\u3081\u5c3d\u304f\u3055\u308c\u3001\u4ed6\u306e\u30b3\u30de\u30f3\u30c9\u304c\u6253\u3066\u306a\u304f\u306a\u308b\u3053\u3068\u3092\u9632\u304e\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u2013 name <\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u8d77\u52d5\u3059\u308b\u30b3\u30f3\u30c6\u30ca\u306e\u540d\u524d\u3092\u6c7a\u3081\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002\u5f8c\u3067\u30b3\u30f3\u30c6\u30ca\u540d\u3092\u4f7f\u7528\u3057\u3066\u64cd\u4f5c\u3059\u308b\u305f\u3081\u3053\u3053\u3067\u540d\u524d\u3092\u6c7a\u3081\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-e MYSQL_ROOT_PASSWORD=\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002MySQL\u306e\u516c\u5f0f\u30a4\u30e1\u30fc\u30b8\u306f\u3001\u8d77\u52d5\u3059\u308b\u969b\u306bMYSQL_ROOT_PASSWORD\u3068\u3044\u3046\u74b0\u5883\u5909\u6570\u304c\u306a\u3044\u304b\u3092\u63a2\u3057\u306b\u884c\u304d\u307e\u3059\u3001\u5b58\u5728\u3057\u3066\u3044\u308c\u3070\u305d\u306e\u5024\u3092\u7ba1\u7406\u8005\uff08root\uff09\u30e6\u30fc\u30b6\u30fc\u306e\u521d\u671f\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u3057\u3066\u81ea\u52d5\u3067\u8a2d\u5b9a\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-v :\/var\/lib\/mysql\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u4f5c\u6210\u3057\u305fDocker Volume\u3092\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306e\u300c\/var\/lib\/mysql\u300d\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u306b\u63a5\u7d9a\uff08\u30de\u30a6\u30f3\u30c8\uff09\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u3053\u3068\u3067\u30b3\u30f3\u30c6\u30ca\u5185\u306eMySQL\u304c\u66f8\u304d\u8fbc\u3080\u30c7\u30fc\u30bf\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u5916\u306b\u3042\u308b\u5b89\u5168\u306a\u30dc\u30ea\u30e5\u30fc\u30e0\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-p 3306:3306\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">\u30db\u30b9\u30c8\u306e3306\u756a\u30dd\u30fc\u30c8\u3068\u3001\u30b3\u30f3\u30c6\u30ca\u306e3306\u756a\u30dd\u30fc\u30c8\u3092\u7e4b\u3050\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">mysql:8.4\u00a0<\/span>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">mysql:8.4\u3068\u3044\u3046\u540d\u524d\u306eDocker\u30a4\u30e1\u30fc\u30b8\u3092\u4f7f\u3063\u3066\u3001\u3053\u308c\u3089\u3059\u3079\u3066\u306e\u8a2d\u5b9a\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">docker run -d \\&#13;\n --name  \\&#13;\n -e MYSQL_ROOT_PASSWORD= \\&#13;\n -v :\/var\/lib\/mysql \\&#13;\n -p 3306:3306 \\&#13;\n mysql:8.4<\/span><\/code><\/pre>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30b3\u30f3\u30c6\u30ca\u8d77\u52d5\u6642\u306bDocker Volume\u306e\u6307\u5b9a\u3092\u51fa\u6765\u307e\u3059<\/span><\/p>\n<h2><span id=\"qi_dongshitaDBkontenahenoakusesu\"><span style=\"font-weight: 400;\">\u8d77\u52d5\u3057\u305fDB\u30b3\u30f3\u30c6\u30ca\u3078\u306e\u30a2\u30af\u30bb\u30b9<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">docker exec\u30b3\u30de\u30f3\u30c9\u306f\u3001\u5b9f\u884c\u4e2d\u306eDocker\u30b3\u30f3\u30c6\u30ca\u306e\u5185\u90e8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u305d\u3053\u3067\u5225\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4eca\u56de\u306e\u76ee\u7684\u306f\u3001\u8d77\u52d5\u3057\u305fMySQL\u30b3\u30f3\u30c6\u30ca\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3053\u3068\u306a\u306e\u3067\u3001\u307e\u305adocker exec\u3067\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306b\u5165\u308a\u3001\u7d9a\u3051\u3066mysql\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u3067root\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u3063\u3066MySQL\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">docker<\/span> <span style=\"font-weight: 400;\">exec<\/span> <span style=\"font-weight: 400;\">-it<\/span> <span style=\"font-weight: 400;\"\/> <span style=\"font-weight: 400;\">mysql<\/span> <span style=\"font-weight: 400;\">-u<\/span> <span style=\"font-weight: 400;\">root<\/span> <span style=\"font-weight: 400;\">-p<\/span><\/code><\/pre>\n<\/div>\n<p><span style=\"font-weight: 400;\">Enter password: \u3068\u51fa\u529b\u3055\u308c\u308b\u306e\u3067\u5148\u307b\u3069\u6307\u5b9a\u3057\u305fMySQL\u306eroot\u30e6\u30fc\u30b6\u30fc\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u4e0b\u3059\u308b\u3068MySQL\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<div id=\"attachment_49862\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/86f21e106af9aa156432e80b3a43b3e8.png?ssl=1\"><img loading=\"lazy\" data-recalc-dims=\"1\" decoding=\"async\" aria-describedby=\"caption-attachment-49862\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/86f21e106af9aa156432e80b3a43b3e8.png?resize=600%2C230&amp;ssl=1\" alt=\"\" width=\"600\" height=\"230\" class=\"wp-image-49862\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/86f21e106af9aa156432e80b3a43b3e8.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/86f21e106af9aa156432e80b3a43b3e8.png?resize=940%2C360&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-49862\" class=\"wp-caption-text\">MySQL\u30b3\u30f3\u30c6\u30ca\u306b\u30a2\u30af\u30bb\u30b9<\/p>\n<\/div>\n<h2><span id=\"yong_xu_huano_que_ren\"><span style=\"font-weight: 400;\">\u6c38\u7d9a\u5316\u306e\u78ba\u8a8d<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">\u6b21\u306b\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u308a\u76f4\u3057\u3066\u3082\u30c7\u30fc\u30bf\u304c\u6b8b\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6c38\u7d9a\u5316\u306e\u78ba\u8a8d\u306e\u305f\u3081\u3001\u4efb\u610f\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u3001\u30ec\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4eca\u56de\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084\u30ec\u30b3\u30fc\u30c9\u306e\u4f5c\u6210\u306b\u4f7f\u7528\u3057\u305f\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">CREATE DATABASE ;&#13;\n&#13;\nUSE ;&#13;\n&#13;\nCREATE TABLE users\u00a0(&#13;\n    id INT AUTO_INCREMENT PRIMARY KEY,&#13;\n    name VARCHAR(100) NOT NULL&#13;\n);&#13;\n&#13;\nINSERT INTO users (name) VALUES ('Taro Yamada');&#13;\n&#13;\nSELECT * FROM ;<\/span><\/code><\/pre>\n<\/div>\n<div id=\"attachment_49860\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/4ec6461d5981e64acb3846dd503b2f2b.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-49860\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/4ec6461d5981e64acb3846dd503b2f2b.png?resize=600%2C387&amp;ssl=1\" alt=\"\" width=\"600\" height=\"387\" class=\"wp-image-49860\"\/><\/a><\/p>\n<p id=\"caption-attachment-49860\" class=\"wp-caption-text\">\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u4f5c\u6210<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3057\u305f\u306e\u3067\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\u3057\u307e\u3059\u3002MySQL\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u629c\u3051\u308b\u969b\u306fexit\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6b21\u306b\u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62\u30fb\u524a\u9664\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">docker stop  \u3092\u5b9f\u884c\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">docker rm  \u3092\u5b9f\u884c\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">docker stop ;&#13;\ndocker rm ;<\/span><\/code><\/pre>\n<\/div>\n<div id=\"attachment_49861\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/1f774422ef6c93a645da22356adfcdab.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-49861\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/1f774422ef6c93a645da22356adfcdab.png?resize=600%2C296&amp;ssl=1\" alt=\"\" width=\"600\" height=\"296\" class=\"wp-image-49861\"\/><\/a><\/p>\n<p id=\"caption-attachment-49861\" class=\"wp-caption-text\">\u30b3\u30f3\u30c6\u30ca\u3092\u524a\u9664<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u78ba\u8a8d\u306e\u305f\u3081Volume\u3092\u6307\u5b9a\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u30c6\u30fc\u30d6\u30eb\u5185\u306e\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/span><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code><span style=\"font-weight: 400;\">docker run -d \\<\/span><\/code> <span style=\"font-weight: 400;\">--name  \\<\/span> <span style=\"font-weight: 400;\">-e MYSQL_ROOT_PASSWORD= \\ -v :\/var\/lib\/mysql \\ -p 3306:3306 \\ mysql:8.4 docker exec -it  mysql -u root -p USE ; SELECT * FROM ; <\/span><\/pre>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u53c2\u8003\u3068\u3057\u3066Volume\u306e\u6307\u5b9a\u3092\u305b\u305a\u306b\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u30c7\u30fc\u30bf\u3092\u78ba\u8a8d\u3059\u308b\u3068\u30c7\u30fc\u30bf\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<div id=\"attachment_49859\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a target=\"_blank\" href=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/128e00281b06ee1870e75a85f2b1dccb.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-49859\" src=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/128e00281b06ee1870e75a85f2b1dccb.png?resize=600%2C403&amp;ssl=1\" alt=\"\" width=\"600\" height=\"403\" class=\"wp-image-49859\" srcset=\"https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/128e00281b06ee1870e75a85f2b1dccb.png?w=1011&amp;ssl=1 1011w, https:\/\/i0.wp.com\/tech-lab.sios.jp\/wp-content\/uploads\/2025\/10\/128e00281b06ee1870e75a85f2b1dccb.png?resize=940%2C631&amp;ssl=1 940w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\"\/><\/a><\/p>\n<p id=\"caption-attachment-49859\" class=\"wp-caption-text\">Docker Volume\u3092\u4f7f\u7528\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u306e\u5b9f\u884c\u7d50\u679c<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u4eca\u56de\u306f\u3001Docker\u521d\u5fc3\u8005\u304c\u3064\u307e\u305a\u304f\u300c\u30b3\u30f3\u30c6\u30ca\u3092\u6d88\u3059\u3068\u30c7\u30fc\u30bf\u3082\u6d88\u3048\u308b\u300d\u3068\u3044\u3046\u554f\u984c\u3092\u3001Docker Volume\u3092\u4f7f\u3063\u3066\u89e3\u6c7a\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Web\u30a2\u30d7\u30ea\u306a\u3069\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5fc5\u8981\u3068\u3059\u308b\u30b7\u30b9\u30c6\u30e0\u3092\u30b3\u30f3\u30c6\u30ca\u3067\u4f5c\u6210\u3059\u308b\u969b\u3001\u300c\u30b3\u30f3\u30c6\u30ca\u304c\u524a\u9664\u3055\u308c\u308b\u3068\u5185\u90e8\u306e\u30c7\u30fc\u30bf\u3082\u6d88\u3048\u308b\u300d\u3068\u3044\u3046\u6027\u8cea\u304b\u3089\u30c7\u30fc\u30bf\u3092\u5b88\u308b\u3053\u306e\u300c\u6c38\u7d9a\u5316\u300d\u306e\u6982\u5ff5\u306f\u3068\u3066\u3082\u91cd\u8981\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u30b3\u30f3\u30c6\u30ca\u3068\u30c7\u30fc\u30bf\u3092\u5206\u96e2\u3059\u308b\u3068\u3044\u3046\u8003\u3048\u65b9\u306f\u3001\u3053\u306e\u5148Kubernetes\u3092\u5b66\u3076\u4e0a\u3067\u3082\u975e\u5e38\u306b\u91cd\u8981\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002Kubernetes\u3067\u306f\u3001\u3053\u306e\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u3092\u3001PersistentVolume (PV)\u3068 PersistentVolumeClaim(PVC)\u3068\u3044\u3046\u3001\u3055\u3089\u306b\u6d17\u7df4\u3055\u308c\u305f\u4ed5\u7d44\u307f\u3067\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6b21\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Docker Volume\u306e\u77e5\u8b58\u3092\u571f\u53f0\u306b\u3001Kubernetes\u3067\u306e\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u4e16\u754c\u3078\u30b9\u30c6\u30c3\u30d7\u30a2\u30c3\u30d7\u3057\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u8f9e\u5178\u30fb\u767e\u79d1\u4e8b\u5178\u306e\u691c\u7d22\u30b5\u30fc\u30d3\u30b9 \u2013 Weblio\u8f9e\u66f8 \u300c\u6c38\u7d9a\u5316\u306e\u610f\u5473\u30fb\u89e3\u8aac\u300d<\/span><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/www.weblio.jp\/content\/%E6%B0%B8%E7%B6%9A%E5%8C%96\"><span style=\"font-weight: 400;\">https:\/\/www.weblio.jp\/content\/%E6%B0%B8%E7%B6%9A%E5%8C%96<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Docker\u306e\u30c7\u30fc\u30bf\u6c38\u7d9a\u5316\u306b\u3064\u3044\u3066<\/span><\/p>\n<p><a target=\"_blank\" href=\"https:\/\/docker.lock-life.com\/archives\/341\"><span style=\"font-weight: 400;\">https:\/\/docker.lock-life.com\/archives\/341<\/span><\/a><\/p>\n<p><!-- Anyway Feedback Container \/\/--><\/p>\n<p><!-- \/\/Anyway Feedback Container --><\/div>\n\n<br \/><a href=\"https:\/\/tech-lab.sios.jp\/archives\/49857\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Docker\u306e\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u306f\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3051\u308c\u3069\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066Kubernetes\u306b\u6311\u6226\u3057\u305f\u3044\u65b9\u3084\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5b89\u5168\u306b\u52d5\u304b\u3057\u305f\u308a\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044\u65b9\u3001\u5c06\u6765\u7684\u306b\u300cKubernetes\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1 [&hellip;]","protected":false},"author":1,"featured_media":18492,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-18491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-tec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech-lab.sios.jp\/archives\/49857\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"Docker\u306e\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u306f\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3051\u308c\u3069\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066Kubernetes\u306b\u6311\u6226\u3057\u305f\u3044\u65b9\u3084\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5b89\u5168\u306b\u52d5\u304b\u3057\u305f\u308a\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044\u65b9\u3001\u5c06\u6765\u7684\u306b\u300cKubernetes\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech-lab.sios.jp\/archives\/49857\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-23T19:46:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/039931dc2caca4fce97b3f0e7e1c6e14.png\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/18491\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab\",\"datePublished\":\"2025-10-23T19:46:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/18491\\\/\"},\"wordCount\":179,\"image\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/039931dc2caca4fce97b3f0e7e1c6e14.png\",\"articleSection\":[\"\u4f01\u696d\u30c6\u30c3\u30af\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/18491\\\/\",\"url\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857\",\"name\":\"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/039931dc2caca4fce97b3f0e7e1c6e14.png\",\"datePublished\":\"2025-10-23T19:46:11+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/039931dc2caca4fce97b3f0e7e1c6e14.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/039931dc2caca4fce97b3f0e7e1c6e14.png\",\"width\":960,\"height\":540},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tech-lab.sios.jp\\\/archives\\\/49857#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tech-lab.sios.jp\/archives\/49857","og_locale":"ja_JP","og_type":"article","og_title":"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3","og_description":"Docker\u306e\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u306f\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3051\u308c\u3069\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066Kubernetes\u306b\u6311\u6226\u3057\u305f\u3044\u65b9\u3084\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5b89\u5168\u306b\u52d5\u304b\u3057\u305f\u308a\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044\u65b9\u3001\u5c06\u6765\u7684\u306b\u300cKubernetes\u4e0a\u3067\u30a2\u30d7\u30ea\u30b1 [&hellip;]","og_url":"https:\/\/tech-lab.sios.jp\/archives\/49857","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-10-23T19:46:11+00:00","og_image":[{"width":960,"height":540,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/039931dc2caca4fce97b3f0e7e1c6e14.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech-lab.sios.jp\/archives\/49857#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/18491\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab","datePublished":"2025-10-23T19:46:11+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/18491\/"},"wordCount":179,"image":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/49857#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/039931dc2caca4fce97b3f0e7e1c6e14.png","articleSection":["\u4f01\u696d\u30c6\u30c3\u30af"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/18491\/","url":"https:\/\/tech-lab.sios.jp\/archives\/49857","name":"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/49857#primaryimage"},"image":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/49857#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/039931dc2caca4fce97b3f0e7e1c6e14.png","datePublished":"2025-10-23T19:46:11+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/tech-lab.sios.jp\/archives\/49857#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech-lab.sios.jp\/archives\/49857"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/tech-lab.sios.jp\/archives\/49857#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/039931dc2caca4fce97b3f0e7e1c6e14.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/10\/039931dc2caca4fce97b3f0e7e1c6e14.png","width":960,"height":540},{"@type":"BreadcrumbList","@id":"https:\/\/tech-lab.sios.jp\/archives\/49857#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"\u30b3\u30f3\u30c6\u30caDB\u5165\u9580\u30b7\u30ea\u30fc\u30ba\u2460\uff1aDocker\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u52d5\u304b\u3057\u3066\u307f\u305f\uff08MySQL\uff09 | SIOS Tech. Lab"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/18491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=18491"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/18491\/revisions"}],"predecessor-version":[{"id":18493,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/18491\/revisions\/18493"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/18492"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=18491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=18491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=18491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}