wjessop/build_ruby

panic: Container is already stopped

wjessop opened this issue · 0 comments

This code now panics when it never used to, need to work out what changed between docker / boot2docker versions

if err := docker_client.StopContainer(container.ID, 1); err != nil {
    // panic(err)
    color.Printf("@{f}Failed to stop container %d, error was: %s\n", container.ID, err.Error())
}