Docker: Ubuntu installation, Docker: Ubuntu Installation

Source: Internet
Author: User

Docker: Ubuntu installation, Docker: Ubuntu Installation

What is Docker?

Docker is an open-source Container engine built on LXC technology by Docker. Inc. The source code is hosted on GitHub and open-source based on the Go language and complies with the Apache2.0 protocol. Docker held the DockerConf June 2014 technical conference in 2014 to attract the attention and technical support from well-known companies such as IBM, Google, and RedHat, regardless of the Code activity on GitHub, or Redhat announced its formal support for Docker in RHEL7, which gives the industry a signal, an innovative technical solution. Even Google's Compute Engine supports running docker on it. The domestic "BAT" Pioneer Baidu App Engine (BAE) platform uses Docker as its PaaS cloud base.

Install Docker in Ubuntu14.4


Run the following command to check whether the curl command is installed:

$ which curl

If not, run the following command:

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

Get the latest Docker installation package and install it:

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

Check whether Docker is successfully installed:

Sudo docker run hello-world
# This command downloads an image for testing and starts a container to run it.

The following error occurs during command execution:

 

This is because the docker service is not started. Run the following command to start the docker service:

sudo service docker start

 

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.