Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 334 Bytes

usage.md

File metadata and controls

12 lines (8 loc) · 334 Bytes

Usage

Smoke test from the host

The host reaches the agent through cocoon: cocoon vm exec dials the VM's hybrid-vsock Unix socket and speaks the agent protocol.

cocoon vm exec <vm> -- echo "hello from guest"
echo "world" | cocoon vm exec -i <vm> -- cat

Stdin is attached only with -i; exit codes pass through.