Introduced
Docker is an open source software project that allows applications to automate their work under the software container, providing an additional layer of software abstraction on the Linux operating system and an automated management mechanism for operating system-level virtualization [1]. Docker uses resource-splitting mechanisms in the Linux core, such as Cgroups, and the Linux core namespace (name space) to create a separate software container (containers). This can work under a single Linux entity, avoiding the additional burden of booting a virtual machine [2]. Linux core support for namespaces completely isolates the view of applications in the work environment, including process trees, networks, user IDs, and mounted file systems, while the core Cgroup provides resource isolation, including CPU, memory, block I/O, and networking. Starting with the 0.9 release, Dockers began to include the Libcontainer library as a way to start directly using the virtualization facilities provided by the Linux core, based on the Libvirt LXC and Systemd-nspawn, using abstract virtualization.
According to the industry Analysis company "451 Research": "Dockers is a dependency tool capable of packaging applications and their virtual containers that can run on any Linux server, which facilitates flexibility and portability, which can be run anywhere, whether public cloud, private cloud, standalone, etc. ”
Installation Requirements
64-bit system
Users that can use sudo
Installation
First step: Set up the Package Manager warehouse
Set up a Docker repository on Ubuntu. Lsb_release-cs can display your Ubuntu version, such as Xenial or trusty.
After the settings are complete, update the package Manager.
sudo Install Apt-transport-https ca-certificatescurl -fssl https:// DOWNLOAD.DOCKER.COM/LINUX/UBUNTU/GPG | sudo apt-key add-sudoinstall software-properties-sudo " Deb [ARCH=AMD64] Https://download.docker.com/linux/ubuntu $ (lsb_release-cs) stable" sudo apt-get udate
Step Two: Install Docker
sudo Install Docker-ce
Step Three: Test
sudo Docker run Hello-world
Fourth: No sudo execution of Docker commands (not necessary)
sudo ' your user name '
Installing and using Docker on Ubuntu16.04