Skip to content

Instantly share code, notes, and snippets.

@olygood
Last active September 22, 2021 20:07
Show Gist options
  • Save olygood/5cd5a9cbdbe204d6cf465309ccc2cb02 to your computer and use it in GitHub Desktop.
Save olygood/5cd5a9cbdbe204d6cf465309ccc2cb02 to your computer and use it in GitHub Desktop.
virtualisation windows 10 for docker
activer la virtualistaion du bios (important)
download wsl 2 update
panneau de configuration / activé désactivé des fonctionnalités windows /
hyper v / activé
sous systeme windows pour linux /activé
attention j'ai desinstaler le debogeur visual studio a cause des deux fenetre d'erreur mais faut peut etre la réactiver
telecharge une sistribution linux (debian,ubuntu, etc ..) et lance la une fois
powershell wsl -l -v regarder les version installer elles doivent être en VERSION 2
PS C:\Users\olygo> wsl -l -v
NAME STATE VERSION
* docker-desktop Running 2
Debian Stopped 1
docker-desktop-data Running 2
Ubuntu-20.04 Stopped 1
installl docker desktop for windows
parametre/ generale / Use the WSL 2 based engine / coché
parametre/ resources /wsl integration/ voir les distribution linux / avec quel distri linux on vey integrer docker
fsutil behavior set disableencryption 1
fsutil behavior set disablecompression 1
ligne de commande
wsl :
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all
wsl2 :
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment