build_ruby icon indicating copy to clipboard operation
build_ruby copied to clipboard

panic: Container is already stopped

Open wjessop opened this issue 11 years ago • 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())
}

wjessop avatar Oct 28 '14 19:10 wjessop