2017-02-01 00:45:59 +00:00
|
|
|
// +build freebsd
|
|
|
|
|
|
|
|
package libcontainer
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
2017-02-06 20:16:36 +00:00
|
|
|
// newConsole returns an initialized console that can be used within a container by copying bytes
|
2017-02-01 00:45:59 +00:00
|
|
|
// from the master side to the slave that is attached as the tty for the container's init process.
|
2017-02-06 20:16:36 +00:00
|
|
|
func newConsole() (Console, error) {
|
2017-02-01 00:45:59 +00:00
|
|
|
return nil, errors.New("libcontainer console is not supported on FreeBSD")
|
|
|
|
}
|