# zshot-apparmor

Source: https://zshot-cli.com/reference/docker/files/zshot-apparmor/
Markdown: https://zshot-cli.com/reference/docker/files/zshot-apparmor/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [Docker](https://zshot-cli.com/reference/docker/) › [Files](https://zshot-cli.com/reference/docker/files/)

An unconfined profile that grants `userns` to `/usr/lib/zshot/zshot`, which keeps Chromium's [sandbox](/reference/docker/hardening) on where unprivileged user namespaces are restricted, as on Ubuntu 24.04 and later. The images also ship it at `/usr/share/zshot/zshot-apparmor`.

Download: https://zshot-cli.com/deploy/zshot-apparmor

```
# AppArmor profile for zshot: unconfined, with the user namespace Chromium's
# sandbox needs where kernel.apparmor_restrict_unprivileged_userns is set, as
# on Ubuntu 24.04 and later. Load on each node with
#   sudo install -m 644 zshot-apparmor /etc/apparmor.d/zshot
#   sudo apparmor_parser -r /etc/apparmor.d/zshot
abi <abi/4.0>,
include <tunables/global>

profile zshot /usr/lib/zshot/zshot flags=(unconfined) {
  userns,

  include if exists <local/zshot>
}
```

## Related

Topics:

- [Kubernetes](https://zshot-cli.com/reference/docker/kubernetes/) — Loading it on each node
- [Raw file](https://zshot-cli.com/deploy/zshot-apparmor)

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Devices](https://zshot-cli.com/reference/devices/)
  - [Docker](https://zshot-cli.com/reference/docker/)
    - [Environment](https://zshot-cli.com/reference/docker/environment/)
    - [Hardening](https://zshot-cli.com/reference/docker/hardening/)
    - [Kubernetes](https://zshot-cli.com/reference/docker/kubernetes/)
    - [Railway](https://zshot-cli.com/reference/docker/railway/)
    - [Files](https://zshot-cli.com/reference/docker/files/)
      - [docker-compose.yml](https://zshot-cli.com/reference/docker/files/docker-compose/)
      - [zshot-seccomp.json](https://zshot-cli.com/reference/docker/files/zshot-seccomp/)
      - [kubernetes.yml](https://zshot-cli.com/reference/docker/files/kubernetes/)
      - **zshot-apparmor**
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
  - [npm](https://zshot-cli.com/reference/npm/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

