WSL2へのDockerインストール


WSL2へのDockerインストール

Docker Desktopをインストール

インストール時

Enable WSL 2 Windows Features

がチェックされている事を確認する。

インストール後歯車アイコンから設定をを起動

Resouces
    Configure which WSL 2 distros you want to access Docker from
        Enable integration with my default WSL distro
    Enable integration with additional distros:
        Ubuntu-20.04

にチェックがついている事を確認
チェックをつけた場合は再起動。

Ubuntu-20.04へログインして動作確認

docker version
docker-compose version