The Containers section is devoted to operating with Docker images and contains the following tabs:
Installing the desired software can be done just in a few clicks - find the required image, choose it to be deployed, select the necessary tag from the list of automatically fetched ones and specify the preferable name of your new Docker®-based environment (or apply the template addition to the existing one).
Tip: The complete guide on Docker containers’ management through the Jelastic Marketplace can be found here.
The list of Docker® templates, which are shown at the Quick Start tab, can be enlarged via your JCA panel through following the next steps:
1. Navigate to its Marketplace section and click on the New installation option inside the Add menu.
2. Then, in the opened code editor, select the Docker option from the Template drop-down list at the top pane.
Edit the strings inside with information, required for the desired Docker® image addition. The following main parameters should be specified:
- application > name - appellation, that will be displayed for this template at the Docker® Containers board
- categories - there are two possible values here, which define the image's availability within the Quick Start tab: the dockers/apps string sets it to be displayed at the Containers board in Marketplace, and the dockers/stacks value means it will be shown in the Select Container frame of the Docker tab inside the environment wizard.
Note: You can additionally define a Docker template to be displayed only for a particular environment layer by extending declared parameter with the corresponding [/layer] suffix, i.e. balancing, app-servers, cache, sqldb, nosqldb and others respectively.
- env - in this section you can state the Jelastic SSL option to be obligatory enabled (by substituting the corresponding false value with true) in a newly created Docker®-based environment with the current image. All the rest of values should not be modified.
- dockerImage >
- name - identifier of the required Docker® image in the repository/image format
- registry - optional parameter for the case this image is located at your custom repository (i.e. not at the central Hub Registry). Thus, if it’s needed, specify your registry’s hostname here
- username and password - optional parameters for image’s access credentials in case it’s private
settings > fields > dockertags > values - here you can state which tags will be available for a user while deploying this Docker® image. The default value is latest, nevertheless, it can be deleted for the whole list of image tags being automatically fetched, so any of them could be chosen before the deployment.
The extended specification on all the available parameters and settings will be provided in the nearest future.
Click on the Save button below the editor when finished.
3. In order to test the deployment process for the added Docker® template before providing it to the end-users, add the following parameter at the end of your dashboard URL:
Herewith, the example link should be substituted with the http:// or https:// URL to the JSON manifest file of your package (the one you’ve edited in the previous step), uploaded wherever in the Internet. This will initiate the process of template installation.
, that such an URL should not contain the question mark "?", otherwise it won't work properly. In this case you'll need to use some URL shortener
4. Finally, choose the added template within the list of Marketplace packages and select Publish in the panel above in order to make it available for your users.
After that, the selected Docker® image will be listed at the Quick Start tab of the Docker® Containers board alongside the default ones.