SlideShare ist ein Scribd-Unternehmen logo
1 von 6
Copyright©2017 NTT Corp. All Rights Reserved.
日本電信電話(株)
ソフトウェアイノベーションセンタ
須田 瑛大
Kubernetes対応版
Docker
Docker Tokyo #20 (2017/12/14)
本日β版公開
2
Copyright©2017 NTT Corp. All Rights Reserved.
•github: @AkihiroSuda / Twitter: @_AkihiroSuda_
•コンテナ関係のOSSのメンテナ(コミッタ)
• Moby (≒docker daemon)
• Moby BuildKit (次世代`docker build`)
• containerd (コンテナランタイム)
自己紹介
3
Copyright©2017 NTT Corp. All Rights Reserved.
• DockerとKubernetesの関係が逆転
• docker コマンドで Kubernetesを操作
Kubernetes版Docker
Kubernetes
Docker
containerd
Docker
Kubernetes
containerd
逆転
本日β版公開
※β版ではCRIランタイムは依然としてDockerの模様
5
Copyright©2017 NTT Corp. All Rights Reserved.
• `docker` CLIが,`dockerd`を経由せずに直接Kubernetesと通信する
• `docker-compose.yaml`に対応するCustom Resource Definitionと
して “stack”を定義している
( `kubectl get stack` できる)
• “Kamoulox Compose”がstack CRDをdeployment & serviceに変換
• stackが単位なので,今の所 `docker service` は使えない
• `docker run` はKubernetesを使わずにローカルで実行される
仕組み
6
Copyright©2017 NTT Corp. All Rights Reserved.
• https://www.docker.com/kubernetes から要登録
• 今の所 Docker for Macのみ
• 正式版は任意のKubernetesクラスタで動くはず
• 今の所 プロプライエタリ
入手方法

Weitere ähnliche Inhalte

Mehr von Akihiro Suda

Mehr von Akihiro Suda (20)

[CNCF TAG-Runtime] Usernetes Gen2
[CNCF TAG-Runtime] Usernetes Gen2[CNCF TAG-Runtime] Usernetes Gen2
[CNCF TAG-Runtime] Usernetes Gen2
 
[DockerCon 2023] Reproducible builds with BuildKit for software supply chain ...
[DockerCon 2023] Reproducible builds with BuildKit for software supply chain ...[DockerCon 2023] Reproducible builds with BuildKit for software supply chain ...
[DockerCon 2023] Reproducible builds with BuildKit for software supply chain ...
 
The internals and the latest trends of container runtimes
The internals and the latest trends of container runtimesThe internals and the latest trends of container runtimes
The internals and the latest trends of container runtimes
 
[KubeConEU2023] Lima pavilion
[KubeConEU2023] Lima pavilion[KubeConEU2023] Lima pavilion
[KubeConEU2023] Lima pavilion
 
[KubeConEU2023] containerd pavilion
[KubeConEU2023] containerd pavilion[KubeConEU2023] containerd pavilion
[KubeConEU2023] containerd pavilion
 
[Container Plumbing Days 2023] Why was nerdctl made?
[Container Plumbing Days 2023] Why was nerdctl made?[Container Plumbing Days 2023] Why was nerdctl made?
[Container Plumbing Days 2023] Why was nerdctl made?
 
[FOSDEM2023] Bit-for-bit reproducible builds with Dockerfile
[FOSDEM2023] Bit-for-bit reproducible builds with Dockerfile[FOSDEM2023] Bit-for-bit reproducible builds with Dockerfile
[FOSDEM2023] Bit-for-bit reproducible builds with Dockerfile
 
[CNCF TAG-Runtime 2022-10-06] Lima
[CNCF TAG-Runtime 2022-10-06] Lima[CNCF TAG-Runtime 2022-10-06] Lima
[CNCF TAG-Runtime 2022-10-06] Lima
 
[KubeCon EU 2022] Running containerd and k3s on macOS
[KubeCon EU 2022] Running containerd and k3s on macOS[KubeCon EU 2022] Running containerd and k3s on macOS
[KubeCon EU 2022] Running containerd and k3s on macOS
 
