Skip to content

Commit 20f9196

Browse files
authored
Merge pull request #193 from eyakubovich/ey/fix-enclaver-run
Launch container in privileged mode
2 parents 788de00 + e5db359 commit 20f9196

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

enclaver/src/constants.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub const HTTP_EGRESS_VSOCK_PORT: u32 = 17002;
1616

1717
// Default TCP Port that the egress proxy listens on inside the enclave, if not
1818
// specified in the manifest.
19-
pub const HTTP_EGRESS_PROXY_PORT: u16 = 9000;
19+
pub const HTTP_EGRESS_PROXY_PORT: u16 = 10000;
2020

2121
// The hostname to refer to the host side from inside the enclave.
2222
pub const OUTSIDE_HOST: &str = "host";

enclaver/src/run_container.rs

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ impl RunWrapper {
8181
cgroup_permissions: Some(String::from("rwm")),
8282
}]),
8383
port_bindings: Some(port_bindings),
84+
privileged: Some(true),
8485
..Default::default()
8586
}),
8687
exposed_ports: Some(exposed_ports),

0 commit comments

Comments
 (0)