Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why install docker on ubuntu should be `sudo apt-get install docker.io`? [closed]

Tags:

docker

I think this is better:

sudo apt-get install docker 

But why didn't choose a clearly name?

like image 881
j-zhang Avatar asked Jan 16 '15 06:01

j-zhang


People also ask

Do you need Sudo to install Docker?

The installation script requires root or sudo privileges to install and use Docker. If you want to grant non-root users access to Docker, refer to the post-installation steps for Linux. Docker can also be installed without root privileges, or configured to run in rootless mode.

What is Docker IO Ubuntu?

docker-io is the deb package name used by Ubuntu distribution docker-engine is the deb package name from the official Docker Ubuntu distribution. Probably you want docker-engine because the Ubuntu one is too old and buggy to be used. As of today Ubuntu has 1.6. 2 and Docker registry has 1.12.

What is the use of Docker in Ubuntu?

Docker is a container service which allows one to run applications or even operating systems on a host operating system as containers. Containers are a new and exciting technology that has evolved over the last couple of years and being adopted by a lot of key organizations.

Can I install Docker desktop on Ubuntu?

To install Docker Desktop successfully, you must: Meet the system requirements. Have a 64-bit version of either Ubuntu Jammy Jellyfish 22.04 (LTS) or Ubuntu Impish Indri 21.10. Docker Desktop is supported on x86_64 (or amd64 ) architecture.


1 Answers

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

like image 141
Thilo Avatar answered Oct 06 '22 22:10

Thilo