User, Administrator
- From the location that contains the AppCenter CLI, log into AppCenter using the command-line interface.
-
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