1. Docker on Linux (Linux containers only)

2. Docker on macOS (Linux containers only)

3. Docker on Windows (Linux containers OR Windows containers !)

edit ‘C:\Users\your_username\.docker\windows-daemon.json’ and change (or add) the next line: “exec-opts”: [“isolation=process”], (with the comma at the end of the line) to activate shared kernel (process) instead of VM (hyperv)

add also the next line: “storage-opts”: [“size=50GB”], (with the comma at the end of the line)

restart Docker

to verify, open ‘cmd.exe’: docker info —> see line ‘Default Isolation: process’ (for shared kernel) and no ‘Default Isolation: hyperv’ (for VM)

Isolation Modes
Docker Linux