You can use an imported Docker Container template or a Docker Compose YAML file as a custom template in the Containers for vRealize Automation.
About this task
If using a YAML file, enter the content of the YAML file as text or browse to and upload the YAML file. The YAML file represents the template, the configuration for the different containers, and their connections. The supported format types are Docker Compose YAML and Containers for vRealize Automation YAML.
Containers for vRealize Automation YAML is similar to Docker Compose, but it uses the vRealize Automation blueprint YAML format visible in the vRealize Automation REST API or in vRealize CloudClient. The Containers for vRealize Automation YAML allows you to import existing Docker Compose applications and modify, provision, and manage them by using Containers.
Verify that Containers for vRealize Automation is enabled in your supported vRealize Automation deployment.
Log in to the vRealize Automation console as a container administrator.
For information about the YAML format used by vRealize Automation service REST APIs, see vRealize Automation API Reference.
- Click the Containers tab.
- Click Templates in the left pane.
A list displays the templates and images that are available for provisioning.
Configured templates in the Images view.
Existing or custom templates in the Template view.
All available templates and images based on your specified registries in the All view.
The Import and Export options are also available to import or export templates and images.
- Click the Import template or Docker Compose icon.
The Import Template page appears.
- Provide the YAML file content.
Load from File
Click Load from File to browse to and select the YAML file from a directory.
Enter template or Docker Compose
Paste the content of a properly formatted YAML file in the Enter template or Docker Compose text box.
- Click Import.
The new template appears in the Templates view.