Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
c159cb96
Commit
c159cb96
authored
Jul 24, 2009
by
Daniel Lezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the document according the current version
Remove the comment about sharing /dev and fix the lxc-ps option format. Signed-off-by:
Daniel Lezcano
<
dlezcano@fr.ibm.com
>
parent
72439b9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
lxc.sgml.in
doc/lxc.sgml.in
+11
-12
No files found.
doc/lxc.sgml.in
View file @
c159cb96
...
@@ -230,13 +230,11 @@ rootfs
...
@@ -230,13 +230,11 @@ rootfs
<para>Running a system inside a container is paradoxically easier
<para>Running a system inside a container is paradoxically easier
than running an application. Why ? Because you don't have to care
than running an application. Why ? Because you don't have to care
about the resources to be isolated, everything need to be isolated
about the resources to be isolated, everything need to be
except <filename>/dev</filename> which needs to be remounted in
isolated, the other resources are specified as being isolated but
the container rootfs, the other resources are specified as being
without configuration because the container will set them
isolated but without configuration because the container will set
up. eg. the ipv4 address will be setup by the system container
them up. eg. the ipv4 address will be setup by the system
init scripts. Here is an example of the mount points file:
container init scripts. Here is an example of the mount points
file:
<programlisting>
<programlisting>
[root@lxc debian]$ cat fstab
[root@lxc debian]$ cat fstab
...
@@ -425,7 +423,7 @@ rootfs
...
@@ -425,7 +423,7 @@ rootfs
following commands give this information:
following commands give this information:
<programlisting>
<programlisting>
lxc-ls
lxc-ls
lxc-ps -
n
foo
lxc-ps -
-name
foo
lxc-info -n foo
lxc-info -n foo
</programlisting>
</programlisting>
</para>
</para>
...
@@ -449,11 +447,12 @@ rootfs
...
@@ -449,11 +447,12 @@ rootfs
container. Like <command>lxc-ls</command>, <command>lxc-ps</command>
container. Like <command>lxc-ls</command>, <command>lxc-ps</command>
is built on top of <command>ps</command> and accepts the same
is built on top of <command>ps</command> and accepts the same
options, eg:
options, eg:
<programlisting>
<programlisting>
lxc-ps --name foo --forest</programlisting>
lxc-ps -n foo --forest
will display the processes hierarchy for the processes
</programlisting>
belonging the 'foo' container.
will display the process hierarchy for the container 'foo'.
<programlisting>lxc-ps --lxc</programlisting>
will display all the containers and their processes.
</para>
</para>
<para>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment