1. はじめに
WindowsServerのコンテナを試してみたいと思って、Windows10 Proの20H2の環境で試してみたのですが、 「ERROR: image operating system “windows” cannot be used on this platform」というエラーが表示されました・・・

https://hub.docker.com/_/microsoft-windows-servercore
エラーの原因を調べたところ、どうもWindowsベースのコンテナはWindowsServer2016上でしか動かないという事らしいです。
なので、とりあえずWindowsServer2-16の評価版を使ってHyper-V上に仮想マシンとして作成したいと思います。
2. WindowsServer評価版を取得
マイクロソフトの「Evaluation Center」のページから取得します。
https://www.microsoft.com/ja-jp/evalcenter/evaluate-windows-server

ISOファイルが7GB近くありますのでそれなりに時間かかります。
3. Hyper-V上で仮想マシンを構築
ISOファイルがダウンロードできたらHyper-Vから仮想マシンを作成していきます。
ここら辺は適当に・・・






4. WindowServer2016のインストール
仮想マシンが作成できたら、起動してOSをインストールします。


無事に作成できました。

今回は以上となります。
コメント