will not compile without these updates due to change in docker lib

pull/13/head
Erin Corson 9 years ago
parent 2c0a9fa3d2
commit b1e70f494e

@ -111,7 +111,7 @@ func (client dockerClient) StartContainer(c Container) error {
log.Infof("Starting %s", name)
newContainerID, err := client.api.CreateContainer(config, name)
newContainerID, err := client.api.CreateContainer(config, name, nil)
if err != nil {
return err
}
@ -153,7 +153,7 @@ func (client dockerClient) IsContainerStale(c Container) (bool, error) {
func (client dockerClient) RemoveImage(c Container) error {
imageID := c.ImageID()
log.Infof("Removing image %s", imageID)
_, err := client.api.RemoveImage(imageID)
_, err := client.api.RemoveImage(imageID, true)
return err
}

Loading…
Cancel
Save