-bash: /usr/local/bin/docker: No such file or directory

I having the issue while after building the docker file for sample python program. But is shows me like this
root@CD012:~# docker -v
-bash: /usr/local/bin/docker: No such file or directory

I don’t know what to do with this