Skip to content

Instantly share code, notes, and snippets.

@dewanggasurya
Last active October 17, 2023 11:14
Show Gist options
  • Save dewanggasurya/9a3ee501287d053ef14ff65ecd08f327 to your computer and use it in GitHub Desktop.
Save dewanggasurya/9a3ee501287d053ef14ff65ecd08f327 to your computer and use it in GitHub Desktop.
Troubleshoot

Windows

🐧 WSL

🐋 Install Docker Without Docker Desktop

Install Docker using WSL CLI

Read : https://docs.docker.com/engine/install/debian/ Edit wsl.conf

sudo nano /etc/wsl.conf

Enable systemd

[boot]
systemd=true

Fix Windows app integration

Enabling systemd reliably broke the ability to execute Windows applications from WSL

 sudo sh -c 'echo :WSLInterop:M::MZ::/init:PF > /usr/lib/binfmt.d/WSLInterop.conf'
sudo systemctl restart systemd-binfmt

Restart WSL

Using powershell as Administrator

wsl --shutdown

Post install action

Read : https://docs.docker.com/engine/install/linux-postinstall/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment