Ubuntu Install Docker Tutorial _docker

Source: Internet
Author: User
Tags curl docker hub docker run

First, look at the notes from the book from Docker to combat:

Why use the Dockerdocker container to start can implement the second level. With high system utilization, a single host can run thousands of containers. Faster delivery and deployment more efficient virtualization easier migrations and extensions: Docker can run a simpler management on almost any platform

Comparison of Docker and traditional virtual machines:


Contrast picture Docker three basic concepts

Mirroring (IMAGES): A read-only template, mirroring can build Docker containers, users can create and update mirrors, and so on. Note that mirroring is read-only

Container (Container): Dockor use the container to run the use, the container can start, shut down and so on, and isolated from each other, you can take the container as a simple version of the Linux system and operating in the application process.

Warehouse (repository): Focus on mirrored production. Points: public warehouses and private warehouses. The largest public warehouses: Docker Hub, domestic public warehouses: Docker Pool,docker warehouse and git similar, registered server is understood as GitHub such a managed server.

Docker installation

My Linux operating system is Ubuntu 15.10,ubuntu version 15.10 without installing additional dependency packs that can be installed directly

Installation steps

1. Log on to the Ubuntu 15.10 system using an administrator account to ensure that the admin has root privileges, or you can execute sudo commands.

2. Check the Curl package is not installed.

$ which curl

3. If curl is not installed, update apt source, install curl package.

$ sudo apt-get update
$ sudo apt-get install curl

4. Get the latest Docker installation package.

$ Curl-ssl https://get.docker.com/| Sh

5.shell prompts you to enter a sudo password and then starts the installation process.

After the installation is successful, run

$ docker

The following page appears to indicate successful installation


Run a successful breakthrough

6. Reconfirm whether the Docker was successfully installed.

$ sudo docker run hello-world

This command downloads a test mirror and starts a container to run it.

If there is a little happiness to you, let happiness continue to pass, welcome reprint, point praise, top, welcome to leave valuable comments, thank you for your support!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.