summaryrefslogtreecommitdiff
path: root/client/container_unpause.go
blob: 1d8f873169b30e82b6481a830e0129ae50a91a6c (plain)
1
2
3
4
5
6
7
8
9
10
package client // import "github.com/docker/docker/client"

import "context"

// ContainerUnpause resumes the process execution within a container
func (cli *Client) ContainerUnpause(ctx context.Context, containerID string) error {
	resp, err := cli.post(ctx, "/containers/"+containerID+"/unpause", nil, nil, nil)
	ensureReaderClosed(resp)
	return err
}