sandbox
Sandbox is a TypeScript-first Node.js library for spawning libkrun-backed microVMs.
File Explorer
- config.toml
- ci.yml
- image-release-publish.yml
- image-release-reconcile.yml
- release.yml
- settings.json
- dns.rs
- egress.rs
- async_bridge.rs
- block_storage.rs
- config.rs
- control.rs
- http_flow.rs
- http_interception.rs
- lib.rs
- mounts.rs
- network.rs
- network_service.rs
- rootfs_image.rs
- runtime.rs
- vfs.rs
- build.rs
- Cargo.toml
- blob_block.rs
- host_vfs.rs
- main.rs
- Cargo.toml
- main.rs
- Cargo.toml
- init-placeholder.bin
- lib.rs
- Cargo.toml
- libkrun
- libkrunfw
- 0001-macos-virtiofs-identity-metadata.md
- architecture.md
- kernel-build.md
- libkrun-fork-notes.md
- libkrunfw-fork-notes.md
- testing-strategy.md
- macos-hvf.plist
- Dockerfile
- image.json
- package.json
- Dockerfile
- image.json
- package.json
- Dockerfile
- image.json
- package.json
- Dockerfile
- image.json
- package.json
- local-host-artifact.ts
- local-image-artifact.ts
- benchmark-e2e-lifecycle.ts
- build-host.ts
- build-image-rootfs.ts
- build-init.ts
- build-initrd.ts
- build-kernel.ts
- build-local-image-artifact.ts
- build-rootfs-qcow2.ts
- build-rootfs.ts
- check-github-actions-pinned.ts
- download-release-artifacts.ts
- fixture-cache-keys.ts
- image-manifest.ts
- image-release-digest.ts
- image-release-matrix.ts
- image-release-publish-matrix.ts
- image-release-version.ts
- kernel-artifact-metadata.ts
- prepare-image-npm-packages.ts
- prepare-npm-packages.ts
- publish-image-packages-local.ts
- release-artifact-manifest.ts
- repro-heavy-apk-network.mjs
- sign-host.ts
- test-disk.ts
- artifacts.ts
- cli.ts
- control-codec.ts
- control.ts
- environment-facts.ts
- guest-fetch.ts
- host-process.ts
- index.ts
- launch-options.ts
- memory-fs.ts
- spawn-options.ts
- vfs.ts
- image-release.test.ts
- libkrun-contract.test.ts
- linkage-and-signing.test.ts
- package-release.test.ts
- network-policy.test.ts
- sandbox-api.test.ts
- artifact.ts
- capabilities.ts
- evidence.ts
- guest-control.ts
- http-origin.ts
- rootfs.ts
- run.ts
- build-artifacts.test.ts
- control-codec.test.ts
- control.test.ts
- guest-fetch.test.ts
- native-validation.test.ts
- public-api.test.ts
- .gitignore
- .gitmodules
- Cargo.lock
- Cargo.toml
- CONTEXT.md
- package-lock.json
- package.json
- README.md
- release.package.json
- rust-toolchain.toml
- tsconfig.build.json
- tsconfig.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
interface
View Details ▼
interface
Manage interfaces.
Accessed in configuration mode.
interface vlan {{1}}
Configure a VLAN:
{{no shutdown|shutdown}}
Set an interface to be active or inactive (this is run inside the interface command):
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
npx
View Details ▼
npx
This command is an alias of `npm exec`.
tldr npm exec
View documentation for the original command:
readonly
View Details ▼
readonly
Set read-only shell variables.
readonly {{variable_name}}={{value}}
Set a read-only variable:
readonly {{existing_variable}}
Mark a variable as read-only:
readonly -p
[p]rint the names and values of all read-only variables to `stdout`:
codesign
View Details ▼
codesign
Create and manipulate code signatures for macOS.
codesign --sign "{{My Company Name}}" {{path/to/application_file.app}}
Sign an application with a certificate:
codesign --verify {{path/to/application_file.app}}
Verify the certificate of an application:
signal
View Details ▼
signal
Simplified software signal facilities.
man signal
View documentation for signals in macOS:
