| 1 |
Source: conmon |
| 2 |
Section: admin |
| 3 |
Priority: optional |
| 4 |
Maintainer: Podman Packaging Team <[email protected]> |
| 5 |
Uploaders: Jamie Bliss <[email protected]>, |
| 6 |
Nicolas Braud-Santoni <[email protected]>, |
| 7 |
Dmitry Smirnov <[email protected]>, |
| 8 |
Reinhard Tartler <[email protected]> |
| 9 |
Build-Depends: debhelper-compat (= 13), |
| 10 |
go-md2man, |
| 11 |
libglib2.0-dev, |
| 12 |
libseccomp-dev, |
| 13 |
libsystemd-dev |
| 14 |
Standards-Version: 4.7.2 |
| 15 |
Homepage: https://github.com/containers/conmon |
| 16 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/conmon |
| 17 |
Vcs-Git: https://salsa.debian.org/go-team/packages/conmon.git |
| 18 |
Rules-Requires-Root: no |
| 19 |
|
| 20 |
Package: conmon |
| 21 |
Architecture: any |
| 22 |
Depends: ${misc:Depends}, ${shlibs:Depends} |
| 23 |
Description: OCI container runtime monitor |
| 24 |
Conmon is a monitoring program and communication tool between a container |
| 25 |
manager (like podman or CRI-O) and an OCI runtime (like runc or crun) for a |
| 26 |
single container. |
| 27 |
. |
| 28 |
Upon being launched, it double-forks to daemonize and detach from the parent |
| 29 |
that launched it. It then launches the runtime as its child. This allows |
| 30 |
managing processes to die in the foreground, but still be able to watch over |
| 31 |
and connect to the child process (the container). |
| 32 |
. |
| 33 |
While the container runs, conmon does two things: |
| 34 |
. |
| 35 |
- Provides a socket for attaching to the container, holding open the |
| 36 |
container's standard streams and forwarding them over the socket. |
| 37 |
- Writes the contents of the container's streams to a log file (or to the |
| 38 |
systemd journal) so they can be read after the container's death. |
| 39 |
. |
| 40 |
Finally, upon the containers death, conmon will record its exit time and code |
| 41 |
to be read by the managing programs. |
| 42 |
. |
| 43 |
Written in C and designed to have a low memory footprint, conmon is intended to |
| 44 |
be run by a container managing library. Essentially, conmon is the smallest |
| 45 |
daemon a container can have. |