container_unpause.go 327 B

1234567891011
  1. package client
  2. import "golang.org/x/net/context"
  3. // ContainerUnpause resumes the process execution within a container
  4. func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error {
  5. resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil)
  6. ensureReaderClosed(resp)
  7. return err
  8. }