User, Administrator
- From the location that contains the AppCenter binary file, log into AppCenter using the command-line interface.
-
Run the command appcenter apps
<host.url>. For example:
appcenter apps appcenter.jem.ac.ter.io
Optional command flags for appcenter apps include the following:Flag Description Example -h Help for appcenter apps appcenter apps -h
--per-page <number> List the specified number of apps per page appcenter apps --per-page 5
--page <number> Go to a certain page of apps other than the first page appcenter apps -page 2
-p Display apps in a formatted list view appcenter apps -p
Here is an example of an app list result:
appcenter apps appcenter.env.company.com --per-page 2 --page 1 -p [ { "name": "kts-jupyter", "ephemeral": false, "cpus": 0.1, "memory": 600, "icon": "arrow_drop_down_circle", "color": "pink-600", "owners": { "users": [ "sp186129" ], "groups": [] }, "collaborators": { "users": [], "groups": [] }, "app_id": "1c4a83c2-5b16-4895-a1ea-ebe44fa51e8c", "app_type": "custom", "config": { "PATH": { "type": "text", "required": false, "default": "/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }, "LANGUAGE": { "type": "text", "required": false, "default": "en_US.UTF-8" }, "XDG_CACHE_HOME": { "type": "text", "required": false, "default": "/home/jovyan/.cache/" }, "SHELL": { "type": "text", "required": false, "default": "/bin/bash" }, "DEBIAN_FRONTEND": { "type": "text", "required": false, "default": "noninteractive" }, "LC_ALL": { "type": "text", "required": false, "default": "en_US.UTF-8" }, "CONDA_DIR": { "type": "text", "required": false, "default": "/opt/conda" }, "NB_UID": { "type": "text", "required": false, "default": "1000" }, "LANG": { "type": "text", "required": false, "default": "en_US.UTF-8" }, "NB_USER": { "type": "text", "required": false, "default": "jovyan" }, "HOME": { "type": "text", "required": false, "default": "/home/jovyan" } }, "installed_by": "abc12345", "install_time": "2019-10-17T17:07:48.895Z", "last_updated_by": "abc12345", "last_updated_time": "2019-10-17T17:08:22.207Z", "public": true, "last_version_status": "succeeded", "tag_names": [], "app_state": "running", "favorite": false, "access_url": "https://kts-jupyter.env.company.com", "versions": { "v1": { "image_tag": "latest", "registry": "quay.ac.vam.io", "image": "appcenter_apps/jupyter", "containerPort": "8888", "exposedPorts": [ "8888" ] } } }, { "name": "kts-nginx", "ephemeral": false, "cpus": 0.1, "memory": 600, "icon": "format_italic", "color": "light-blue-700", "owners": { "users": [ "sp186129" ], "groups": [] }, "collaborators": { "users": [], "groups": [] }, "app_id": "3a62b2a6-4b0b-4235-959c-e4eg7f5b82b8", "app_type": "custom", "config": { "PATH": { "type": "text", "required": false, "default": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }, "NJS_VERSION": { "type": "text", "required": false, "default": "1.13.1.0.1.10-1~stretch" }, "NGINX_VERSION": { "type": "text", "required": false, "default": "1.13.1-1~stretch" } }, "installed_by": "sp186129", "install_time": "2019-10-17T17:02:46.807Z", "last_updated_by": "sp186129", "last_updated_time": "2019-10-17T17:03:07.369Z", "public": true, "last_version_status": "succeeded", "tag_names": [], "app_state": "running", "favorite": false, "access_url": "https://kts-nginx.env.company.com", "versions": { "v1": { "image_tag": "latest", "registry": "sdartifact.td.company.com:7002", "image": "pkgs-generic-snapshot-sd/uda/company/company-tests/nginx", "containerPort": "80", "exposedPorts": [ "80" ], "image_pull_secret_name": "kts-nginx-1" } } } ]