linuxamazon-web-servicesdocker

Docker commands hanging with no response


Docker daemon is running fine, but docker just hangs indefinitely with no output when I do docker images, docker ps and so on. This wasn't happening last night and it's driving me nuts.

I reinstalled docker on my AWS Linux AMI with no luck. I have also tried sudo service docker restart and that didn't yield a fix. If anyone has run into this or has any suggestions please share.

Instance Info:

NAME="Amazon Linux AMI"
VERSION="2016.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2016.09"
PRETTY_NAME="Amazon Linux AMI 2016.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2016.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Amazon Linux AMI release 2016.09

Docker version:

Docker version 1.11.2, build b9f10c9/1.11.2

Solution

  • I know this question is a bit old, but to fix this, try deleting the contents of:

    /var/run/docker/libcontainerd