github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/client/container_unpause.go (about)

     1  package client // import "github.com/Prakhar-Agarwal-byte/moby/client"
     2  
     3  import "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  }