runc
runc copied to clipboard
libcontainer "type Namespaces []Namespace" in namespace.go compile error on mac osx.
very strange problem. Just get undefined Namespace.
move "type Namespaces []Namespace" into namespaces_unix.go error disappear.
change "type Namespaces []Namespace" to "type Namespacess []Namespace" it's also ok..
can some one help me? many thanks!
I just tried on linux it is OK, but on mac osx it's not OK...
Just learn..
// +build linux freebsd
make namespace_unix.go invisible on mac osx..