I use Windows 10 Home on my laptop, so docker integration is a challenge, espescially running all the builds written in shell scripts won’t run nicely on Ubuntu on Windows or MSYS2.
So I’ve had to fallback on installing ubuntu on virtualbox, with docker and gcloud-sdk. I’ve documented the steps below.
Get Xubuntu 16.04 ISO. Xubuntu is lightweight and provides a standard desktop. Ubuntu or other flavours should also work.
Config suggested for guest:
- Min Disk: 30GB
- RAM: 2GB
- LVM Partitioning
- Xubuntu desktop installer
Devices->Shared Clipboard->Host to Guest
- Insert Guest Additions ISO
- Run /media/am/VBox_…/autorun.sh
sudo apt-get update -y
sudo apt-get install aptitude vim emacs -y
Install instructions are here Installl Docker CE on Ubuntu
Add current user to docker group, and verify that it works
sudo usermod -aG docker $USER
Reboot ubuntu for changes to take effect.
Verify that the changes work
docker run hello-world
See Post-install step for linux for further details.
See instructions at Install Docker Compose for Linux
Install instructions are here Install gcloud-sdk on Ubuntu
Use this gist to setup multiple keys if required.
Github multiple ssh keys
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
For details see instructions at Install nodejs via package manager
Take a backup of the VM folder if you have space, so that you don’t need to go through these steps again. You can just start from a clean copy where all tools are setup.