Ubuntu 14.10 Installing Docker

Source: Internet
Author: User
Tags docker run

1.docker Introduction

Stay the fox.

Docker is an open-source application container engine that allows developers to package their applications and dependencies into a portable container, and then publish them to any popular Linux machine or virtualize them. Containers are completely sandbox-aware, with no interface (like IPhone apps) between them. There is little performance overhead and can be easily run in the machine and data center. Most importantly, they are not dependent on any language, framework or system.

2. Installation method One:
sudo apt-get updatesudo apt-get install Docker.io
Method Two (Install the latest version):

3. Status command
sudo service Docker status    #查看状态sudo service Docker start    #启动sudo service Docker stop    #关闭sudo service Docker R Estart #重启
4. View the Docker version
Docker-v
5. User group Related Settings

Join the current user to the Docker user group

6. Add a configuration file

sudo vi/etc/default/docker
Add or modify in a configuration file

7. Restart Docker

sudo service docker restart #重启

8. Container Management

Download the Docker image and it will take a few minutes to download.


Login container name is Ubuntu Docker container

sudo docker run-i-T Ubuntu/bin/bash
View the container IP
[Email protected]:/#    ifconfig

Ubuntu 14.10 Installing Docker

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.