Pihole and containers issue

Nov 11, 2023
12
1
8
hello, i am haveing an issue with installing p- hole into a container, i have pasted the error below
i have the container running ubuntu standard 22.04 it has been updated and upgraded
and i am currently running proxmox8.0.3
can someone point me in the right direction?
thanks.

root@PiHole:~# curl -sSl https://install.pi-hole.net | bash

bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token `<'
'ash: line 2: `<head><title>302 Found</title></head>
 
root@PiHole:~# curl -sSl https://install.pi-hole.net | bash

bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token `<'
'ash: line 2: `<head><title>302 Found</title></head>
You are getting a 302 error about URL redirection instead of an install script. Not really related to Proxmox, I think. Maybe browse to that URL yourself and see what you get? Or download the install script manually (using some other system) and copy it to the container?
 
  • Like
Reactions: Moayad
You are getting a 302 error about URL redirection instead of an install script. Not really related to Proxmox, I think. Maybe browse to that URL yourself and see what you get? Or download the install script manually (using some other system) and copy it to the container?
your the best thanks a million! will pi-hole run on all the linux platforms?
 
Last edited: