手順
基本はこの手順で OK
https://qiita.com/zeffy1014/items/dda78f4ab0449989dfe1
詰まりポイント
Docker Quickstart Terminal を実行すると、「CPCの仮想化を有効にしろよ」って怒られる。
Running pre-create checks...
Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"
Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...
タスクマネージャーで確認。
有効化されてる。
どお゛じでえ゛え゛え゛
使用CPU
AMD Ryzen 7 3700X 8-Core Processor
調べる
参考:
https://hepokon365.hatenablog.com/entry/2019/07/28/012617
https://github.com/docker/toolbox/issues/873#issuecomment-583378427
CPU が悪いのか tool 側が悪いのか、このバージョンからは動かない って問題があるらしい
解決する
The latest version WITHOUT this bug is DockerToolbox-18.09.0.exe so I assume that the bug was introduced in DockerToolbox-18.09.1.exe and it still remains in current release.
https://github.com/docker/toolbox/issues/873#issuecomment-583378427
らしいので、入ってるものをアンインストールして、DockerToolbox-18.09.0.exe をインストールする。
(ここで Chocolatey の存在を知ったので、ここからはコマンド操作)
PS choco install -y docker-toolbox --version 18.09.0
shell を再起動して
docker-machine create -d virtualbox toolbox
PS docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
toolbox - virtualbox Running tcp://192.168.99.100:2376 v19.03.12
動いた!