We help IT Professionals succeed at work.

Pihole container on Synology NAS: update without losing config?

janhoedt
janhoedt asked
on
Medium Priority
135 Views
Last Modified: 2019-11-08
Hi,

I'm using PiHole on a Synology NAS in Docker container.
When I go to the PiHole site, it says:
Pi-hole Version v4.3.1 (Update available!) Web Interface Version v4.3 (Update available!) FTL Version v4.3.1

How do I update this Docker container quick & straight forward without losing all my configuration?

Please advise.
J.
Comment
Watch Question

Software Engineer
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
With docker, Without a docker having given an external location where to store stuff, you don't. Even a restart will start from the original.
Docker is not meant to be used like that. LXD containers are, try those if you have them.

This docker: https://hub.docker.com/r/pihole/pihole
Has two volumes (if you configured them using -v on the docker command line, or using portainer or similar management tool)
then the config can be stored outside of the docker container.