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 script installs and configures WSL to work with Docker Toolbox for Windows. | |
# 1. Install WSL (check out [bowinstaller](https://github.com/xezpeleta/bowinstaller) for programmatic installation. | |
# 2. Run the contents of this script in Bash. (copy and paste works fine, no need to save) | |
# | |
sudo -sEH << 'EOM' | |
# Install the docker client and docker-compose | |
apt-get update && apt-get install -y curl ca-certificates | |
curl -sSL https://get.docker.com/ | sh | |
curl -L "https://github.com/docker/compose/releases/download/1.11.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose |