title: a sandbox-scoped allow rule and the policy list after it
source: manuals/docker-sandboxes-101/capture/out/09-allow.txt
lang: console
note: Read the scope in the first reply and the host count in the list.
---
$ sbx policy allow network --sandbox m101-policy example.com
Rule added to policy local (scope: sandbox:m101-policy): <uuid> (example.com [tcp])
[exit 0]

$ sbx policy ls m101-policy
Policy for sandbox: m101-policy
NETWORK
  allow 195 hosts from <uuid>, local-policy

FILESYSTEM
  read allow all paths from local-policy
  write allow all paths from local-policy

Details: sbx policy ls m101-policy --wide
[exit 0]
