mirror of
https://github.com/docker/docs.git
synced 2026-03-28 06:49:00 +07: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
|
|
}
|