[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#930898: ITP: conmon -- OCI container runtime monitor



Package: wnpp
Severity: wishlist
Owner: Nicolas Braud-Santoni <nicoo@debian.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name    : conmon
  Version         : 0.3.0
  Upstream Author : The github.com/containers authors
* URL             : https://github.com/containers/conmon
* License         : Apache-2.0
  Programming Lang: C
  Description     : OCI container runtime monitor

Conmon is a monitoring program and communication tool between a container
manager (like podman or CRI-O) and an OCI runtime (like runc or crun) for a
single container.

It is a dependency of podman, a root-less container runtime, which I intent
to package.


Upon being launched, it double-forks to daemonize and detach from the parent
that launched it. It then launches the runtime as its child. This allows
managing processes to die in the foreground, but still be able to watch over
and connect to the child process (the container).

While the container runs, conmon does two things:
- - Provides a socket for attaching to the container, holding open the
  container's standard streams and forwarding them over the socket.
- - Writes the contents of the container's streams to a log file (or to the
  systemd journal) so they can be read after the container's death.

Finally, upon the containers death, conmon will record its exit time and code
to be read by the managing programs.

Written in C and designed to have a low memory footprint, conmon is intended to
be run by a container managing library. Essentially, conmon is the smallest
daemon a container can have.

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEU7EqA8ZVHYoLJhPE5vmO4pLV7MsFAl0NxSoRHG5pY29vQGRl
Ymlhbi5vcmcACgkQ5vmO4pLV7Mu5rA/8C36uf7Y/jfKkKFvGLAm/DSg3CBvwW1EZ
Bo5TaDLDGBvVvIc2nMUW5FxHWiMEgHQfSokdO4Q/KRRsNsyRFh9rcAmxAaq7/vPf
SfqQoeaEBnZIIi5RnYDvdt56UWI13adpWLalZPYeoN6B7tOSU3IAuTMLxxDixKi+
Xoe7XKcOBiIDMsKhCnStsYzi0I7WWlCmoVPUi1rfzfQ27oByK0uP6dHY033CIvs+
351B2fql0wbQref9zWvvyROBmoUgmHv3YxaJ2Odg5DTO2Tvxq3+kciGzzeVigdbJ
pq7HuKGj7EXaoB0JceURao1uTQMsVoohe9+qr7+C6k6RFMIPl+0LsSi9edY13Gnc
tl6YcvjfLY8ON3cdtuv/KsVOAmyh0OZqKn9willCQRa3Xkut6gC9OGfsGs25weqo
FDf2BT07JUPYC4i0GhNiVFhwtYI0hcl2vMzColBt0ew8NNl59bZfVt0QUNMdQbGg
2CUa33WcjIBs/n89CDQRe24+QzdCFJbSu/Naa9UvxY2SqJHj/z6XJXtwEJF7lLP8
A8ZPjmG6DB2tGeKWaJhCV9y0ygKAa/alF1DJ1DdfVtGdUB0a5TVriMPPSAdmvH0c
k0to9fJgHzpqTJskjpOMxiL/3TrOTuO3eEdb60xB/xBRHICDJPVPIM64nKyvbnMg
uB+nAa6Cua4=
=iVhs
-----END PGP SIGNATURE-----


Reply to: