I am on Ubuntu 22 have just installed Docker and Portainer, when I try to access it via IP:9000, I get a timeout message:

timeout message

"New Portainer installation Your Portainer instance timed out for security purposes. To re-enable your Portainer instance, you will need to restart Portainer.

For further information, view our documentation."

At portainer.io forum people recomend the a command:

sudo docker start portainer

No result.

Also repeating the commnad: sudo docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

Only got a message on my SSH saying I would install another portainer, which I don't need.

On youtube tutorials, they open the IP immediately after installation, whithout the timeout bug.

Any clue?

3 Answers

I ran:

sudo docker restart portainer 

and it worked.

1
  1. First stop portainer

    docker stop portainer

  2. Start portainer, again

    docker start portainer

For a reason I do not know, when I just restarted portainer, the prompt (see screenshot above) still persisted.

docker stop CONTAINER ID
docker start CONTAINER ID

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.