{"id":20578,"date":"2018-03-06T10:00:18","date_gmt":"2018-03-06T01:00:18","guid":{"rendered":"https:\/\/www.creationline.com\/?p=20578"},"modified":"2018-03-05T17:46:58","modified_gmt":"2018-03-05T08:46:58","slug":"%e5%92%8c%e8%a8%b3-%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e5%90%91%e3%81%91docker%e3%81%a7%e3%81%aedocker-compose%e3%81%a8kubernetes-docker-kubernetes-k8s","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578","title":{"rendered":"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s"},"content":{"rendered":"<p>\u672c\u7a3f\u306f <a href=\"https:\/\/blog.docker.com\/2018\/02\/docker-compose-kubernetes-docker-desktop\/\">Docker Compose and Kubernetes with Docker for Desktop<\/a> (2018\/02\/15) \u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u4e0a\u3067Edge\u30d0\u30fc\u30b8\u30e7\u30f3\u306eDocker ( <a href=\"https:\/\/www.docker.com\/docker-mac\">Docker for Mac<\/a> \u307e\u305f\u306f <a href=\"https:\/\/www.docker.com\/docker-windows\">Docker for Windows Desktop<\/a> )\u3092\u3054\u5229\u7528\u306e\u65b9\u306f\u3001\u30dc\u30bf\u30f3\u30921\u3064\u30af\u30ea\u30c3\u30af\u3059\u308b\u3060\u3051\u3067\u5358\u4e00\u30ce\u30fc\u30c9\u306eKubernetes\u30af\u30e9\u30b9\u30bf\u3092\u7acb\u3066\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u79c1\u81ea\u8eab\u306f\u958b\u767a\u8005\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u3053\u3068\u306f\u3001Macbook\u3084Windows\u306e\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3067Docker\u3092\u4f7f\u3063\u3066\u3044\u308b\u591a\u304f\u306e\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u6717\u5831\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u4eca\u306a\u3089Docker\u306b\u5b8c\u5168\u306b\u9069\u5408\u3057\u305fKubernetes\u30af\u30e9\u30b9\u30bf\u3092\u3001\u4ed6\u306e\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u306a\u304f\u7c21\u5358\u306a\u64cd\u4f5c\u3067\u624b\u306b\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u30b3\u30f3\u30c6\u30ca\u5316\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306bDocker\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u958b\u767a\u8005\u306f\u3001\u305d\u308c\u3089\u306e\u30a2\u30d7\u30ea\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3081\u306b\u3057\u3070\u3057\u3070Docker Compose\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002Docker\u306e\u88fd\u54c1\u30e9\u30a4\u30f3\u3078\u306eKubernetes\u7d71\u5408\u306b\u3088\u3063\u3066\u3001\u65e2\u5b58\u306eDocker Compose\u30d5\u30a1\u30a4\u30eb\u3092\u6d3b\u7528\u3057\u3001Kubernetes\u3067\u305d\u308c\u3089\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u305f\u3044\u3068\u8003\u3048\u308b\u958b\u767a\u8005\u3082\u3044\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u305d\u308c\u306b\u306f\u3082\u3061\u308d\u3093 <a href=\"https:\/\/github.com\/kubernetes\/kompose\">Kompose<\/a> \u3092\u4f7f\u7528\u3059\u308c\u3070\u3044\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u3067\u306f2\u3064\u306e\u7570\u306a\u308b\u4e2d\u9593\u751f\u6210\u7269\u3092\u7ba1\u7406\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u30cd\u30a4\u30c6\u30a3\u30d6\u306aDocker\u306b\u57fa\u3065\u3044\u305f\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u7dad\u6301\u3059\u308b\u65b9\u6cd5\u306f\u306a\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7248Docker (\u304a\u3088\u3073 <a href=\"https:\/\/www.docker.com\/enterprise-edition\">Docker Enterprise Edition<\/a> )\u3067\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092Kubernetes\u30af\u30e9\u30b9\u30bf\u4e0a\u3067\u76f4\u63a5\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3081\u306bDocker Compose\u3092\u3054\u5229\u7528\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<p>\u624b\u9806\u306f\u6b21\u306e\u901a\u308a\u3067\u3059:<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306a3\u3064\u306e\u6bb5\u968e\u306e\u30a2\u30d7\u30ea(\u30a6\u30a7\u30d6\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3001\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9( <strong>words<\/strong> )\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9)\u3092\u8a18\u8ff0\u3059\u308b1\u3064\u306eDocker Compose\u30d5\u30a1\u30a4\u30eb\u3092\u6301\u3063\u3066\u3044\u308b\u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u79c1\u305f\u3061\u306e\u30a6\u30a7\u30d6\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306f\u3001\u30db\u30b9\u30c8\u306e80\u756a\u30dd\u30fc\u30c8\u304b\u3089\u30b5\u30fc\u30d3\u30b9(\u305d\u3057\u3066\u305d\u308c\u306b\u7d9a\u304f\u4e0b\u5c64\u306e\u30b3\u30f3\u30c6\u30ca)\u306b\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3092\u8ee2\u9001\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u307e\u305fwords\u30b5\u30fc\u30d3\u30b9\u306f5\u3064\u306e\u30ec\u30d7\u30ea\u30ab\u3067\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p><code class=\"yaml\"><br \/>\nservices:<br \/>\n  web:<br \/>\n    build: web<br \/>\n    image: dockerdemos\/lab-web<br \/>\n    volumes:<br \/>\n     - \".\/web\/static:\/static:<br \/>\n    ports:<br \/>\n     - \"80:80\"<br \/>\n\u3000<br \/>\n  words:<br \/>\n    build: words<br \/>\n    image: dockerdemos\/lab-words<br \/>\n    deploy:<br \/>\n      replicas: 5<br \/>\n      endpoint_mode: dnsrr<br \/>\n      resources:<br \/>\n        limits:<br \/>\n          memory: 16M<br \/>\n        reservations:<br \/>\n          memory: 16M<br \/>\n\u3000<br \/>\n  db:<br \/>\n    build: db<br \/>\n    image: dockerdemos\/lab-db<br \/>\n<\/code><\/p>\n<p>\u79c1\u306fDocker for Mac\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u3001Kubernetes\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30bf\u30fc\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3081\u306b\u306f\u3001Docker Compose\u30d5\u30a1\u30a4\u30eb\u540d(words.yaml)\u3068\u30b9\u30bf\u30c3\u30af\u306e\u540d\u524d(words)\u3092\u3001docker stack deploy\u30b3\u30de\u30f3\u30c9\u306b\u4e0e\u3048\u308b\u3060\u3051\u3067\u3059\u3002\u975e\u5e38\u306b\u512a\u308c\u3066\u3044\u308b\u70b9\u306f\u3001Docker Swarm\u3067\u3082\u307e\u3063\u305f\u304f\u540c\u3058\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3048\u308b\u70b9\u3067\u3059:<\/p>\n<p><code><br \/>\n$ docker stack deploy --compose-file words.yaml words<br \/>\nStack words was created<br \/>\nWaiting for the stack to be stable and running...<br \/>\n - Service db has one container running<br \/>\n - Service words has one container running<br \/>\n - Service web has one container running<br \/>\nStack words is stable and running<br \/>\n<\/code><\/p>\n<p>kubectl\u3092\u4f7f\u3046\u3068\u3001Deployment\u3001Pod\u3001Service\u304c\u95b2\u89a7\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306fDocker Compose\u30d5\u30a1\u30a4\u30eb\u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059:<\/p>\n<p><code><br \/>\n$ kubectl get deployment<br \/>\nNAME      DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE<br \/>\ndb        1         1         1            1           2m<br \/>\nweb       1         1         1            1           2m<br \/>\nwords     5         5         5            5           2m<br \/>\n<\/code><\/p>\n<p><code><br \/>\n$ kubectl get pods<br \/>\nNAME                     READY     STATUS    RESTARTS   AGE<br \/>\ndb-5489494997-2krr2      1\/1       Running   0          2m<br \/>\nweb-dd5755876-dhnkh      1\/1       Running   0          2m<br \/>\nwords-86645d96b7-8whpw   1\/1       Running   0          2m<br \/>\nwords-86645d96b7-dqwxp   1\/1       Running   0          2m<br \/>\nwords-86645d96b7-nxgbb   1\/1       Running   0          2m<br \/>\nwords-86645d96b7-p5qxh   1\/1       Running   0          2m<br \/>\nwords-86645d96b7-vs8x5   1\/1       Running   0          2m<br \/>\n<\/code><\/p>\n<p><code><br \/>\n$ kubectl get services<br \/>\nNAME            TYPE          CLUSTER-IP       EXTERNAL-IP    PORT(S)       AGE<br \/>\ndb              ClusterIP     None                    55555\/TCP     2m<br \/>\nweb             ClusterIP     None                    55555\/TCP     2m<br \/>\nweb-published   LoadBalancer  10.104.198.84        80:32315\/TCP  2m<br \/>\nwords           ClusterIP     None                    55555\/TCP     2m<br \/>\n<\/code><\/p>\n<p>services\u306e\u30ea\u30b9\u30c8\u3067\u306f\u3001\u4e00\u898b\u3057\u3066\u304a\u304b\u3057\u3044\u3068\u611f\u3058\u308b\u70b9\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002web\u3068web-published\u306e2\u3064\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u308b\u70b9\u3067\u3059\u3002web\u30b5\u30fc\u30d3\u30b9\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u9593\u306e\u901a\u4fe1\u3092\u53ef\u80fd\u306b\u3059\u308b\u3053\u3068\u306b\u5bfe\u3057\u3001\uff08Docker for Mac\u306evpnkit\u306b\u3088\u308b\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u3067\u3042\u308b\uff09web-published\u30b5\u30fc\u30d3\u30b9\u306f\u30a6\u30a7\u30d6\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3092\u5168\u4e16\u754c\u306b\u516c\u958b\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3088\u3063\u3066\u3001\u79c1\u305f\u3061\u304c http:\/\/localhost:80 \u3092\u8a2a\u554f\u3059\u308c\u3070\u3001\u5b9f\u884c\u4e2d\u306e\u30a2\u30d7\u30ea\u3092\u78ba\u8a8d\u3067\u304d\u308b\u306e\u3067\u3059\u3002\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306e\u3059\u3079\u3066\u306f <a href=\"https:\/\/twitter.com\/EltonStoneman\">Elton Stoneman<\/a> \u6c0f\u304c\u9332\u753b\u3057\u305f <a href=\"https:\/\/www.youtube.com\/watch?time_continue=2&amp;v=h4J8xQWlsQw\">\u3053\u3061\u3089\u306e\u52d5\u753b<\/a> \u3067\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2-1024x619.png\" alt=\"\" width=\"1024\" height=\"619\" class=\"aligncenter size-large wp-image-20579\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2-360x218.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2-768x464.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u3053\u3061\u3089\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u524a\u9664\u3057\u305f\u3044\u5834\u5408\u3001\u7686\u3055\u307e\u306fkubectl\u3092\u4f7f\u3063\u3066\u524a\u9664\u3057\u3088\u3046\u3068\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093 (\u79c1\u306f\u305d\u3046\u3057\u307e\u3057\u305f)\u3002\u3057\u304b\u3057\u5b9f\u969b\u306b\u306f\u3001docker stack\u306erm\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u30b9\u30bf\u30c3\u30af\u3092\u8d77\u52d5\u3057\u305f\u3068\u304d\u306b\u4f5c\u6210\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3059\u3079\u3066\u524a\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><code><br \/>\n$ docker stack rm words<br \/>\nRemoving stack: words<br \/>\n<\/code><\/p>\n<p><code><br \/>\n$ kubectl get deployment<br \/>\nNo resources found<br \/>\n<\/code><\/p>\n<p>\u3055\u3089\u306b\u3046\u308c\u3057\u3044\u3053\u3068\u306f\u3001\u540c\u3058\u30d7\u30ed\u30bb\u30b9\u304cDocker EE\u306b\u304a\u3044\u3066\u3082\u4f7f\u3048\u308b\u3053\u3068\u3067\u3059\u3002Docker Compose\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3059\u308b\u3060\u3051\u3067Docker EE\u306eUI\u4e0a\u3067\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u306b\u3064\u3044\u3066\u306f\u5225\u306e\u8a18\u4e8b\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3054\u81ea\u8eab\u3067\u8a66\u3059\u306b\u306f\u3001 <a href=\"https:\/\/www.docker.com\/docker-mac\">Docker for Mac<\/a> \u307e\u305f\u306f <a href=\"https:\/\/www.docker.com\/docker-windows\">Docker for Windows<\/a> \u3092\u5165\u624b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8( <a href=\"https:\/\/docs.docker.com\/docker-for-mac\/kubernetes\/\">Mac<\/a> \u3068 <a href=\"https:\/\/docs.docker.com\/docker-for-windows\/kubernetes\/\">Windows<\/a> )\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3082\u3063\u3068\u5b66\u3073\u305f\u3044\u65b9\u306f\uff1a<\/p>\n<ul>\n<li><a href=\"https:\/\/beta.docker.com\/\">\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7<\/a> \u3057\u3066Kubernetes\u642d\u8f09\u306eDocker EE\u30d9\u30fc\u30bf\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3001\u307e\u305f\u306f <a href=\"https:\/\/goto.docker.com\/EE-Beta-PWD.html\">\u30e9\u30dc\u3067\u8a66\u3059<\/a><\/li>\n<li>DockerCon\u30e8\u30fc\u30ed\u30c3\u30d1 2017\u306b\u304a\u3051\u308b <a href=\"https:\/\/www.youtube.com\/watch?v=_HrLs4pdyeM&amp;index=1&amp;list=PLkA60AVN3hh_dZhew2ypUarxhsh9T7ZEd&amp;t=3527s\">Kubernetes\u7d71\u5408\u30a2\u30ca\u30a6\u30f3\u30b9<\/a> \u52d5\u753b\u3092\u898b\u308b<\/li>\n<li><a href=\"http:\/\/2018.dockercon.com\/\">DockerCon 2018<\/a> \u306b\u767b\u9332\u3059\u308b<br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7a3f\u306f Docker Compose and Kubernetes with Docker for Desktop (2018\/02\/15) \u306e\u548c\u8a33\u3067\u3059\u3002 \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u4e0a\u3067Edge\u30d0\u30fc\u30b8\u30e7\u30f3\u306eDocker ( Docke [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":20579,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[43,122],"tags":[],"class_list":["post-20578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-kubernetes"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Docker, Kubernetes |\u672c\u7a3f\u306f Docker Compose and Kubernetes with Docker for Desktop (2018\/02\/15) \u306e\u548c\u8a33\u3067\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Docker, Kubernetes |\u672c\u7a3f\u306f Docker Compose and Kubernetes with Docker for Desktop (2018\/02\/15) \u306e\u548c\u8a33\u3067\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-06T01:00:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"619\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\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:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s\",\"datePublished\":\"2018-03-06T01:00:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578\"},\"wordCount\":110,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png\",\"articleSection\":[\"Docker\",\"Kubernetes\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578\",\"name\":\"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png\",\"datePublished\":\"2018-03-06T01:00:18+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Docker, Kubernetes |\u672c\u7a3f\u306f Docker Compose and Kubernetes with Docker for Desktop (2018\\\/02\\\/15) \u306e\u548c\u8a33\u3067\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png\",\"width\":1024,\"height\":619},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\\\/20578#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/docker\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Docker, Kubernetes |\u672c\u7a3f\u306f Docker Compose and Kubernetes with Docker for Desktop (2018\/02\/15) \u306e\u548c\u8a33\u3067\u3059\u3002","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:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Docker, Kubernetes |\u672c\u7a3f\u306f Docker Compose and Kubernetes with Docker for Desktop (2018\/02\/15) \u306e\u548c\u8a33\u3067\u3059\u3002","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2018-03-06T01:00:18+00:00","og_image":[{"width":1024,"height":619,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s","datePublished":"2018-03-06T01:00:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578"},"wordCount":110,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png","articleSection":["Docker","Kubernetes"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578","name":"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png","datePublished":"2018-03-06T01:00:18+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Docker, Kubernetes |\u672c\u7a3f\u306f Docker Compose and Kubernetes with Docker for Desktop (2018\/02\/15) \u306e\u548c\u8a33\u3067\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2018\/03\/bb2ab502-568a-40f5-b2a5-7104c485ba75-2.png","width":1024,"height":619},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/20578#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Docker","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker"},{"@type":"ListItem","position":4,"name":"[\u548c\u8a33] \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5411\u3051Docker\u3067\u306eDocker Compose\u3068Kubernetes #docker #kubernetes #k8s"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/20578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=20578"}],"version-history":[{"count":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/20578\/revisions"}],"predecessor-version":[{"id":20580,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/20578\/revisions\/20580"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/20579"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=20578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=20578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=20578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}