[sgx@sgx-emr02 test]$ ./aconcli status --nologin
Total Runing ACON VMs: [1246473]
Inspect Virtual Machine: 1246473
2024/06/13 13:51:00 Service: Connecting :5532
******* TLS *******
e244c4efd3a8efd96f26332cc679018e58747085199c2219bbc0f7abf07ff9bad71c6599ef404c36dc9085cd012647aa
******* TLS *******
Total 1 ACON container(s) in VM :5532
[0] Instance ID: 2
Instance state: S
Instance wstatus: 0
Instance bundle ID: sha384/147157f71c3b/42e8a94a71a2
Instance exe path: sh[/bin/sh]
Below is the invoke output:
[sgx@sgx-emr02 test]$ ./aconcli invoke -c :5532 -e 1246473 Whoami --nologin
2024/06/13 13:50:13 Service: Connecting :5532
******* TLS *******
e244c4efd3a8efd96f26332cc679018e58747085199c2219bbc0f7abf07ff9bad71c6599ef404c36dc9085cd012647aa
******* TLS *******
Invoke: cannot call 'invoke' service: Invoke: error read response: http status: 400 Bad Request
Error: Invoke: error read response: http status: 400 Bad Request
Usage:
aconcli invoke custom_command [args]... [flags]
Flags:
-c, --connect string protocol/address of the ACON TD/VM
-e, --container uint32 the ACON container to execute the custom command
-h, --help help for invoke
-i, --input string optional file serving as stdin to the command
-s, --size uint capture up to this number of bytes of the command output (default 131072)
-t, --timeout uint capture up to this number of seconds of the command output (default 30)
Global Flags:
-C, --directory string change working directory before performing any operations
--nologin if set, login as an anonymous user
This is the instance staus log
Below is the invoke output: