Raspberry

Lite OS Link to heading

  • How to connect to a new WiFi network
    sudo raspi-config
    # System Options > Wireless LAN
    

Docker Link to heading

Install Link to heading

  1. Download .deb packages

    wget https://download.docker.com/linux/raspbian/dists/bullseye/pool/stable/armhf/containerd.io_1.6.21-1_armhf.deb
    wget https://download.docker.com/linux/raspbian/dists/bullseye/pool/stable/armhf/docker-ce_24.0.2-1~raspbian.11~bullseye_armhf.deb
    wget https://download.docker.com/linux/raspbian/dists/bullseye/pool/stable/armhf/docker-ce-cli_24.0.2-1~raspbian.11~bullseye_armhf.deb
    wget https://download.docker.com/linux/raspbian/dists/bullseye/pool/stable/armhf/docker-buildx-plugin_0.10.5-1~raspbian.11~bullseye_armhf.deb
    wget https://download.docker.com/linux/raspbian/dists/bullseye/pool/stable/armhf/docker-compose-plugin_2.18.1-1~raspbian.11~bullseye_armhf.deb
    
  2. Install

    sudo apt update
    sudo apt install iptables-persistent
    sudo dpkg -i containerd.io_1.6.21-1_armhf.deb \
    	docker-ce_24.0.2-1~raspbian.11~bullseye_armhf.deb \
    	docker-ce-cli_24.0.2-1~raspbian.11~bullseye_armhf.deb \
    	docker-buildx-plugin_0.10.5-1~raspbian.11~bullseye_armhf.deb \
    	docker-compose-plugin_2.18.1-1~raspbian.11~bullseye_armhf.deb
    
  3. Add user to docker group to use without sudo

    sudo usermod -aG docker $USER
    

Home Assistant Link to heading

docker run -d \
	--name <container-name> \
	--privileged \
	--restart=unless-stopped \
	-e TZ=America/Sao_Paulo \
	-v <path-to-config>:/config \
	--network=host \
	ghcr.io/home-assistant/home-assistant:stable

Pi-hole Link to heading

docker run -d \
	--name <container-name> \
	--restart=unless-stopped \
	-e TZ=America/Sao_Paulo \
	-v <path>/etc-pihole:/etc/pihole \
	-v <path>/etc-dnsmasq.d:/etc/dnsmasq.d \
	--network=host \
	pihole/pihole:latest