Before reading this tutorial you must read:
By the time you read this document, I assume that you have at least one container already created and running.
On CyberPanel Dashboard click Manage Containers under Docker Manager.
This will open the containers page. Where you can launch containers and manage them.
Once launched, rest is self-explanatory. You can:
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)
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:
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.
Warning: This feature is discontinued, visit How to Create High Availability Cluster in CyberPanel Cloud?
CyberPanel Cloud Platform let you set up highly available applications. On the back end Docker containers are used. Before moving forward you need at least 2 CyberPanel instances to create a cluster, later you can add more instances as well. You can use UpCloud for free to set up your environment.
Note: Both of your instances must have Ubuntu 18.04 as operating system.
If you are not already registered, you will first need to register your self on platform. Once registered you can connect two instances from here.
Once you have connected two CyberPanel instances to platform you can navigate to Create Cluster. There you will see something like:
Once all of these settings are configured you can click Create Cluster (It will take some time to complete the setup)
Please note that Data Node will be used to store persistent data for your application, all other nodes just provide compute resources to your cluster, so make sure all these nodes reside on same location. Once setup is completed, navigate to Manage Clusters and make sure your cluster appears there.
Next: Setting up Highly Available Application