mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
27 lines
738 B
Markdown
27 lines
738 B
Markdown
# connectors
|
|
|
|
`ctop` comes with the below native connectors, enabled via the `--connector` option.
|
|
|
|
Default connector behavior can be changed by setting the relevant environment variables.
|
|
|
|
## Docker
|
|
|
|
Default connector, configurable via standard [Docker commandline varaibles](https://docs.docker.com/engine/reference/commandline/cli/#environment-variables)
|
|
|
|
#### Options
|
|
|
|
Var | Description
|
|
--- | ---
|
|
DOCKER_HOST | Daemon socket to connect to (default: `unix://var/run/docker.sock`)
|
|
|
|
## RunC
|
|
|
|
Using this connector requires full privileges to the local runC root dir (default: `/run/runc`)
|
|
|
|
#### Options
|
|
|
|
Var | Description
|
|
--- | ---
|
|
RUNC_ROOT | path to runc root (default: `/run/runc`)
|
|
RUNC_SYSTEMD_CGROUP | if set, enable systemd cgroups
|