Skip to content

Cannot start container: [0] Id already in use #20570

@Salmondx

Description

@Salmondx

Can't start existing docker container with mongodb.
docker ps -a shows that this container exists:

6d33bbf4bce9 mongo:latest "/entrypoint.sh mongo" 47 minutes ago Exited (-1) 22 minutes ago hotels-mongo

And when i start it with docker start hotels-mongo, this exception throws:
Error response from daemon: Cannot start container hotels-mongo: [0] Id already in use: Container with id exists: 6d33bbf4bce902279721419a062bcd7d2ddcffdd8ef13d70bcd5e7ae71cf5c10
Error: failed to start containers: [hotels-mongo]

Also can't start through kitematic.
This container worked for 2-4 weeks and now it doesn't.

Docker version:
Client:
Version: 1.8.3
API version: 1.20

Server:
Version: 1.9.1
API version: 1.21

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.version/1.9

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions