为什么在ubuntu上安装docker应该是`sudo apt-get install docker.io`?

前端之家收集整理的这篇文章主要介绍了为什么在ubuntu上安装docker应该是`sudo apt-get install docker.io`?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我认为这更好:
sudo apt-get install docker

但为什么没有选择明确的名字?

http://blog.docker.com/2014/04/docker-in-ubuntu-ubuntu-in-docker/

Why 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/

原文链接:https://www.f2er.com/ubuntu/349932.html

猜你在找的Ubuntu相关文章