mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-24 10:50:28 +01:00
Trailing slashes on volumes fail on newer versions of docker-compose (#949)
* Trailing slashes on volumes fail on newer versions of docker-compose See [Issue 947](https://github.com/pi-hole/docker-pi-hole/issues/947) for the background. This PR proposes removing trailing slashes from all documentation, examples and scripts. Signed-off-by: Phill Kelley <pmk.57t49@lgosys.com>
This commit is contained in:
@@ -46,8 +46,8 @@ echo "Testing $IMAGE with volumes base path $VOLUMES"
|
||||
# Running stock+empty volumes (no ports to avoid conflicts)
|
||||
CONTAINER="$(
|
||||
docker run -d \
|
||||
-v "$VOL_PH:/etc/pihole/" \
|
||||
-v "$VOL_DM:/etc/dnsmasq.d/" \
|
||||
-v "$VOL_PH:/etc/pihole" \
|
||||
-v "$VOL_DM:/etc/dnsmasq.d" \
|
||||
-v "/dev/null:/etc/pihole/adlists.list" \
|
||||
--entrypoint='' \
|
||||
$IMAGE \
|
||||
@@ -92,8 +92,8 @@ assert_new_settings
|
||||
docker rm -f $CONTAINER
|
||||
CONTAINER="$(
|
||||
docker run -d \
|
||||
-v "$VOL_PH:/etc/pihole/" \
|
||||
-v "$VOL_DM:/etc/dnsmasq.d/" \
|
||||
-v "$VOL_PH:/etc/pihole" \
|
||||
-v "$VOL_DM:/etc/dnsmasq.d" \
|
||||
-v "/dev/null:/etc/pihole/adlists.list" \
|
||||
--entrypoint='' \
|
||||
$IMAGE \
|
||||
|
||||
Reference in New Issue
Block a user