Skip to content
pols.so docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

pols fork

Fork a sandbox into a new running sandbox with a copy of its disk

Fork a sandbox into a new running sandbox with a copy of its disk

Usage

pols fork SANDBOX [flags]

Flags

    --allow stringArray       CIDR prefix the sandbox may reach (repeatable; requires --egress allowlist)
    --capture-content         record masked command output, typed text and screenshots in the fork's timeline (off by default)
    --egress string           outbound network policy (default the source's): default (public internet), allowlist (only --allow destinations) or none
-h, --help                    help for fork
    --name string             name of the fork (default a generated one like braveotter)
    --no-wait                 return at once instead of waiting for the sandbox to get there
    --secret stringArray      vault entry to add to the source's, as the environment variable of its name (repeatable)
    --ttl duration            delete the sandbox this long after creating it, running or stopped (from 1m to 720h, like 30m or 2h; default never)
    --wait-timeout duration   how long to wait (default 5m0s)

The global flags work with this command too.