Open nshyrei opened 2 years ago
I don't see console read error now, but what happens is that the enclave won't exit and hangs with:
[ 60.505028] Unregister pv shared memory for cpu 1
[ 60.506120] Unregister pv shared memory for cpu 0
[ 60.507034] reboot: Restarting system
[ 60.507642] reboot: machine restart
I am trying to run an enclave in debug mode with attached console using
nitro-cli console
ornitro-cli run-enclave --attach-console
. Every time my enclave exits I get this at the end:My enclave is a simple bash script that runs on Ubuntu and only does
sleep
before exiting, so I am pretty sure that enclave exits successfully. The error itself doesn't interfere with the application, but adds confusion for the user. Is this a proper behavior for the console or it could be fixed?My Dockerfile and script look like this:
sleep 60s