The most voted answer by Nepomucen helped me but after each Mac restart I have to do it all over again. So, I modified Zsh configuration file
nano ~/.zshrc insert export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin/" save & restart terminal (probably there is an option to reload newly added path, was easier to just restart). Voila, docker command is recognized after each start up