It looks like you don’t have docker successfully installed. What happens when you run this?
$ sudo docker info
If you get docker: command not found or something like /var/lib/docker/repositories: permission denied you may have an incomplete Docker installation or insufficient privileges to access Docker on your machine.
Which documentation did you use to install Discourse?