Skip to content

panic: Container is already stopped #2

@wjessop

Description

@wjessop

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())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions