Open vprovaggi opened 1 year ago
@felipecruz91 May you help with this one?
@vprovaggi @aborroy I missed this notification.
To get the host arch, use the ddClient.host.arch
SDK API method described here. It returns the operating system CPU architecture.
See https://nodejs.org/api/os.html#osarch to find out all the possible values.
To assess the type of architecture of the host we invoke the info on docker cli.
const result = await ddClient.docker.cli.exec('info', [ '--format', '"{{json .}}"', ]);
Which are the possible values of the field Architecture?
So far this is they type we are using
arch: 'none' | 'x86_64' | 'aarch64';
To assess the type of architecture of the host we invoke the info on docker cli.
Which are the possible values of the field Architecture?
So far this is they type we are using