Skip to content

Create Templates from Console

Dilshat edited this page Jun 12, 2018 · 8 revisions

This document describes steps that should be performed to build a custom Subutai template based on the Debian Stretch image using the Subutai Console. Power users or admins may prefer the Create Templates from CLI guide.

Prerequisites

In order to be able to create a custom template, you must make sure that you set your PGP key in the User Identity -> Account settings section. The same key must be registered on Bazaar in User Settings area! Use Subutai E2E browser plugin for this (https://docs.subutai.io/Products/Bazaar/27_E2E_plugin.html).

Create subutai environment

To create a custom template, you need to choose a parent template from the list of available templates and create a single container environment out of it:

  1. In Environment > Environments section select a parent template in the list on the right side bar (in our case it is debian-stretch).

  2. Click on it, its icon should be placed on the environment design area.

  3. Click "Apply" button and enter the name of a future environment, then click "Build" button.

  4. When environment is built, click on its name in the table below the design area to move to Environment -> Containers section.

  5. You can access container via SS Console by clicking on the container name, or using our Tray (https://github.com/subutai-io/tray/wiki/User-guide) application. Then you can install required software and perform necessary configuration inside the container.

  6. Go brack to Environment -> Containers section and select our environment, its single container shold be displayed. Next to the container under "Options" category select "Create template" option, a template creation dialog should pop up.

  7. In the dialog, you can enter the name of a future template and version. Click "Create" button. The operation will take some time.

  8. Close the dialog upon template creation, and go to Environment -> Environments section. You may have to refresh the page to see your template in the templates list on the right side bar under category "Own".

Clone this wiki locally