Exporting a Docker Registry Image from the Command-Line Interface - Teradata AppCenter

Teradata® AppCenter User Guide

Product
Teradata AppCenter
Release Number
1.8
Published
May 2019
Language
English (United States)
Last Update
2019-10-16
dita:mapPath
nlh1545080689918.ditamap
dita:ditavalPath
boe1555608925945.ditaval
dita:id
B035-1111
lifecycle
previous
Product Category
Analytical Ecosystem
"" 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