Jump to content

Install Docker and Docker-Compose on Raspbian


Recommended Posts

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



  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...