You have to use curl, follow the commands below: sudo curl -sSL http://getdocker/ | sh [ref] (https://www.edureka.co/community/12755/error-docker-command-not-found)