gpt4 book ai didi

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

转载 作者:IT老高 更新时间:2023-10-28 12:35:57 29 4
gpt4 key购买 nike

我认为这样更好:

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

关于docker - 为什么在 ubuntu 上安装 docker 应该是 `sudo apt-get install docker.io` ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27978324/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com