Your company here, and a link to your site. Click to find out more.

conmon - Man Page

container monitor utility


conmon [options]


conmon is a command-line program for monitoring and managing the lifecycle of Linux containers that follow the Open Container Initiative (OCI) format.

Application Options

Conmon API version to use.
-b,  --bundle
Location of the OCI Bundle path.
-c,  --cid
Identification of Container.
Attach to an exec session.
-e,  --exec
Exec a command into a running container.
Path to the process spec for execution.
Path to the program to execute when the container terminates its execution.
Additional arguments to pass to the exit command.  Can be specified multiple time.
Delay before invoking the exit command (in seconds).
Path to the directory where exit files are written.
-h,  --help
Show help options.
-i,  --stdin
Open up a pipe to pass stdin to the container.

This option tells conmon to setup the pipe regardless of whether there is a terminal connection.

-l,  --log-path
Path to store all stdout and stderr messages from the container.
Leave stdin open when the attached client disconnects.
Print debug logs based on the log level.
Maximum size of the log file.
Additional tag to use for logging.
-n,  --name
Container name.
Do not create a new session keyring for the container.
Do not use pivot_root.
Do not manually call sync on logs after container shutdown.
-0,  --persist-dir
Persistent directory for a container that can be used for storing container data.
-p,  --container-pidfile
PID file for the initial pid inside of the container.
-P,  --conmon-pidfile
PID file for the conmon process.
-r,  --runtime
Path to store runtime data for the container.
Replace listen pid if set for oci-runtime pid.
Restore a container from a checkpoint.
Additional arguments to pass to the runtime. Can be specified multiple times.
Additional options to pass to the restore or exec command. Can be specified multiple times.
-s,  --systemd-cgroup
Enable systemd cgroup manager, rather then use the cgroupfs directly.
Location of container attach sockets.
Keep the main conmon process as its child by only forking once.
Log to syslog (use with cgroupfs cgroup manager).
-t,  --terminal
Allocate a pseudo-TTY. The default is false.

When set to true, conmon will allocate a pseudo-tty and attach  to  the standard  input of the container. This can be used, for example, to run a throwaway interactive shell. The default is false.

-T,  --timeout
Kill container after specified timeout in seconds.
-u,  --cuuid
Specify the Container UUID to use.
Print the version and exit.

See Also

podman(1), buildah(1), cri-o(1), crun(8), runc(8)


October 2020, Originally compiled by Dan Walsh dwalsh@redhat.com ⟨mailto:dwalsh@redhat.com⟩

Referenced By

podman(1), podman-container-cleanup(1), podman-create(1), podman-generate-systemd(1), podman-run(1).