AlfrescoLabs / alfresco-docker-extension

Experimental Alfresco Docker Extension to deploy ACS Stack
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Investigate possible values for dockerInfo.Architecture #35

Open vprovaggi opened 1 year ago

vprovaggi commented 1 year ago

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';
aborroy commented 1 year ago

@felipecruz91 May you help with this one?

felipecruz91 commented 1 year ago

@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.

abbud666 commented 6 months ago

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';