mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Migrate exec command to cobra
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Upstream-commit: b32ff5a1cd
Component: cli
This commit is contained in:
@@ -52,6 +52,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
|
||||
container.NewCopyCommand(dockerCli),
|
||||
container.NewCreateCommand(dockerCli),
|
||||
container.NewDiffCommand(dockerCli),
|
||||
container.NewExecCommand(dockerCli),
|
||||
container.NewExportCommand(dockerCli),
|
||||
container.NewKillCommand(dockerCli),
|
||||
container.NewLogsCommand(dockerCli),
|
||||
|
||||
@@ -8,7 +8,6 @@ type Command struct {
|
||||
|
||||
// DockerCommandUsage lists the top level docker commands and their short usage
|
||||
var DockerCommandUsage = []Command{
|
||||
{"exec", "Run a command in a running container"},
|
||||
{"inspect", "Return low-level information on a container, image or task"},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user