Last active
December 27, 2018 04:24
-
-
Save justinyoo/db441bcde611e666db392bddbf3c9534 to your computer and use it in GitHub Desktop.
Running Docker and Azure CLI from WSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This doesn't work on WSL - Ubuntu 18.04 LTS | |
# Add repository | |
sudo apt-get install apt-transport-https lsb-release software-properties-common -y | |
AZ_REPO=$(lsb_release -cs) | |
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | \ | |
sudo tee /etc/apt/sources.list.d/azure-cli.list | |
# Install Microsoft signing key | |
sudo apt-key --keyring /etc/apt/trusted.gpg.d/Microsoft.gpg adv \ | |
--keyserver packages.microsoft.com \ | |
--recv-keys BC528686B50D79E339D3721CEB3E94ADBE1229CF | |
# Install Azure CLI | |
sudo apt-get update | |
sudo apt-get install azure-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment