Cannot start some containers after restarting docker daemon

When I restart docker service, I would start the following container, but error occurs.

$docker ps -a
CONTAINER ID  IMAGE               COMMAND      CREATED       STATUS
591009977bae  yomin/deepdive:1.0  "/bin/bash"  3 weeks ago   Exited (-1) 3 hours ago

Error:

  • log tag option ignored by docker daemon
  • creating a docker bridge network for a virtual sub interface
  • Docker Swarm Service-Task not running
  • How can I use the docker daemon from a container running on a host provisioned by Docker Machine?
  • Docker base image running slowly Mac OS X
  • How to use docker in both dev and production environment?
  • $docker start -i -a 591009977bae
    Error response from daemon: Cannot start container 591009977bae: [0] Id already in use: Container with id exists: 591009977baefe0ad7986b3149e9c8090655c3419b46e72bfa0c554189a54739
    

    The following is some info, server is Ubuntu14.04:

    $docker info
    Containers: 6
    Images: 60
    Server Version: 1.9.1
    Storage Driver: aufs
    Root Dir: /var/lib/docker/aufs
    Backing Filesystem: extfs
    Dirs: 76
    Dirperm1 Supported: false
    Execution Driver: native-0.2
    Logging Driver: json-file
    Kernel Version: 3.13.0-24-generic
    Operating System: Ubuntu 14.04.3 LTS
    CPUs: 24
    Total Memory: 94.37 GiB
    Name: ubuntu
    ID: P322:L4XK:BGEL:AAZ4:O6VF:IX2O:AUMK:QCBD:RJIS:RGOU:LCJI:GDGU
    WARNING: No swap limit support
    

    It seems different from other issues I found on Stackoverflow…Could anyone help me?

  • docker-compose does not load up data
  • How to change postgresql.conf from Postgres docker image
  • Mount Volume to Host
  • “TLS configuration is invalid” when call “docker-compose build”
  • npm install fails in jenkins pipeline in docker
  • How to name a volume using a docker-compose.yml file?
  • One Solution collect form web for “Cannot start some containers after restarting docker daemon”

    In fact when I reproduce your situation,
    I restart the container successfully.

    Docker version 1.9.x has some obscure bugs.

    I think it a good idea that you may upgrade your docker-engine to the latest version(1.10.3) and retry.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.