docker usr/local/bin/docker-machine: Permission denied
I got this error when trying to install docker on my ubuntu using the curl command.
The issue is that your current user does not have the permission to write to the
The simplest way to solve this problem is to either give your current user write permissions
OR to run the curl command as sudo(which may not such a good thing because then you would always need to run your docker commands via sudo which can be a pain in the ass) Reference
sudo chown -R $(whoami) /usr/local/bin