github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/client/container_unpause.go (about)

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