Compare commits

..

3 Commits

Author SHA1 Message Date
293dfef4a0
Fix: enclave archive directory
update enclaves paths
daemon for staging network
enhanced docker command formatting
2025-04-15 15:33:14 +05:30
9d3c0dc2b0 Merge pull request 'Fix: add restart policy to docker run command' (#2) from docker_restart into staging
Reviewed-on: #2
2025-04-15 09:53:41 +00:00
a70f822e75
Fix: add restart policy to docker run command 2025-04-14 17:47:02 +05:30

@ -28,7 +28,7 @@ pub fn deploy_enclave(
// --storage-opt size={disk_mb}m
let docker_deploy_str = format!(
"docker run -d --name {container_name_uuid} --memory={memory_mb}m --cpus={vcpu} \
"docker run -d --restart unless-stopped --name {container_name_uuid} --memory={memory_mb}m --cpus={vcpu} \
-v {enclave_path}:/enclave_package --device /dev/sgx/enclave --device /dev/sgx/provision \
{port_maping_string} noormohammedb/occlum-enclave:v1 {hratls_pubkey}"
);