Merge pull request #629 from mrunalp/oci_id

oci: Use container ID as ID instead of container name
This commit is contained in:
Antonio Murdaca 2017-06-25 13:14:26 +02:00 committed by GitHub
commit d1850d9993
2 changed files with 11 additions and 11 deletions

View file

@ -49,7 +49,7 @@ func (ss streamService) Exec(containerID string, cmd []string, stdin io.Reader,
if tty {
args = append(args, "-t")
}
args = append(args, c.Name())
args = append(args, c.ID())
args = append(args, cmd...)
execCmd := exec.Command(ss.runtimeServer.runtime.Path(c), args...)
var cmdErr error