minor fix: docker run with detached
This commit is contained in:
		
							parent
							
								
									f6ff849e75
								
							
						
					
					
						commit
						2f84ee60d4
					
				| @ -15,7 +15,7 @@ pub async fn deploy_enclave( | |||||||
| 
 | 
 | ||||||
|     info!("Deploying enclave: {:?}", enclave_path); |     info!("Deploying enclave: {:?}", enclave_path); | ||||||
|     let docker_deploy_str = format!( |     let docker_deploy_str = format!( | ||||||
|         r#"docker run --name {container_name_uuid} -v {enclave_path}/enclave_packager:/enclave_packager \ |         r#"docker run -d --name {container_name_uuid} -v {enclave_path}/enclave_packager:/enclave_packager \ | ||||||
|         --device /dev/sgx/enclave --device /dev/sgx/provision {port_maping_string} noormohammedb/occlum-enclave:v1"#
 |         --device /dev/sgx/enclave --device /dev/sgx/provision {port_maping_string} noormohammedb/occlum-enclave:v1"#
 | ||||||
|     ); |     ); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user