Skip to content

Commit

Permalink
Merge pull request #193 from eyakubovich/ey/fix-enclaver-run
Browse files Browse the repository at this point in the history
Launch container in privileged mode
  • Loading branch information
eyakubovich authored Jul 11, 2024
2 parents 788de00 + e5db359 commit 20f9196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion enclaver/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub const HTTP_EGRESS_VSOCK_PORT: u32 = 17002;

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

// The hostname to refer to the host side from inside the enclave.
pub const OUTSIDE_HOST: &str = "host";
1 change: 1 addition & 0 deletions enclaver/src/run_container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ impl RunWrapper {
cgroup_permissions: Some(String::from("rwm")),
}]),
port_bindings: Some(port_bindings),
privileged: Some(true),
..Default::default()
}),
exposed_ports: Some(exposed_ports),
Expand Down

0 comments on commit 20f9196

Please sign in to comment.