commit | 1fd76f3838b097eb59fafce5f492c1403fb217a4 | [log] [tgz] |
---|---|---|
author | Wentao Zhang <zhangwentao234@huawei.com> | Wed Jun 28 04:14:58 2017 +0800 |
committer | Silvin Lubecki <silvin.lubecki@docker.com> | Mon Mar 23 09:41:38 2020 +0000 |
tree | c1788e0e1833d76fccbea4103dcb2dceae83d475 | |
parent | acbee943fdaf4eef2e77dcce31da8368a3abfd8c [diff] |
Set unpasued state when receiving 'stateExit' event Description: 1. start a container with restart=always. `docker run -d --restart=always ubuntu sleep 3` 2. container init process exits. 3. use `docker pause <id>` to pause this container. if the pause action is before cgroup data is removed and after the init process died. `Pause` operation will success to write cgroup data, but actually do not freeze any process. And then docker received pause event and stateExit event from containerd, the docker state will be Running(paused), but the container is free running. Then we can not remove it, stop it , pause it and unpause it. Signed-off-by: Wentao Zhang <zhangwentao234@huawei.com> (cherry picked from commit fe1b4cfba6320793373c5397641d743d9fe94cf8) Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
Moby is an open-source project created by Docker to advance the software containerization movement. It provides a “Lego set” of dozens of components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts to experiment and exchange ideas.
At the core of Moby is a framework to assemble specialized container systems. It provides:
All Moby components are containers, so creating new components is as easy as building a new OCI-compatible container.
Moby is an open project guided by strong principles, but modular, flexible and without too strong an opinion on user experience, so it is open to the community to help set its direction. The guiding principles are:
With Moby, you should be able to describe all the components of your distributed application, from the high-level configuration files down to the kernel you would like to use and build and deploy it easily.
Moby uses containerd as the default container runtime.
Moby is recommended for anyone who wants to assemble a container-based system. This includes:
Moby is NOT recommended for:
Docker is transitioning all of its open source collaborations to the Moby project going forward. During the transition, all open source activity should continue as usual.
We are proposing the following list of changes:
Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.
Use and transfer of Moby may be subject to certain restrictions by the United States and other governments.
It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.
For more information, please see https://www.bis.doc.gov
Moby is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.