Share This
//Installing Docker and Compose on Raspbian Buster

Installing Docker and Compose on Raspbian Buster

Steps to install Docker and Docker-compose on a Raspbian Buster PI.

Quickly update a new Raspberry Pi, which has an install of Raspbian Buster with Docker and Docker-compose.

Docker

This is simple, as the Docker team have done all the work

curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh

And, we can add our user to the Docker group so we do not need the sudo every time. I am using the environment variable $USER; which indicates who is logged in currently. In my case this is the user pi.

sudo usermod -aG docker $USER

Right, that was painful. now reboot the Pi and we are solid.

Docker-Compose

This is actually a Python script. Raspbian Buster is shipped with Python 3.6; so we just need to add PIP3 to install the python packages from pypy

sudo apt-get install -y python3 python3-pip
sudo pip3 install docker-compose

Wow, that was a struggle, lets check we are good

docker-compose --version

Comments

01. About Author

Damian Flynn

I define myself as an evangelist; an entrepreneur & author with an ideology rooted in business insights, technology exploration, pattern analysis and high energy. I envision, theorize and develop system architecture and strategic business platforms, soaked in storytelling and innovative technology.

Find on :

02. Last Posts

05. Categories

Do you want to learn more ?

© / 2020 / All rights reserved.
Get in Touch
Close