summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-08-07 09:53:59 -0500
committerbaude <bbaude@redhat.com>2019-08-12 13:08:57 -0500
commit55cc80d3c9bfd96225db179b96427aa377ecb9dc (patch)
tree8f398f4bf6ee4093f41fd532a2f7362102b5ece4 /API.md
parent926901d78d3af87b47ce0cfeafcf0e9a6d190334 (diff)
downloadpodman-55cc80d3c9bfd96225db179b96427aa377ecb9dc.tar.gz
podman-55cc80d3c9bfd96225db179b96427aa377ecb9dc.tar.bz2
podman-55cc80d3c9bfd96225db179b96427aa377ecb9dc.zip
varlink endpoint for containerstats requires root
obtaining containerstats requires the use of cgroups. at present, rootless users do not have privileges to create cgroups. add an error message that catches this for the varlink endpoint and return a proper error. Fixes: #3749 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'API.md')
-rwxr-xr-xAPI.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/API.md b/API.md
index d468ba53d..336902616 100755
--- a/API.md
+++ b/API.md
@@ -265,6 +265,8 @@ in the [API.md](https://github.com/containers/libpod/blob/master/API.md) file in
[error ErrCtrStopped](#ErrCtrStopped)
+[error ErrRequiresCgroupsV2ForRootless](#ErrRequiresCgroupsV2ForRootless)
+
[error ErrorOccurred](#ErrorOccurred)
[error ImageNotFound](#ImageNotFound)
@@ -2006,6 +2008,9 @@ ContainerNotFound means the container could not be found by the provided name or
### <a name="ErrCtrStopped"></a>type ErrCtrStopped
Container is already stopped
+### <a name="ErrRequiresCgroupsV2ForRootless"></a>type ErrRequiresCgroupsV2ForRootless
+
+This function requires CGroupsV2 to run in rootless mode.
### <a name="ErrorOccurred"></a>type ErrorOccurred
ErrorOccurred is a generic error for an error that occurs during the execution. The actual error message