Fixes for Docker issues on Raspberry Pi

I had a very hard time getting docker up and running on Raspberry Pi. I found this article that helped install a working version of docker-compose:

This article helped fix pip-install when it was throwing an exception in the last step in the previous article ("sudo pip install docker-compose"):

Once I did that, I could finally launch docker-compose with pihole.
I hope this helps you. It would have saved me hours.

Did you look at the Pi-Hole docker compose?

Why do you prefer to run Pi-Hole in Docker on the Pi and not natively on the OS (just curious)?

I did try to follow those instructions, but I ran into errors with Docker and docker-compose. I have a Raspberry Pi dedicated to FlightAware and installing pi-hole natively alongside it caused all kinds of issues. Installing pi-hole in a docker container worked after I figured out how to get past the docker and pip issues.

This may stem from python2 now being dead? https://pythonclock.org/

did you originally install python-pip or python-pip3? sudo apt install python3-pip

Anyone running pip2 instead of pip3 at this point is going to have a bad time.

1 Like

I was handcuffed in that I had to start with the PiAware image, so I wasn't sure what was installed.