Egress allowlist
A list of the outbound network destinations a machine is allowed to reach; everything else is blocked.
Most data leaves a compromised environment over the network. Limiting outbound traffic to the registries, APIs, and internal services a workload actually needs closes the easiest exfiltration path.
Where the policy is enforced matters. Rules inside the guest can be changed by anything with root in the guest. Rules on a proxy outside it cannot.
In Dock
On a fleet host, a dock reaches the public internet by default, with private ranges, cloud metadata and other docks blocked. An admin can give an environment an allowlist; its docks then reach only those hosts, over HTTPS, through a proxy on the host outside the dock. Docks started by GitHub runs are confined this way by default. Local docks have no allowlist: network is on (the default) or off, and with it on a local dock blocks your machine's localhost by default. That block is enforced inside the guest, so root in the dock can lift it; use --network off for untrusted code.
Start a dock in a minute.
Self-host Dock for free, or join the waitlist for Dock Cloud.