Unable to access portainer

  docker, docker-compose, portainer

I have recently tried adding a portainer container to docker as I am keen to use Duplicati on my server and it seems that Portainer is the easiest way to add it.

I navigate to my_server_ip:9000 but get the error This site can’t be reached my_server_ip took too long to respond.

When I type netstat -tulnp | grep 9000 I get

tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      -                   
tcp6       0      0 :::9000                 :::*                    LISTEN      -  

My docker compose file:-

version: '3.2'

volumes:
  portainer-data:

services:
  portainer:
    image: portainer/portainer-ce:latest
    ports:
      - "9000:9000"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - portainer-data:/data
    restart: always

Any help with this would be much appreciated.

Source: Docker Questions

LEAVE A COMMENT