Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Pratyay360/podman-ts/llms.txt
Use this file to discover all available pages before exploring further.
SystemManager (exposed as client.system) provides methods for inspecting the Podman service itself: health checks, host information, disk usage, version details, and registry authentication. PodmanClient also exposes several of these as top-level convenience getters so you don’t need to go through client.system for common reads.
Methods
ping()
HEAD /_ping request and returns true if the service responds successfully, false otherwise. Use this to verify connectivity before performing other operations.
info()
GET /info and returns host-level information about the Podman installation — OS, kernel, cgroup driver, number of containers, storage driver, and more.
version(options?)
GET /version and returns the Podman version object. Pass { apiVersion: false } to strip the APIVersion field from the response.
APIVersion):
df()
GET /system/df and returns a disk-usage summary covering containers, images, volumes, and build cache.
login(username, options?)
/auth (using the Docker-compatible endpoint). Returns the registry response, which typically includes a token or status message.
LoginOptions
| Option | Type | Description |
|---|---|---|
password | string | Registry password or access token. |
email | string | Account email address (some registries require this). |
registry | string | Registry server address (maps to serveraddress in the API payload). |
tlsVerify | boolean | Whether to verify the registry TLS certificate. |
Convenience getters on PodmanClient
PodmanClient exposes four read-only getters that each return a Promise. They are shorthand for the corresponding client.system.* calls:
| Getter | Equivalent to |
|---|---|
client.ping | client.system.ping() |
client.version | client.system.version() |
client.info | client.system.info() |
client.df | client.system.df() |