Installing Pi-hole Via Docker Featured Image

Installing Pi-hole Via Docker

This tutorial details the steps necessary to setup a working Pi-hole installation using Docker / Docker Compose. The server I’m using for the purpose of this tutorial is Debian 11 but should also work for Ubuntu or other similar distros. Aside from package installation, this tutorial should work fine with other non-Debian based distros. This tutorial will be updated in the future to reflect changes as necessary.

pihole install debian ubuntu featured

Installing Pi-hole On Debian / Ubuntu Servers

This tutorial details the steps necessary (and a few optional ones) for installing Pi-hole to your device or virtual machine running either Debian or Ubuntu – these instructions should work fine with either option. At the time this tutorial was last edited, the current version of Debian is 11 and the current version of Ubuntu Server LTS is 22.04, however, at this time, Ubuntu 22.04 is not supported by Pi-hole. If you’d like to use Ubuntu, make sure you use version 20.04 instead. If Ubuntu 22.04 becomes supported this document will be updated, if needed, to reflect necessary changes.