github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/mergeCode/runc/libcontainer/console_solaris.go (about) 1 package libcontainer 2 3 import ( 4 "errors" 5 ) 6 7 // NewConsole returns an initialized console that can be used within a container by copying bytes 8 // from the master side to the slave that is attached as the tty for the container's init process. 9 func NewConsole(uid, gid int) (Console, error) { 10 return nil, errors.New("libcontainer console is not supported on Solaris") 11 }