Expand description
No container runtime socket, pipe or control folder, and no AgentMux data folder (the root ~/.agentmux, its shared
folder, every channel’s and dev build’s data, config, logs and runtime folders), is reachable through any mount of a
container agent, or a folder that holds one (a home folder, the AgentMux root), whichever field the mount comes from (its volumes list, its workspace folder) and whoever wrote it (the
definition, a template, a block’s launch settings, another channel’s registry). Sources are
compared case-insensitively, with \ as /, . and .. resolved, and a link followed where the path exists.
refused_mount is asked once, before an existing container is reused or a new one made; definitions that come in from
outside (the shared registry, an old template) have the entries dropped (without_refused), and a definition saved with
one is refused (refused_in_json).
Functions§
- refused_
in_ json - The first entry of a definition’s
container_volumesthat a container may not mount. - refused_
mount - The first of a container agent’s volumes, or its workspace folder, that it may not mount, as the source (or, for a pipe, the whole entry): a host folder the CLI keeps its sessions in, or a container runtime’s socket, pipe or folder.
- refused_
volume refused_mountfor a volumes list alone.- without_
refused - A definition’s
container_volumeswithout the entries a container may not mount, for one that comes in from outside this AgentMux. The entries dropped are logged; a list with none is returned as it was.