Why install docker on ubuntu should be `sudo apt-g

2019-02-11 10:44发布

I think this is better:

sudo apt-get install docker

But why didn't choose a clearly name?

标签: docker
2条回答
贪生不怕死
2楼-- · 2019-02-11 10:53

issue this to install docker on ubuntu for your development boxes

curl -sSL https://get.docker.com/ | sh -y

if you want very latest dev release then issue

curl -fsSL https://test.docker.com/ | sh 

when running either of above you will notice this walks through the same steps as listed in canonical docker install doc https://docs.docker.com/engine/installation/linux/ubuntulinux/ which is very handy when installing docker on remote servers and should be used for production boxes

查看更多
小情绪 Triste *
3楼-- · 2019-02-11 11:17

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.

Full installation instructions for the most-recent version are at https://docs.docker.com/engine/installation/linux/ubuntulinux/.

查看更多
登录 后发表回答