Skip to content

Instantly share code, notes, and snippets.

@wovalle
Last active August 2, 2017 03:57
Show Gist options
  • Save wovalle/fa06b9beb3e692ead956 to your computer and use it in GitHub Desktop.
Save wovalle/fa06b9beb3e692ead956 to your computer and use it in GitHub Desktop.
RPI - docker
#Download and install raspbian-lite
#Expand filesystem
sudo raspi-config
expand filesystem
sudo reboot
#Test new space
df -H
#(Optional) automatically connect to wifi
#https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
#scan network
sudo iwlist wlan0 scan
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="The_ESSID_from_earlier"
psk="Your_wifi_password"
}
#check if connected
ifconfig wlan0
#Install docker
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
#Install docker-compose
sudo apt-get -y install python-pip
sudo pip install docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment