Alexander Belanger 5 年 前
コミット
2878611187
1 ファイル変更1 行追加0 行削除
  1. 1 0
      cli/cmd/docker/agent.go

+ 1 - 0
cli/cmd/docker/agent.go

@@ -168,6 +168,7 @@ func (a *Agent) PullImage(image string) error {
 	return nil
 }
 
+// WaitForContainerStop waits until a container has stopped to exit
 func (a *Agent) WaitForContainerStop(id string) error {
 	// wait for container to stop before exit
 	statusCh, errCh := a.client.ContainerWait(a.ctx, id, container.WaitConditionNotRunning)