This repo help you about how you may give instructions on setting up your local environment to work with containers in WSL2.
- Launch the next command in a Powershell terminal opened like Administrator:
wsl --install -d Ubuntu-20.04
- Continues in Admin Powershell terminal and launch:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Reboot your computer and launch the last config command:
wsl.exe --set-version Ubuntu-20.04 2
Current options when you execute the next command:
$ ./menu.sh
1) Podman
2) Quit
Please select your choice:
Please select your choice: 1
1) Install Podman + Docker Compose
2) View all
3) Stop containers
4) Prune images
5) Remove containers
6) Remove images
7) Clean all
8) Quit
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install podman docker-compose