Diagnostic code
ZBX-E0014
not a valid --mount value
- Kind
- error
- Blame
- user
- Exit code
- 1 (125 in zbx run)
What it means
--mount takes HOST:PATH: a directory or file on the host, mounted writable at PATH in the container. HOST may be relative to the working directory, and may hold "." and ".." parts, since where it lands is judged after every symbolic link is followed (see ZBX-E0212). It holds no ':', space or control character and is at most 256 bytes.
PATH is absolute, with parts that are names, at most 256 bytes. It may not be "/", nor /proc, /sys, /dev or below them, nor /etc/hosts, /etc/hostname or /etc/resolv.conf: zbx mounts those itself. The cause names the part that is wrong.
zbx run --mount ./site:/srv python:3.12-slim
Offline
The same text, without a network:
zbx explain E0014