我认为这更好:
sudo apt-get install docker
但为什么没有选择明确的名字?
http://blog.docker.com/2014/04/docker-in-ubuntu-ubuntu-in-docker/
原文链接:https://www.f2er.com/ubuntu/349932.htmlWhy do Ubuntu use docker-engine as executable name instead of just docker?
Tutorials,blog posts all now have to mention this difference,“if you use Ubuntu 14.04,or if you are with rest of the world (including earlier versions of Ubuntu)”. Why?This is because of a Debian/Ubuntu policy; there is already a program called “docker” [1],and it was not allowed to use the same binary name.
最新版本的完整安装说明为https://docs.docker.com/engine/installation/linux/ubuntulinux/。