* 因为docker一个容器只支持运行一个前台, 所以在docker内使用supervisor来启动多个程序/服务更方便,更易管理.详见:[[http://blog.trifork.com/2014/03/11/using-supervisor-with-docker-to-manage-processes-supporting-image-inheritance/|Using supervisor with docker to manage processes]]
* 因为docker一个容器只支持运行一个前台, 所以在docker内使用supervisor来启动多个程序/服务更方便,更易管理.详见:[[http://blog.trifork.com/2014/03/11/using-supervisor-with-docker-to-manage-processes-supporting-image-inheritance/|Using supervisor with docker to manage processes]]
* The ''docker exec'' command runs a new command in a running container.This will create a new Bash session in the container container_name:<code bash>$ sudo docker exec -it container_name bash</code>
* The ''docker exec'' command runs a new command in a running container.This will create a new Bash session in the container container_name:<code bash>$ sudo docker exec -it container_name bash</code>
* Linux Namespace: [[http://lwn.net/Articles/531114/|Namespaces in operation]], [[http://man7.org/linux/man-pages/man7/namespaces.7.html|Namespace man page]]
* Linux Namespace: [[http://lwn.net/Articles/531114/|Namespaces in operation]], [[http://man7.org/linux/man-pages/man7/namespaces.7.html|Namespace man page]]
-
* Linux CGroup: [[http://coolshell.cn/articles/17049.html|coolshell's article]], [[https://www.kernel.org/doc/Documentation/cgroups/|Linux Kernel Cgroup Documents]]
+
* Linux CGroup: [[http://coolshell.cn/articles/17049.html|coolshell's article]], [[https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html|Linux Kernel Cgroup Documents]]