2015-05-27 20:41:50 +08:00
|
|
|
// +build freebsd
|
|
|
|
|
|
|
|
package libcontainer
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
2016-06-03 23:29:34 +08:00
|
|
|
// newConsole returns an initialized 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.
|
2016-09-14 17:02:53 +08:00
|
|
|
func newConsole() (Console, error) {
|
2015-05-27 20:41:50 +08:00
|
|
|
return nil, errors.New("libcontainer console is not supported on FreeBSD")
|
|
|
|
}
|