LoginSignup
0
3

More than 3 years have passed since last update.

Windows 10 proにDocker環境を構築する

Last updated at Posted at 2019-12-19

全体の手順

  1. PCスペックの確認
  2. Hyper-Vの有効化
  3. installerの取得
  4. インストール

PCスペックの確認

  1. [Windows] - [設定] - [システム] -[バージョン情報]
  2. 以下の条件を満たしていることを確認
    • システムの種類:64ビット
    • エディション: Windows10 Pro

Hyper-Vの有効化

  1. [コントロールパネル]-[プログラム]-[windowsの機能の有効かまたは無効化]
  2. Hyper-Vを有効にする
  3. PCを再起動する

image.png

Docker for windows をインストールする

installerをゲットするにははDocker Hubにログインが必要。
IDはpublicリポジトリ名と合わせて表示されるので慎重に考えましょう。

Docker Hub

アカウントを作成してsign inすると
Docker for windowsのインストール案内がでました。

設定は全てdefaultで進めて、install完了後に再起動。
再起動後にPowerShellを起動し、以下のコマンドを実行

docker --version

versionが表示されればinstall OKです

次回

  • Dockerの起動
  • コンテナの作成

参考リンク

Install Docker Desktop on Windows
Docker for Windowsをインストール

0
3
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
3