Tuesday, November 25, 2014

Docker Issue - invalid EOF

I was receiving this error while downloading files using "docker pull" command e.g.
docker pull centos:centos6

It was resulting into the more than 100% CPU utilization by docker and eventually killing the docker daemon or hanging my Virtual Linux Machine.

To resolve this take following steps:
1. Stop the docker daemon : service stop docker
2. Go to /var/lib/docker and clean this folder
3. If error is encountered during cleaning, do the soft reboot using the reboot command
4. Come back, stop docker and clean the /var/lib/docker folder
5. restart docker: service docker start

it solved the problem, later I was able to pull the image.

No comments:

Post a Comment