Diagnostic code
ZBX-E0215
can't set up a --mount
- Kind
- error
- Blame
- environment
- Exit code
- 2 (125 in zbx run)
What it means
A --mount is made before the container's command starts: the host path is bound in the container's own /dev, and moved onto its path once the container's root is entered (so the path is read as the container reads it). One of those steps failed; the cause names it and what the kernel said.
With --read-only the path must already exist in the image: nothing can be made in a read-only root. zbx doctor shows what this host allows.
Offline
The same text, without a network:
zbx explain E0215