2014-02-25 23:19:13 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package nsinit
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/dotcloud/docker/pkg/libcontainer"
|
|
|
|
)
|
|
|
|
|
2014-04-30 22:52:40 +00:00
|
|
|
func (ns *linuxNs) Exec(container *libcontainer.Container, term Terminal, pidRoot string, args []string, startCallback func()) (int, error) {
|
2014-02-25 23:19:13 +00:00
|
|
|
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
|
|
|
|
}
|