This repository describes step to install and configure Raspberry Pi 3 running RASPBIAN STRETCH LITE. It details steps to install:
- Configure freshly installed Raspberry Pi
- Enable SSH
- Change locale
- Install
docker
anddocker-compose
- Development tools such as
git
,gcc
, etc.
To install raspbian image on SD card, follow this instruction.
sudo apt-get update
sudo apt-get install
$ sudo raspi-config"
# choose localse and select en_US.UTF-8
$ sudo raspi-config"
# choose Interface
To install docker, just run following script. Sometimes after the installation, it reports some problems. But the installation seems to be complete. Reboot system and try sudo docker ps
.
curl -sSL https://get.docker.com | sh
If you would like to use Docker as a non-root user, you should now consider
adding your user to the docker
group with something like:
sudo usermod -aG docker pi
Install required packages
sudo apt-get install -y python python-pip
Install Docker Compose from pip
sudo pip install docker-compose # to install globally
sudo apt-get install -y build-essential git python vim
Install pip3
for python3
sudo apt-get install python3-pip
More info on how to install python
, read more