Creating the Image in Image Builder

You must have an existing blueprint to use for creating an image.

The following task describes how to create a custom image based on a specified blueprint and how to download the resulting composer image.

  1. Create the image with the blueprint specifications.
    sudo composer-cli compose start myblueprint image-type

    For a list of valid image types, see Image Types and Output Formats. Alternatively, type:

    sudo composer-cli compose types

    While the process is running in the background, the composer image's UUID is displayed.

    Use the UUID to track the progress of the image building process with the following command:

    sudo composer-cli compose info image-uuid
  2. After the process ends, check the status of the image.
    sudo composer-cli status image-uuid

    The image's status should indicate FINISHED.

  3. Download the image file.
    sudo composer-cli compose image image-uuid

    To download the image's metadata and logs, type:

    sudo composer-cli compose [metadata|logs] image-uuid