Linux Container runtime Docker open source

Source: Internet
Author: User
Keywords Run open source each
Linux Container runtime docker open source published 15 hours ago | Times Read | SOURCE csdn| 0 Reviews | The author Zhang Hong month Open source Linuxdocker Summary: Docker is a http://www.aliyun.com/zixun/aggregation/13423.html "> Cloud computing Platform, it utilizes Linux lxc, Aufu, Go language, Cgroup realize the independence of resources, can easily achieve the file, resources, network isolation, the ultimate goal is to achieve similar PAAs platform application isolation.

Docker is a powerful automated distributed system: Massive Web deployments, database clusters, continuous deployment systems, private PAAs, service-oriented architecture, and more. Docker uses a high-level API running at the process level to complement LXC (Linux Container), which runs the UNIX process and provides guarantees for isolation and repeatability across servers.

Notable features:

file System Isolation: Each process container runs in a completely separate root file system. Resource isolation: system resources, such as CPU and memory, can be allocated to different containers, using Cgroup. Network isolation: Each process container runs in its own network space, virtual interface and IP address. LOG: Collects and records each process container in the standard stream (Stdout/stderr/stdin) for real-time and bulk retrieval. Change Management: The modified container file system is submitted to a new image, retained for reuse to create more containers without templates or manual configuration. Interactive Shell

Use examples:

Running an interactive shell

# Download A base imagedocker pull base# Run a interactive shell in the base image,# allocate a TTY, attach stdin and Stdoutdo Cker run-i-T Base/bin/bash starts a long-running worker process

# Run Docker in daemon mode (docker-d | | echo "Docker daemon already Running") &# Start a very useful long-running processjob =$ (Docker run-d base/bin/sh-c "while true; do Echo Hello world; Sleep 1; Done ") # Collect the output of the job so fardocker logs $JOB # Kill the Jobdocker kill $JOB go to the official website to see more details: http://docker.io/

SOURCE Hosting Address: https://github.com/dotcloud/docker/

Related Article

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.