docker

"Error response from daemon: 404 page not found" While using docker command


While i'm using the docker command i'm getting below error. Anyone have solution for this? Please help me to sort out this issue.

akshath@akshu:~$ docker images
Error response from daemon: 404 page not found
akshath@akshu:~$ docker version
Client:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.2
Git commit:   a34a1d5
Built:        Fri Nov 20 13:16:54 UTC 2015
OS/Arch:      linux/amd64
Error response from daemon: 404 page not found

Solution

  • As mentioned in "Docker daemon answers '404 page not found' after update", check if you have any PROXY defined (HTTP_PROXY, HTTPS_PROXY) in your current environment (env|grep -i proxy)

    It is referenced in issue 109.

    Also issue 17960 reports the same problem, and includes:

    sudo mv /var/lib/docker/network/files/ /path/to/backup/docker-network-files
    

    solved the problem.

    (If everything goes well, /path/to/backup/docker-network-files can be deleted)

    If that is not enough, chech systemctl status docker.service or logs, to find the real cause.

    If this is still not working:

    Exact Answer:

    issue 17083: Moving /var/lib/docker away solved the problem. Or: "I removed only /var/lib/docker/network and now everything works well and without containers lost."