fbpx

Before reading this tutorial you must read:

  1. Getting Started with CyberPanel Docker Manager.

Once Docker is installed, you are ready to search and find images.


Manage Images

 

Once logged into CyberPanel, click Manage Images as highlighted in the image above. It will open the Manage Images window, where you can Search, Pull and Delete images.

Locally Available Images

Once you land on this page, you will see locally available images if any. (Previously pulled)

As you can see image usmannasir/openlitespeed-1.4.42:stable is already locally available on this server. You can Delete or view Image History by clicking the buttons under Action.

Search and Pull Images

On the same page you can also search for images available on Docker Hub (only public images will be shown in the search results).

 

Put name of your image in the search bar so that related images can be fetched. From drop down you can select the tag and pull the image. Once pulled, this image will be listed as locally available.

Manually Pull Images

You can also download images manually via command line and they will be detected and listed as locally available image on Manage Images page. For example you have a private Docker repository, and you want to fetch an image from this repo.

You can login using docker login command on cli and pull the image using docker pull. Both public and private images can be pulled like that.

docker pull usmannasir/openlitespeed-1.4.42:stable

By the end of this tutorial, you already have your desired images locally available, you are now ready to create your first container out of it. 🙂

CyberPanel v1.7.8 and above gives you ability to view and manage Docker container/images.  (Make sure you are on version 1.7.8 or above, you can visit upgrade instructions)

What is Docker?

Docker use containerization technology to make it easy to deploy and run applications. As a developers we use to hear that It works on my computer/environment but it wont work when you deploy the application to production environment. Docker solves this issue by packaging the application code along with all the libraries and dependencies it needs to run. Once you package your application it will run in any environment where docker is available.

CyberPanel gives you the ability to manage your docker container and images the easy way. Some of the exciting features of CyberPanel Docker Manager:

  1. Search and pull images from Docker Hub (Along with tags).
  2. Prune the system.
  3. Create Container from available/pulled images.
  4. List and manage container that includes:
    1. Start/Stop Containers.
    2. View Logs.
    3. Export the file.
    4. View Processes inside the container.
    5. Delete Containers.
    6. Re-create containers.

Docker Installation

Docker is not installed by default (during CyberPanel installation). So when you visit any docker related pages CyberPanel will prompt you to install Docker.

 

 

Under Docker Manager you can click any link such as Manage Images, and it will redirect you to installation page (only if Docker is not already installed)

 

Click Install Now to start the installation process, it will take from few seconds to few minutes. Once installation is completed page will auto-refresh. We are now ready to manage docker images and containers.

Next: 2 - Search/Pull/Download and Manage Docker Images

chevron-down