basic

command
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Command basic demonstrates running a command under a sandlock sandbox with a read-only root filesystem and a single writable directory.

Build the FFI library first, then run from a sandlock checkout:

cargo build --release
go run ./go/examples/basic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL