Getting, building, and installing LXC.
获取、构建和安装lxc。
LXC requires some specific kernel configurations.
LXC需要一些特定的内核配置。
For the basics in using LXC tools, we'll look at.
对于使用LXC工具的基础知识,我们将看看。
LXC USES the cgroup filesystem to manage containers.
LXC使用cgroup文件系统来管理容器。
Then the LXC tools must be downloaded, built, and installed.
最后再下载、构建和安装LXC工具。
Start this container using the command lxc-start -n vsplain.
使用命令lxc - start - n vsplain启动这个容器。
The LXC project consists of a Linux kernel patch and userspace tools.
LXC项目由一个Linux内核补丁和一些userspace工具组成。
You can use a similar trick to restart the container using the LXC tools.
可以通过类似的技巧,使用LXC工具重新启动容器。
LXC differentiates between two types of containers: system and application containers.
LXC根据容器类型的不同而有所不同:一种是系统容器,一种是应用程序容器。
This article offers a quick introduction to using the tools created by the LXC project.
本文简要介绍如何使用由LXC项目创建的工具。
"LXC: Linux container tools" describes the basic usage of liblxc in detail, so we'll gloss over it here.
“lxc:Linux容器工具”详细描述了liblxc的基本用法,因此这里不再细谈。
The rest of this article shows you some LXC basics and some miscellaneous points and discusses low-level access.
本文的后面将展示一些lxc基础知识和杂项内容,并讨论低级访问。
The easiest way to properly configure the kernel for LXC is to use make menuconfig, then select Container support.
为LXC适当配置内核的最容易的方式是使用make menuconfig,然后选择Container support。
Barring unforeseen errors, you should expect lxc-wait to return only when the container has entered the given state.
如果没有遇到意外错误,您应该期望只有当容器进入给定的状态时lxc - wait才返回。
Destroying the container removes the configuration files and metadata associated with the name by the lxc-create step
销毁容器是指删除通过lxc-create步骤与名称关联的配置文件和元数据
When you start your containers (for instance by using lxc-start -n vs1), you'll likely get a few audit messages about SELinux access denials.
在启动容器时(例如通过使用命令lxc - start -n vs1),很可能会收到一些关于SELinux访问拒绝的审计消息。
Before being able to use LXC, you need to download Linux kernel source code, apply an appropriate LXC patch, then build, install, and boot it.
在使用lxc之前,首先需要下载Linux内核源代码,应用适当的lxc补丁,然后构建、安装和启动它。
To prepare to use LXC, we will create a bridge (see Resources) and use it to connect our real network interface with the container's network interface.
为了准备使用LXC,我们将创建一个桥(见参考资料),并使用它将我们真正的网络接口与容器的网络接口连接起来。
It's possible to read and manipulate parts of the cgroup filesystem through LXC. Managing CPU usage of each container can be done by reading and adjusting the cpu.shares of the container like so.
可以通过lxc读和操纵cgroup文件系统的一些部分。
It's possible to read and manipulate parts of the cgroup filesystem through LXC. Managing CPU usage of each container can be done by reading and adjusting the cpu.shares of the container like so.
可以通过lxc读和操纵cgroup文件系统的一些部分。
应用推荐