Hi,
Should the volumes, declared here, not be listed under /docker/volumes in het portainer UI?
They are not listed, is this normal? The image works fine…
The ‘docker volume ls’ command, also does not list these volumes…
stack file:
version: “3”
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- “53:53/tcp”
- “53:53/udp”
- “67:67/udp”
- “8080:80/tcp”
environment:
TZ: ‘Europe/Amsterdam’
WEBPASSWORD: ‘XXX’
# Volumes store your data between container upgrades
volumes:
- ‘./etc-pihole/:/etc/pihole/’
- ‘./etc-dnsmasq.d/:/etc/dnsmasq.d/’
# Recommended but not required (DHCP needs NET_ADMIN)
cap_add:
- NET_ADMIN
restart: unless-stopped