Add exec and terminal support

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-12-09 09:17:34 -08:00
parent aee6045292
commit 0aad42f5cf
10 changed files with 531 additions and 231 deletions

View file

@ -14,12 +14,12 @@ func main() {
app.Name = "ctr"
app.Version = containerd.Version
app.Usage = `
__
__
_____/ /______
/ ___/ __/ ___/
/ /__/ /_/ /
\___/\__/_/
/ /__/ /_/ /
\___/\__/_/
containerd client
`
app.Flags = []cli.Flag{
@ -35,6 +35,7 @@ containerd client
}
app.Commands = []cli.Command{
runCommand,
execCommand,
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {