2016-04-13 05:41:09 +08:00
|
|
|
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
|
2016-04-13 05:41:09 +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) {
|
2016-04-13 05:41:09 +08:00
|
|
|
return nil, errors.New("libcontainer console is not supported on Solaris")
|
|
|
|
}
|