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
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
Maybe you are just lacking the permissions.
Try with
sudo docker ps -a
to see if it works.
If that is the case, proceed with the solution already indicated by @norbjd : create a simbolic link to point your docker commend to the root user docker executable.
ln -s /usr/bin/docker /usr/local/bin/docker
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With