Unverified Commit 0c447453 authored by kladko's avatar kladko

SKALE-2454-add-logs-to-enclave

parent a776ce9b
...@@ -8,6 +8,8 @@ if [ -f "/dev/random" ] ...@@ -8,6 +8,8 @@ if [ -f "/dev/random" ]
then then
else else
echo "SGX wallet error. No /dev/random."; echo "SGX wallet error. No /dev/random.";
echo "If you are running raw docker without docker compose please make sure";
echo "the command line includes -v /dev/urandom:/dev/random";
exit(1); exit(1);
fi fi
......
...@@ -17,7 +17,7 @@ source sgx-sdk-build/sgxsdk/environment; ...@@ -17,7 +17,7 @@ source sgx-sdk-build/sgxsdk/environment;
Depending on whether you built a docker container or pulled it from docker hub, use the appropriate docker image name (e.g. sgxwallet_base, sgxwalletsim, ...) and execute: Depending on whether you built a docker container or pulled it from docker hub, use the appropriate docker image name (e.g. sgxwallet_base, sgxwalletsim, ...) and execute:
```bash ```bash
sudo docker run -di --network host --device /dev/isgx --device /dev/mei0 --name sgxwallet <sgx-docker-image> sudo docker run -di --network host -v /dev/random:/dev/urandom --device /dev/isgx --device /dev/mei0 --name sgxwallet <sgx-docker-image>
``` ```
This will run the server in a Docker container named sgxwallet This will run the server in a Docker container named sgxwallet
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment