oci: Use container ID as ID instead of container name
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
033f6885c1
commit
67504a02d5
2 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue