DEV Community


Discussion on: Installing Docker and Docker Compose on the Raspberry Pi in 5 Simple Steps

zuidwijk profile image
Marcel Zuidwijk 

Yep, got this error too and that indeed was the solution. The strange part is that it did worked, till about one or two weeks ago. Now I use this:

$ curl -sSL | sh
$ sudo usermod -aG docker pi
$ sudo apt-get install libffi-dev libssl-dev
$ sudo apt-get install -y python3 python3-pip
$ sudo apt-get remove python-configparser (apparently this isn't installed by using my commands on a clean install)
$ sudo pip3 install docker-compose

rohansawant profile image
Rohan Sawant Author

Updated the post to reflect this. Thanks!