I installed docker on my ubuntu 14.04. deamon is running. but when I run
docker ps -a
i got this error -bash: /usr/local/bin/docker: No such file or directory
How can I solve this?
Thanks in advance
I installed docker on my ubuntu 14.04. deamon is running. but when I run
docker ps -a
i got this error -bash: /usr/local/bin/docker: No such file or directory
How can I solve this?
Thanks in advance
A quick fix can be adding a symbolic link (/usr/bin/docker
-> /usr/local/bin/docker
) :
ln -s /usr/bin/docker /usr/local/bin/docker
Run the following in your terminal:
dockerd
Explanation: dockerd is the persistent process that manages containers. Docker uses different binaries for the daemon and client. To run the daemon you type dockerd.
To run the daemon with debug output, use dockerd -D or add "debug": true to the daemon.json file.
Reference: https://docs.docker.com/engine/reference/commandline/dockerd/