Vendor integration dependencies.

This commit is contained in:
Timo Reimann 2017-02-07 22:33:23 +01:00
parent dd5e3fba01
commit 55b57c736b
2451 changed files with 731611 additions and 0 deletions

View file

@ -0,0 +1,17 @@
package docker
import (
"golang.org/x/net/context"
"github.com/docker/engine-api/types"
)
// Remove removes the container
func (p *Project) Remove(containerID string) error {
if err := p.Client.ContainerRemove(context.Background(), containerID, types.ContainerRemoveOptions{
Force: true,
}); err != nil {
return err
}
return nil
}