Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rock/admin/proto/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class SandboxStartRequest(BaseModel):
"""Password for Docker registry authentication. When both username and password are provided, docker login will be performed before pulling the image."""
use_kata_runtime: bool = False
"""Whether to use kata container runtime (io.containerd.kata.v2) instead of --privileged mode."""
remove_container: bool = True
"""Whether to remove the container after it stops running."""


class SandboxCommand(Command):
Expand Down
1 change: 1 addition & 0 deletions rock/sdk/sandbox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class SandboxConfig(BaseConfig):
registry_username: str | None = None
registry_password: str | None = None
use_kata_runtime: bool = False
remove_container: bool = True


class SandboxGroupConfig(SandboxConfig):
Expand Down
Loading