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.
Thank you sir, it works
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
Thanks it solved the problem. By the way what’s the underlying issue of the failure?