diff --git a/libcontainer/devices/devices_unix.go b/libcontainer/devices/devices_unix.go index c77077d4..61c0c0c6 100644 --- a/libcontainer/devices/devices_unix.go +++ b/libcontainer/devices/devices_unix.go @@ -94,6 +94,9 @@ func getDevices(path string) ([]*configs.Device, error) { if err == ErrNotADevice { continue } + if os.IsNotExist(err) { + continue + } return nil, err } out = append(out, device)