No docker.io and working Discourse


(Pan Otlet) #1

After troubleshooting i create Discourse docker container and work properly, but when i rebuild etc. i everytime get first line:

which: no docker.io in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)

What can i do? Discourse work but this error is annoying


(Jay Pfaffman) #2

The script looks for docker with each of the names docker goes by. You don’t have that version of docker installed, so it doesn’t find it. There is nothing to do.

Solution :after you issue the rebuild command, close your eyes or leave the room. :slight_smile:


(Kai Liu) #3

That message is quite annoying… A “>/dev/null 2>&1” could suppress that.


(Jay Pfaffman) #4

You could redirect output to /dev/null and submit it as a PR, but my solution is easier. :slight_smile:


(Kai Liu) #5

Salute to your easy solution :facepalm:


(Ryan Erwin) #6

Easy fix for annoying docker.io message :slight_smile:

sudo ln -s $(which docker) /usr/local/bin/docker.io