Last active
August 2, 2017 03:57
-
-
Save wovalle/fa06b9beb3e692ead956 to your computer and use it in GitHub Desktop.
RPI - docker
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
#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