No docker.io and working Discourse

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

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:

4 Likes

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

2 Likes

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

2 Likes

Salute to your easy solution :facepalm:

3 Likes

Easy fix for annoying docker.io message :slight_smile:

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