Anbox ams sdk: How can I use "--enable-graphics" flag

Hello everyone,

I want to use “–enable-graphics” flag when launch a new container with the golang anbox cloud ams SDK, but i don’t found how can I set this flag.

Someone can help me please?

thanks a lot!

This site is not for technical support.
Technical Support

Hey @dfelici87,

the amc command internally sets the Platform configuration option of api.ContainersPost (see https://github.com/anbox-cloud/ams-sdk/blob/master/api/container.go#L224) to the value webrtc. The webrtc platform is what provides graphics setup (also streaming but that is optional).

Effectively a amc launch --enable-graphics .. is the same as amc launch --platform=webrtc ...

Let us know if you need any further clarification!

than you very much for your clarification.

bye!