AMS Configuration

AMS provides various configuration items to customize its behavior. The following lists the available ones and their meaning.

Name Type Default Description
application.addons string - Comma separate listed of addons every application managed by AMS should use.
application.auto_publish boolean true If set to true AMS will automatically publish new applications versions when they finished the bootstrap process. false disables this.
application.default_abi string - Default Android ABI applications should use. See for a list of available ABIs
application.max_published_versions integer 3 Maximum number of published versions per application. If the number of versions of an application is higher, AMS will automatically clean up older versions.
container.default_platform string - Set to the platform name Anbox should use by default
container.features string - Comma separate list of features to enable (see list below)
container.security_updates boolean true If set to true automatic Ubuntu security updates are applied during the application bootstrap process. false will disable this.
core.proxy_http string - HTTP proxy to use for HTTP requests AMS performs
core.proxy_https string - HTTPS proxy to use for HTTPS requests AMS performs
gpu.allocation_mode string all all tells AMS to allocate all available GPUs on a system to a container and single will only allocate a single GPU.
images.allow_insecure boolean false If set to true this allow accepting untrusted certificates provides by the configure image server
images.auth string - Authentication details for AMS to access the image server. A boolean value will be presented when the item is read indicated if the item is set or not to not expose credentials.
images.url string URL of the image server to use
images.version_lockstep boolean true Put the version of the latest pulled image and the AMS version in a lockstep. This ensures a deployment is not automatically updated to newer image versions if AMS is still at an older version. This only applies for new major and minor but not patch version updates.
node.queue_size integer 100 Maximum size of the queue containing requests to start and stop container per LXD node. Changing the value requires a restart of AMS
node.workers_per_queue integer 4 Number of workers processing container start and stop requests. Changing the value requires a restart of AMS
register.filter string - Comma separate list of tags to filter for when applications are fetched from the application registry. If empty no filter is applied
registry.fingerprint string - Fingerprint of the certificate the registry uses to TLS secure its HTTPS endpoint. Is used by AMS for mutual TLS authentication with the registry
registry.mode string pull Mode the registry client in AMS operates in. Possible values are: manual, pull, push
registry.url string - URL of the application registry to use
scheduler.strategy string spread Strategy the internal container scheduler in AMS is using to distribute container across available LXD nodes. Possible values are: binpack, spread


Some features can be conditionally enabled via AMS.

Virtual Keyboard

The Android virtual keyboard is disabled by default but can be enabled by adding the enable_virtual_keyboard feature, e.g.:

amc config set container.features "enable_virtual_keyboard"

Note that you need to manually update the existing applications for the change to take effect. After the application gets updated, containers that are launched from the latest application version will have the virtual keyboard enabled by default.