Jump to content
Sign in to follow this  
buzzkillb

Install Docker and Docker-Compose on Raspbian

Recommended Posts

334

500 posts
1223 BF$

About time to break out the Raspberry Pi4 4gb again and play around in docker with docker-compose.

Install Docker

curl -sSL https://get.docker.com | sh

Change permissions for your user account, probably pi

sudo usermod -aG docker pi

reboot or logout so you don't have to sudo for docker commands and then test that worked

docker run hello-world

Now install docker-compose

sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo apt-get remove python-configparser
sudo pip3 install docker-compose

Test docker-compose worked

docker-compose

image.png.28a2a6caba4d68047072ad089f426f61.png

  • Like 1

If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...