diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go index 6ff4d96a..7a3b82ae 100644 --- a/libcontainer/container_linux.go +++ b/libcontainer/container_linux.go @@ -1824,7 +1824,7 @@ func (c *linuxContainer) isPaused() (bool, error) { data, err := ioutil.ReadFile(filepath.Join(fcg, filename)) if err != nil { // If freezer cgroup is not mounted, the container would just be not paused. - if os.IsNotExist(err) { + if os.IsNotExist(err) || err == syscall.ENODEV { return false, nil } return false, newSystemErrorWithCause(err, "checking if container is paused")