Installing Portainer
Hi all,
I'm trying to install Portainer and have found many resources here but I cannot get it to respond to HTTP requests. I am on a vLAN and wondered if that had any bearing on it.
The command I used to install was from here https://homenetworkguy.com/how-to/install-pihole-on-raspberry-pi-with-docker-and-portainer/ and was:
docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --restart always portainer/portainer
I then found elsewhere that instead of defining the port I should run:
docker run -d --net=host -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data --restart always portainer/portainer
I ran a docker clean up beforehand, so only ever one portainer was live. When I visit HTTP://[firewalla IP]:9000 I just get the browser telling me the connection was refused. I checked it was running with docker ps and received:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
afff61d339c8 portainer/portainer "/portainer" 22 minutes ago Up 21 minutes happy_bose
I'd really appreciate a little hand-holding please!
Please sign in to leave a comment.
Comments
2 comments