出现 sudo: docker: command not found 的解决方法

1. 问题所示

安装了docker,但是执行docker命令的时候,提示该问题:

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

猜你喜欢

转载自blog.csdn.net/weixin_47872288/article/details/132334942