20 lines
556 B
Go
20 lines
556 B
Go
// +build !linux
|
|
|
|
package nsinit
|
|
|
|
import (
|
|
"github.com/dotcloud/docker/pkg/libcontainer"
|
|
)
|
|
|
|
func (ns *linuxNs) Exec(container *libcontainer.Container, term Terminal, args []string) (int, error) {
|
|
return -1, libcontainer.ErrUnsupported
|
|
}
|
|
|
|
func (ns *linuxNs) ExecIn(container *libcontainer.Container, nspid int, args []string) (int, error) {
|
|
return -1, libcontainer.ErrUnsupported
|
|
}
|
|
|
|
func (ns *linuxNs) Init(container *libcontainer.Container, uncleanRootfs, console string, syncPipe *SyncPipe, args []string) error {
|
|
return libcontainer.ErrUnsupported
|
|
}
|