Exporting a Docker Registry Image from the Command-Line Interface

Teradata® AppCenter User Guide

brand
Analytical Ecosystem
prodname
Teradata AppCenter
vrm_release
1.8
category
User Guide
featnum
B035-1111-039K
User, Administrator
  1. From the location that contains the AppCenter CLI, log into AppCenter using the command-line interface.
  2. Run the command appctl appcenter export --image <image> -o <filename>. For example:
    appctl appcenter export --image artifactory.io/app:tag -o app.tar
    To push to AppCenter, the image pulled from the registry must have an app_metadata.json file at "/opt/teradata/appcenter", and this file must contain the app JSON object required to create the app. For example:
    {
    "name": "my-app",
    "ephemeral": false,
    "app_type": "custom"
    } 
    
    Optional command flags for appctl appcenter export include the following:
    Flag Description Example
    -h Help for appctl appcenter export appctl appcenter export -h
    -i Image string

    Image pulled from Docker registry

    appctl appcenter export --image artifactory.io/app:tag -o app.tar
    -o Output string, save to file

    Output pulled from registry and AppCenter

    appctl appcenter export --image artifactory.io/app:tag -o app.tar