Skip to content

Commit 2a8645e

Browse files
Merge pull request #178 from TryCli-Studio/dev
security: migrate from gVisor to Kata Containers (Cloud Hypervisor)
2 parents afc4bf6 + b70eb64 commit 2a8645e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/src/services/websocket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async fn handle_socket(mut socket: WebSocket, state: AppState, session_id: Strin
134134
format!("SHELL={}", shell)
135135
]),
136136
host_config: Some(HostConfig {
137-
runtime: Some("runsc".to_string()),
137+
runtime: Some("kata-clh".to_string()),
138138
memory: Some(512 * 1024 * 1024),
139139
nano_cpus: Some(500_000_000),
140140
pids_limit: Some(128),
@@ -317,7 +317,7 @@ async fn run_setup_wizard(mut socket: WebSocket, state: AppState, session_id: St
317317
("managed_by".to_string(), "TryCli Studio".to_string())
318318
])),
319319
host_config: Some(HostConfig {
320-
runtime: Some("runsc".to_string()),
320+
runtime: Some("kata-clh".to_string()),
321321
memory: Some(512 * 1024 * 1024),
322322
memory_swap: Some(1024 * 1024 * 1024),
323323
nano_cpus: Some(500_000_000),

0 commit comments

Comments
 (0)