From 3ce8fac7c4038cea45b338ed17d111f3fa25a3e3 Mon Sep 17 00:00:00 2001 From: ChangFeng Date: Thu, 30 Aug 2018 21:23:35 +0800 Subject: [PATCH] libcontainer: add /proc/loadavg to the white list of bind mount Signed-off-by: JunLi --- libcontainer/rootfs_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libcontainer/rootfs_linux.go b/libcontainer/rootfs_linux.go index a1eba087..79242e6f 100644 --- a/libcontainer/rootfs_linux.go +++ b/libcontainer/rootfs_linux.go @@ -421,6 +421,7 @@ func checkMountDestination(rootfs, dest string) error { "/proc/stat", "/proc/swaps", "/proc/uptime", + "/proc/loadavg", "/proc/net/dev", } for _, valid := range validDestinations {