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)
    --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
    --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)
    --wait-timeout duration   how long to wait (default 5m0s)

The global flags work with this command too.