Portainer: How to Fix “Unable to retrieve image details”

I cannot access container’s console in Portainer. When click Console link, it showed error message “Unable to retrieve image details”.

To fix this, I remove Portainer image and pull again with portainer/portainer-ce:sts image.

Use the following commands to stop then remove the current Portainer. Your other applications/containers will not be removed.

# docker stop portainer

# docker rm portainer

Download portainer/portainer-ce:sts image (community edition):

# docker pull portainer/portainer-ce:sts

Finally, deploy the Portainer:

# docker run -d -p 9000:9000 -p 9443:9443 –name=portainer –restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:sts

Open browser, go to http://localhost:9000 or https://localhost:9443 to access Portainer.

3 thoughts on “Portainer: How to Fix “Unable to retrieve image details”

  1. Worked!
    Just that my docker run command was different;
    docker run -d -p 8000:8000 -p 9443:9443 –name portainer –restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:sts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.