mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 14:24:27 +01:00
Merge pull request #6007 from jongwu/single_container
runtime-rs: add Single Container support
This commit is contained in:
@@ -38,7 +38,7 @@ impl ShimExecutor {
|
||||
let (container_type, id) = k8s::container_type_with_id(&spec);
|
||||
|
||||
match container_type {
|
||||
ContainerType::PodSandbox => {
|
||||
ContainerType::PodSandbox | ContainerType::SingleContainer => {
|
||||
let address = self.socket_address(&self.args.id)?;
|
||||
let socket = new_listener(&address)?;
|
||||
let child_pid = self.create_shim_process(socket)?;
|
||||
|
||||
Reference in New Issue
Block a user