Enhance logging in deploy_enclave function to include hratls_pubkey
This commit is contained in:
parent
6f92688a3c
commit
0c46e4ad32
@ -14,7 +14,11 @@ pub fn deploy_enclave(
|
|||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
.join(" ");
|
.join(" ");
|
||||||
|
|
||||||
info!("Deploying enclave: {:?}", enclave_path);
|
info!(
|
||||||
|
"Deploying enclave: {:?} with hratls: {:?}",
|
||||||
|
enclave_path, hratls_pubkey
|
||||||
|
);
|
||||||
|
// TODO: docker limit resources
|
||||||
let docker_deploy_str = format!(
|
let docker_deploy_str = format!(
|
||||||
r#"docker run -d --name {container_name_uuid} -v {enclave_path}:/enclave_package \
|
r#"docker run -d --name {container_name_uuid} -v {enclave_path}:/enclave_package \
|
||||||
--device /dev/sgx/enclave --device /dev/sgx/provision \
|
--device /dev/sgx/enclave --device /dev/sgx/provision \
|
||||||
|
Loading…
Reference in New Issue
Block a user