$ sudo fdisk -l
Revisar el tamaño que coincida con el tamaño total de la micro SD y las particiones. Debe tener dos particiones. Por ejemplo
Disco /dev/sdc: 14,86 GiB, 15931539456 bytes, 31116288 sectores
#!/usr/bin/env bash | |
# | |
# Copy this archive to /etc/init.d/pihole-FTL and later run | |
# chmod +x /etc/init.d/pihole-FTL | |
# systemctl daemon-reload | |
# | |
# Assuming /tmp is a tmpfs | |
# | |
### BEGIN INIT INFO |
version: "3.6" | |
# Docker compose para Mi server | |
# Doc en: https://docs.docker.com/compose/compose-file/ | |
services: | |
pihole: | |
container_name: pihole | |
#image: pihole/pihole:latest | |
image: pihole/pihole:v5.0 | |
ports: | |
- "53:53/tcp" |
address=/101com.com/0.0.0.0 | |
address=/101order.com/0.0.0.0 | |
address=/123found.com/0.0.0.0 | |
address=/123freeavatars.com/0.0.0.0 | |
address=/180hits.de/0.0.0.0 | |
address=/180searchassistant.com/0.0.0.0 | |
address=/207.net/0.0.0.0 | |
address=/20a840a14a0ef7d6.com/0.0.0.0 | |
address=/247media.com/0.0.0.0 | |
address=/24log.com/0.0.0.0 |
# Spotify Ads host | |
0.0.0.0 adclick.g.doublecklick.net | |
0.0.0.0 adeventtracker.spotify.com | |
0.0.0.0 ads-fa.spotify.com | |
0.0.0.0 analytics.spotify.com | |
0.0.0.0 audio2.spotify.com | |
0.0.0.0 b.scorecardresearch.com | |
0.0.0.0 bounceexchange.com | |
0.0.0.0 bs.serving-sys.com | |
0.0.0.0 content.bitsontherun.com |