how to teleport config on a docker container

Hello

I would like to use teleporter command on a docker host for a specific pihole container.
With that it would be easy to save pihole backup's on a nas for instance.

Thx

Run the following command from within your Pi-hole container:

sudo pihole-FTL --teleporter

Is there a possibility to do following?

docker exec -it container pihole-FTL --teleporter

to save the zip on the docker host?

Sure, save the zip file in the mounted storage.

pihole-FTL --teleporter leaves the zipfile in the current working directory. If you have /etc/pihole/ mounted in as a storage location then run

docker exec --workdir /etc/pihole pihole pihole-FTL --teleporter

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.