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?

More than 1 year has passed since last update.

Windows10にDocker Desktopをインストールする

Last updated at Posted at 2024-04-11

開発環境

  • Windows10 Pro(64bit)
  • WSL 2

1.公式サイトへアクセス

2.右上の今すぐ始めるボタンをクリック
image.png

3.Dockerのインストール方法を学ぶボタンをクリック
image.png

4.左サイドバーのInstall Docker Desktop - Install On Windowsをクリックし、Docker Desktop for Windowsボタンをクリックすると、インストーラのダウンロードが始まります。
image.png

5.ダウンロードしたインストーラを実行
image.png

6.そのままの状態でOKボタンをクリックすると、インストール開始
image.png

7.終了したらCloseボタンをクリック
image.png

8.Docker Desktopを初回に起動したら、以下の画面が出てくるので、Acceptボタンをクリック
image.png

9.Skip serveyをクリック
image.png

起動時に、Starting中のまま、勝手にシャットダウンしても、もう一度起動すると、そこからはうまく起動しました。また、その際に、Docker Desktop - Ubutu WSL integration with distro 'Ubuntu' unexpectedly stopped. Do you want to restart it? というメッセージが出ても、Skip Ubuntu WSL distro を押して、無視しました。

10.起動完了後に、welcome-to-dockerイメージをPullして、起動し、localhost:8080へアクセスする
image.png

11.以下のような画面が出たら成功
image.png

Docker Desktopを停止させても、コマンドプロンプト上で、Dockerを使用することはできます。(バージョン情報は表示できますが、イメージをPullしたり、コンテナを起動するなどの基本的な機能は、Docker Desktopを起動しないといけません)以下、Dockerのバージョンをチェック。

docker -v

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?