Connect a volume to a container by adding it to a template.


  • Verify that you have a template available. If not, you must first create one.

  • Verify that you have container administrator, container architect, or IaaS administrator role privileges.

  • Verify that at least one host is configured and available for container volume configuration.


  1. Log in to vRealize Automation.
  2. Click the Containers tab.
  3. Click Templates in the left pane.

    An array of icons displays the templates and images that are available for provisioning.

  4. (Optional) Modify the view to show only templates by clicking View: Templates in the upper right header above the icons.
  5. Click Edit in the upper-right section of the template that you want to customize.

    The Edit Template page appears, displaying the container icons, including a blank icon with a plus-sign.

  6. Hover the cursor over the blank icon with the plus sign until the Add Volume icon appears.
  7. Click the Add Volume icon.
  8. Add an existing volume or create and add a new volume.



    Add an existing volume.

    1. Click the Existing check box.

    2. Click inside the Name field to display a list of existing volumes.

    3. Select the volume you want to use and click Save.

    Configure and add a new volume.

    1. Enter a name for the volume.

    2. In the Driver text box, enter the driver of the volume plug-in you want to use. If you are not using an external storage system, enter local.

    3. To add more detailed configuration settings, click the Advanced check box.

    4. Click Save.

    The Add Volume panel disappears and the added volume appears as a horizontal icon below the container icons in the Edit Template page. A volume icon also displays on the bottom border of the container icons.

  9. Connect the volume to a container, by dragging the volume connector icon from the container to any point on the horizontal icon representing the volume.
  10. (Optional) Click on the container path to change the location where the volume is mounted.

What to do next

Provision a Container from a Template or Image