AMC command reference: wait

Note: With the latest 1.23.0 release, the Anbox Cloud documentation is moved to https://documentation.ubuntu.com/anbox-cloud/en/latest/. Hence, the information in this discourse post may be obsolete. The documentation posts on discourse will be unlisted and archived shortly.
Discourse will still be used for user engagement and release announcements.

The wait command waits for an instance to reach a specific condition.

amc wait (<app_id> | <instance_id>) --condition <key=value> [options]

The following options are available:

Option Description Default value
-c, --condition Condition in the form of a key=value where key is a supported attribute and value defines what to wait on.
Valid attributes for applications and their versions are published and status and for instances status.
-h, --help Displays help information for the command
-s, --selector Selector to filter the application or instance.
Use --selector version=<version number> to wait on an application version.
-t, --timeout Indicates the maximum time to wait for the operation to complete 5m