Skip to content
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ cargo install --path crates/sandlock-cli
# Basic confinement
sandlock run -r /usr -r /lib -w /tmp -- ls /tmp

# Interactive shell
sandlock run -i -r /usr -r /lib -r /lib64 -r /bin -r /etc -w /tmp -- /bin/sh
# Interactive shell (the sandboxed command inherits the terminal)
sandlock run -r /usr -r /lib -r /lib64 -r /bin -r /etc -w /tmp -- /bin/sh

# Resource limits + timeout
sandlock run -m 512M -P 20 -t 30 -- ./compute.sh
Expand Down
3 changes: 0 additions & 3 deletions crates/sandlock-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ struct RunArgs {
#[arg(short = 'e', long = "exec-shell", value_name = "CMD")]
exec_shell: Option<String>,

#[arg(short = 'i', long)]
interactive: bool,

/// Use a local Docker image as chroot rootfs, given by reference
/// (e.g. `python:3.12-slim`, a digest, or an image id). The image
/// must already be present in local Docker storage; sandlock never
Expand Down
Loading