What next after the Docker workshopDockerワークショップの後に何をするか
Although you're done with the workshop, there's still a lot more to learn about containers.ワークショップは終わりましたが、コンテナについて学ぶことはまだたくさんあります。
Here are a few other areas to look at next.次に見るべきいくつかの他の分野があります。
Container orchestrationコンテナオーケストレーション
Running containers in production is tough. You don't want to log into a machine and simply run a
docker run or docker compose up. Why not? Well, what happens if the containers die? How do you
scale across several machines? Container orchestration solves this problem. Tools like Kubernetes,
Swarm, Nomad, and ECS all help solve this problem, all in slightly different ways.本番環境でコンテナを実行するのは難しいです。マシンにログインして単に
docker runやdocker compose upを実行したくはありません。なぜでしょうか?コンテナが死んだ場合はどうなりますか?複数のマシンにまたがってスケールするにはどうしますか?コンテナオーケストレーションはこの問題を解決します。Kubernetes、Swarm、Nomad、ECSなどのツールは、すべて少しずつ異なる方法でこの問題を解決するのに役立ちます。
The general idea is that you have managers who receive the expected state. This state might be "I want to run two instances of my web app and expose port 80." The managers then look at all of the machines in the cluster and delegate work to worker nodes. The managers watch for changes (such as a container quitting) and then work to make the actual state reflect the expected state.一般的なアイデアは、期待される状態を受け取るマネージャーがいるということです。この状態は「私のウェブアプリのインスタンスを2つ実行し、ポート80を公開したい」というものかもしれません。マネージャーはクラスター内のすべてのマシンを見て、ワーカーノードに作業を委任します。マネージャーは変更(例えば、コンテナが終了するなど)を監視し、実際の状態が期待される状態を反映するように作業します。
Cloud Native Computing Foundation projectsCloud Native Computing Foundationプロジェクト
The CNCF is a vendor-neutral home for various open-source projects, including Kubernetes, Prometheus, Envoy, Linkerd, NATS, and more. You can view the graduated and incubated projects here and the entire CNCF Landscape here. There are a lot of projects to help solve problems around monitoring, logging, security, image registries, messaging, and more.CNCFは、Kubernetes、Prometheus、Envoy、Linkerd、NATSなど、さまざまなオープンソースプロジェクトのベンダーニュートラルなホームです。こちらで卒業およびインキュベートされたプロジェクトを確認でき、CNCF Landscape全体をこちらで確認できます。監視、ロギング、セキュリティ、イメージレジストリ、メッセージングなどの問題を解決するための多くのプロジェクトがあります。
Getting started video workshopはじめに動画ワークショップ
Docker recommends watching the video workshop from DockerCon 2022. Watch the entire video or use the following links to open the video at a particular section.Dockerは、DockerCon 2022の動画ワークショップを視聴することを推奨しています。動画全体を視聴するか、特定のセクションで動画を開くための以下のリンクを使用してください。
- Docker overview and installationDockerの概要とインストール
- Pull, run, and explore containersコンテナのプル、実行、探索
- Build a container imageコンテナイメージのビルド
- Containerize an appアプリのコンテナ化
- Connect a DB and set up a bind mountDBを接続し、バインドマウントを設定
- Deploy a container to the cloudコンテナをクラウドにデプロイする
Creating a container from scratchゼロからコンテナを作成する
If you'd like to see how containers are built from scratch, Liz Rice from Aqua Security has a fantastic talk in which she creates a container from scratch in Go. While the talk does not go into networking, using images for the filesystem, and other advanced topics, it gives a deep dive into how things are working.コンテナがゼロからどのように構築されるかを見たい場合、Aqua SecurityのLiz RiceがGoでゼロからコンテナを作成する素晴らしいトークを行っています。このトークではネットワーキングやファイルシステム用のイメージ、その他の高度なトピックには触れていませんが、物事がどのように機能しているかについて深く掘り下げています。
