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
#!/bin/bash | |
# Note that you have to mount VirtualBox Guest Addition First | |
wget -O- https://get.docker.com | sh | |
sudo usermod -aG docker $USER | |
sudo mkdir /media/cdrom | |
sudo mount /dev/cdrom /media/cdrom | |
cd /media/cdrom/ | |
sudo apt install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) | |
sudo ./VBoxLinuxAdditions.run |