Docker & Kubernetes for Developers · レッスン

Dockerのインストールと基本コマンド

システムにDockerをインストールし、`docker run`、`pull`、`ps`などの基本コマンドを実行する方法を学びます。

レッスン 2/411 ステップ

「Dockerのインストールと基本コマンド」はCoddyKit上の無料Docker & Kubernetes for Developersレッスンです。 これはレッスン2/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはDocker & Kubernetes for Developers学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Docker & Kubernetes for Developersコースには全4レッスンが含まれています。

このレッスンの一部はまだ翻訳されておらず、英語で表示されています。

Get Docker Running!

Now let's go hands-on. You'll install Docker on your machine and start running its most essential commands.

Easiest Way: Docker Desktop

On Windows or macOS, Docker Desktop is the easiest start — it bundles Docker Engine, the CLI, Compose, and a friendly GUI in one install.

Installing on Mac & Windows

Install Docker Desktop: on Mac drag it to Applications; on Windows run the .exe (WSL 2 may be needed). Then launch it and watch for the whale icon.

Installing on Linux Systems

On Linux you install Docker Engine through your package manager — apt, dnf, or yum. Always check the official docs for your exact distro.

Verify Your Docker Install

Confirm the install worked. Run docker --version in your terminal to print the Docker client version.

docker --version

Docker System Info

Need the full picture? docker info dumps server version, storage driver, and config details — perfect for troubleshooting your environment.

docker info

Getting Images: `docker pull`

Before you can run anything you need an image. docker pull downloads one from a registry like Docker Hub to your local machine.

docker pull hello-world

Run Your First Container!

docker run creates and starts a container from an image, pulling it first if it's missing. The command below runs the classic hello-world.

docker run hello-world

See Running Containers: `docker ps`

docker ps lists your running containers. Add the -a flag to include stopped ones too, like that hello-world that already exited.

docker ps -a

Check Your Understanding

It's time for a quick check on the commands we've just covered.

Recap: Docker Installed & Ready!

Recap: you can install Docker, verify it with docker --version and info, and use pull, run, and ps to fetch images and manage containers.

無料で開始

AI チューターと学ぶ Docker & Kubernetes for Developers — 無料

ブラウザでリアルコードを書いて実行し、24/7 の AI チューターから瞬時にサポートを受け、ウェブまたはアプリで続きから学習できます。

コース
12
レッスン
48

よくある質問

「Dockerのインストールと基本コマンド」レッスンは無料ですか?

はい。「Dockerのインストールと基本コマンド」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Docker & Kubernetes for Developersコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Docker & Kubernetes for Developersコースには全4レッスンが含まれています。

「Dockerのインストールと基本コマンド」で何を学びますか?

システムにDockerをインストールし、`docker run`、`pull`、`ps`などの基本コマンドを実行する方法を学びます。 ブラウザで直接実行するハンズオンコードでDocker & Kubernetes for Developersを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

Docker & Kubernetes for Developersを始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのDocker & Kubernetes for Developersは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン2/4です。

「Dockerのインストールと基本コマンド」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このDocker & Kubernetes for Developersレッスンでコードを書いて実行できますか?

はい。すべてのDocker & Kubernetes for Developersレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. コンテナ化入門
  2. Dockerのインストールと基本コマンド
  3. 初めてのコンテナを実行する
  4. Dockerイメージとコンテナの管理
← Docker & Kubernetes for Developersに戻る