mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9 lines
267 B
Go
9 lines
267 B
Go
|
package lib
|
||
|
|
||
|
// ContainerStart sends a request to the docker daemon to start a container.
|
||
|
func (cli *Client) ContainerStart(containerID string) error {
|
||
|
resp, err := cli.post("/containers/"+containerID+"/start", nil, nil, nil)
|
||
|
ensureReaderClosed(resp)
|
||
|
return err
|
||
|
}
|