2015-05-27 20:41:50 +08:00
|
|
|
// +build freebsd
|
|
|
|
|
|
|
|
package libcontainer
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
2015-12-10 03:43:11 +08:00
|
|
|
// NewConsole returns an initalized console that can be used within a container by copying bytes
|
2015-05-27 20:41:50 +08:00
|
|
|
// from the master side to the slave that is attached as the tty for the container's init process.
|
2015-12-10 03:43:11 +08:00
|
|
|
func NewConsole(uid, gid int) (Console, error) {
|
2015-05-27 20:41:50 +08:00
|
|
|
return nil, errors.New("libcontainer console is not supported on FreeBSD")
|
|
|
|
}
|