Table of contents
1. As shown in the question
The docker is installed, but when the docker command is executed, the problem is prompted:
ubuntu@10-41-104-1:~$ sudo docker ps -a
sudo: docker: command not found
ubuntu@10-41-104-1:~$ sudo apt-get install docker
Reading package lists... Done
Building dependency tree