Skip to content

Instantly share code, notes, and snippets.

@irman
Last active April 25, 2022 23:04
Show Gist options
  • Save irman/9a283eb12542a23957eb5054403b5e03 to your computer and use it in GitHub Desktop.
Save irman/9a283eb12542a23957eb5054403b5e03 to your computer and use it in GitHub Desktop.

Install WSL2

  1. Run on PowerShell as Administrator:
wsl --install
  1. Restart.

Install Docker

Run on WSL:

sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

Run Lando Hyperdrive (v0.6.1)

Run on WSL and follow instructions:

curl -Ls https://github.com/lando/hyperdrive/releases/download/v0.6.1/hyperdrive > /tmp/hyperdrive \
  && chmod +x /tmp/hyperdrive \
  && /tmp/hyperdrive

References

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