Dockerからcontainerdへの移行
Dockerからcontainerdへの移行Dockerからcontainerdへの移行
Dockerからcontainerdへの移行
 
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
 
[Docker Tokyo #35] Docker 20.10
[Docker Tokyo #35] Docker 20.10[Docker Tokyo #35] Docker 20.10
[Docker Tokyo #35] Docker 20.10
 
[KubeCon EU 2021] Introduction and Deep Dive Into Containerd
[KubeCon EU 2021] Introduction and Deep Dive Into Containerd[KubeCon EU 2021] Introduction and Deep Dive Into Containerd
[KubeCon EU 2021] Introduction and Deep Dive Into Containerd
 
DockerとPodmanの比較
DockerとPodmanの比較DockerとPodmanの比較
DockerとPodmanの比較
 
[KubeCon NA 2020] containerd: Rootless Containers 2020
[KubeCon NA 2020] containerd: Rootless Containers 2020[KubeCon NA 2020] containerd: Rootless Containers 2020
[KubeCon NA 2020] containerd: Rootless Containers 2020
 
[KubeCon EU 2020] containerd Deep Dive
[KubeCon EU 2020] containerd Deep Dive[KubeCon EU 2020] containerd Deep Dive
[KubeCon EU 2020] containerd Deep Dive
 
[DockerCon 2020] Hardening Docker daemon with Rootless Mode
[DockerCon 2020] Hardening Docker daemon with Rootless Mode[DockerCon 2020] Hardening Docker daemon with Rootless Mode
[DockerCon 2020] Hardening Docker daemon with Rootless Mode
 
[FOSDEM 2020] Lazy distribution of container images
[FOSDEM 2020] Lazy distribution of container images[FOSDEM 2020] Lazy distribution of container images
[FOSDEM 2020] Lazy distribution of container images
 
[KubeConUS2019 Docker, Inc. Booth] Distributed Builds on Kubernetes with Bui...
 [KubeConUS2019 Docker, Inc. Booth] Distributed Builds on Kubernetes with Bui... [KubeConUS2019 Docker, Inc. Booth] Distributed Builds on Kubernetes with Bui...
[KubeConUS2019 Docker, Inc. Booth] Distributed Builds on Kubernetes with Bui...
 
[Container Runtime Meetup] runc & User Namespaces
[Container Runtime Meetup] runc & User Namespaces[Container Runtime Meetup] runc & User Namespaces
[Container Runtime Meetup] runc & User Namespaces
 

Kubernetes対応版Docker for Mac

  • 1. Copyright©2017 NTT Corp. All Rights Reserved. 日本電信電話(株) ソフトウェアイノベーションセンタ 須田 瑛大 Kubernetes対応版 Docker Docker Tokyo #20 (2017/12/14) 本日β版公開
  • 2. 2 Copyright©2017 NTT Corp. All Rights Reserved. •github: @AkihiroSuda / Twitter: @_AkihiroSuda_ •コンテナ関係のOSSのメンテナ(コミッタ) • Moby (≒docker daemon) • Moby BuildKit (次世代`docker build`) • containerd (コンテナランタイム) 自己紹介
  • 3. 3 Copyright©2017 NTT Corp. All Rights Reserved. • DockerとKubernetesの関係が逆転 • docker コマンドで Kubernetesを操作 Kubernetes版Docker Kubernetes Docker containerd Docker Kubernetes containerd 逆転 本日β版公開 ※β版ではCRIランタイムは依然としてDockerの模様
  • 4.
  • 5. 5 Copyright©2017 NTT Corp. All Rights Reserved. • `docker` CLIが,`dockerd`を経由せずに直接Kubernetesと通信する • `docker-compose.yaml`に対応するCustom Resource Definitionと して “stack”を定義している ( `kubectl get stack` できる) • “Kamoulox Compose”がstack CRDをdeployment & serviceに変換 • stackが単位なので,今の所 `docker service` は使えない • `docker run` はKubernetesを使わずにローカルで実行される 仕組み
  • 6. 6 Copyright©2017 NTT Corp. All Rights Reserved. • https://www.docker.com/kubernetes から要登録 • 今の所 Docker for Macのみ • 正式版は任意のKubernetesクラスタで動くはず • 今の所 プロプライエタリ 入手方法