How to Solve Error Message Failure No such image on Deploying Container in Portainer

Posted on

Introduction

This article will show how to solve error message. The error message does have a specific connection with another article. It is an article with the title of ‘How to Run Container from Portainer in Linux CentOS 8 Virtual Server’ in this link. The main purpose is just to deploy an image from DockerHub. It is a specific image of Apache Webserver. But the main problem is the name of that image. Input an image name without checking if the name exist or not will trigger the following error. This is the first attempt for deploying a container using an image with the name of ‘apache-latest:latest :

How to Solve Error Message Failure No such image on Deploying Container in Portainer
How to Solve Error Message Failure No such image on Deploying Container in Portainer

In the end, the deployment process fail. Furthermore, the following is another attempt for deploying a container using an image with the name of ‘apache:latest’. Another message exist as in the following image An error message is : “Failure No such image: apache-latest:latest” as in the following image :

How to Solve Error Message Failure No such image on Deploying Container in Portainer
How to Solve Error Message Failure No such image on Deploying Container in Portainer

Solution

Actually, it is easy to solve it. It is already exist in the other article with the title of ‘How to Run Container from Portainer in Linux CentOS 8 Virtual Server’ in this link. Basically, just select the correct image name. In another article the correct image name for the Apache Webserver exist from DockerHub is ‘httpd:latest’. The following is the image of the correct deployment entry for the Apache Webserver :

How to Solve Error Message Failure No such image on Deploying Container in Portainer
How to Solve Error Message Failure No such image on Deploying Container in Portainer

In order to search for images, just visit the DockerHub web page. It exist in the this link. The following is the display of the DockerHub web page :

How to Solve Error Message Failure No such image on Deploying Container in Portainer
How to Solve Error Message Failure No such image on Deploying Container in Portainer

Search any keyword which is describing the image in the above image at the top left of the page. There is an input field for describing the image for further search process. The following is an example of the search result using the keyword ‘apache’ :

How to Solve Error Message Failure No such image on Deploying Container in Portainer
How to Solve Error Message Failure No such image on Deploying Container in Portainer

Just read the full explanation on deploying Apache Webserver on Portainer in the article with the title of ‘How to Run Container from Portainer in Linux CentOS 8 Virtual Server’ in this link.

Leave a Reply