0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Windows11】DockerDesktopのインストール手順(2026年7月)

0
Posted at

Dockerのインストール手順

以下の作業で利用するコマンドはPowerShellを利用している。

①DockerDesktopをインストールする。

winget install -e --id Docker.DockerDesktop

image.png

②WSLをインストールする

wsl --install

コマンド実行後、ユーザ名とパスワードの設定を求められる。
その後、ハードウェア情報などの収集に対するオプトインを求められる。必須ではないためここでは"n"としたが、"y"でも問題ない。

image.png

③DockerDesktopを起動する

サインインはSkipでも差し支えない。

image.png

左下にrunningの表示があれば正常に起動されている。

image.png

④Dockerの動作確認

以下2つのコマンドをそれぞれPowerShellで実行し、dockerのバージョンを確認する。

docker --version

docker compose version

以下のコマンドを実行し、Dockerが正常に作動していることを確認する。

docker run hello-world

参考サイト

付録

wslをインストールせずにDockerDesktopをインストールすると、以下の警告が表示されてしまう。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?