Commit Graph

625 Commits

Author SHA1 Message Date
KATOH Yasufumi
7a8f46e955 doc: Add lxc.seccomp.allow_nesting to Japanese lxc.container.conf(5)
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2019-01-28 19:01:40 +09:00
Christian Brauner
50d86993a7
confile: add lxc.seccomp.allow_nesting
This adds the lxc.seccomp.allow_nesting api extension. If
lxc.seccomp.allow_nesting is set to 1 then seccomp profiles will be
stacked. This way nested containers can load their own seccomp policy on
top of the policy that the outer container might have applied.

Cc: Simon Fels <simon.fels@canonical.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2019-01-07 15:34:08 +01:00
KATOH Yasufumi
b73cea6088 Add allowrunning option into Japanese lxc-copy(1)
Update for commit 754076f

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-11-27 01:16:04 +09:00
2xsec
1cfc8b9ab7
doc: Add -a, --allowrunning arg to Korean lxc-copy(1)
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2018-11-23 18:33:12 +09:00
Christian Brauner
137da20a4d
Merge pull request #1943 from bhelm/master
Added allowrunning command line option for snapshotting running containers
2018-11-23 11:51:47 +13:00
Josh Soref
f4a4144e4f spelling: without
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 08:26:30 +00:00
Josh Soref
8927207bf4 spelling: syscall
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 08:12:17 +00:00
Josh Soref
69ba0789a5 spelling: pertains
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 07:47:48 +00:00
Josh Soref
0b3b4011bd spelling: overlayfs
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 07:37:13 +00:00
Josh Soref
69e3b3bebf spelling: otherwise
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 07:35:39 +00:00
Josh Soref
af5ddde7df spelling: namespace
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 07:26:07 +00:00
Josh Soref
75b4629339 spelling: javascript
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 07:16:39 +00:00
Josh Soref
a8b46a6bee spelling: indefinitely
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 07:12:08 +00:00
Josh Soref
d0d684687a spelling: hierarchy
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 07:08:31 +00:00
Josh Soref
25fa6f8ccb spelling: control
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 06:54:21 +00:00
Josh Soref
cfd1088d50 spelling: checkpoint
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 06:50:25 +00:00
Josh Soref
06d06ad431 spelling: backingstorage
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 06:49:12 +00:00
Josh Soref
a1e0e6df9c spelling: architecture
Signed-off-by: Josh Soref <jsoref@gmail.com>
2018-10-30 06:47:09 +00:00
Bernd Helm
754076f555 added allowrunning command line option for snapshotting alive containers
Signed-off-by: Bernd Helm <bernd.helm@helmundwalter.de>
2018-10-22 09:07:46 +02:00
2xsec
737f5220a2 doc: Add -u and -g args to Korean lxc-attach(1) and lxc-execute(1)
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2018-10-07 17:37:43 +09:00
2xsec
ec4f666f23 doc: fix indent
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2018-10-07 17:00:50 +09:00
KATOH Yasufumi
a4a0bba4e2 doc: Add -u and -g args to Japanese lxc-attach(1) and lxc-execute(1)
Update for commit ddd51fd and 0840104

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-09-27 01:21:41 +09:00
Christian Brauner
084010482f
doc: tweak documentation a little
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-09-24 22:07:34 +02:00
Christian Brauner
aafa5f96f6
api_extensions: introduce lxc_has_api_extension()
This is modeled after LXD's API extension checks. This allows API users
to query the given LXC instance whether a given API extension is
supported.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-09-21 15:17:15 +02:00
Christian Brauner
ddd51fdb8e
tools/lxc-attach: add -u and -g arguments
This lets users specify uids and gids to switch to.

Closes #2591.

Signed-off-by: Disassembler disassembler@dasm.cz
[christian.brauner@ubuntu.com: adapt coding style + commit message]
2018-09-11 10:54:46 +02:00
Tobin C. Harding
eb4225a047 doc: Fix minor grammatical errors
Current we have a few minor grammatical errors in the documentation for
lxc container configuration.

Fix minor grammatical errors.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
2018-08-16 15:28:31 +10:00
KATOH Yasufumi
e0e360c589 doc: Add incompatibility with network type=none into Japanese man
Update for commit e4b3e36

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-07-31 16:03:31 +09:00
Alexandros Kosiaris
e4b3e369f8 Unprivileged's incompatibility with type=none docs
Unprivileged containers are not compatible with sharing the
host namespace due to an inability to mount sysfs. Add docs
in lxc.container.conf to document that out.

Refs #2463

Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
2018-07-30 15:18:27 +03:00
Christian Brauner
a633a1edf1
Merge pull request #2488 from 2xsec/bugfix
docs: tools: -d/--daemonize for lxc-execute
2018-07-22 07:59:56 +02:00
2xsec
b571ff38da docs: tools: -d/--daemonize for lxc-execute
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2018-07-22 13:26:52 +09:00
2xsec
ca5a12bb4d docs: add long options of lxc-unshare
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
2018-07-21 16:48:29 +09:00
KATOH Yasufumi
fd5de02921 doc: Translate lxc.monitor.signal.pdeath into Japanese in lxc.container.conf(5)
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-07-17 01:14:06 +09:00
Christian Brauner
258f80519f
confile: add lxc.monitor.signal.pdeath
Set the signal to be sent to the container's init when the lxc monitor exits.
By default it is set to SIGKILL which will cause all container processes to be
killed when the lxc monitor process dies.
To ensure that containers stay alive even if lxc monitor dies set this to 0.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-07-16 12:50:57 +02:00
KATOH Yasufumi
15c226877e doc: Fix size unit style in Japanese lxc.container.conf(5)
fix "kB" to "KB", and tweak description. Update for commit 6d276ed and
6d276ed .

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-05-15 18:07:27 +09:00
KATOH Yasufumi
f6300ff580 doc: Add "-d/--daemon" option to Japanese lxc-execute(1)
Update for commit 4160ef0

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-05-15 17:52:46 +09:00
Christian Brauner
6d276edc1d
utils: fix parse_byte_size_string() coding style
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-05-11 13:08:20 +02:00
l00355512
39ebeb725b support case ignored suffix for sizes
suffix of console max size and console buffer max size

Signed-off-by: l00355512 <liuhao27@huawei.com>
2018-05-11 09:47:49 +08:00
Christian Brauner
4160ef02e5
tools: document -d/--daemonize for lxc-execute
Closes #2280.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-04-15 22:43:21 +02:00
KATOH Yasufumi
09dd49ab20 doc: Tweak Japanese translation in lxc.container.conf(5)
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-04-03 21:29:09 +09:00
Christian Brauner
5eab47bce5
confile: expand lxc.environment
When a bare environment variable is specified then retrieve the value from the
current environment. For example, setting

lxc.environment = PATH

will cause LXC to inherit the value of PATH from the current environment.

Suggested-by: Jonathan Calmels <jcalmels@nvidia.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-03-31 17:57:00 +02:00
KATOH Yasufumi
07a911c854 doc: Remove aufs in Japanese man pages
* and tweak English lxc-copy(1)

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-03-16 18:40:14 +09:00
Christian Brauner
12e6ab5d23
tree-wide: remove aufs storage driver
We've announced quite a while back and printed out errors and warning everytime
someone used the aufs driver.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-03-15 17:24:49 +01:00
KATOH Yasufumi
d9874b217a doc: Add lxc.console.size and remove lxc.console.buffer.logfile in Japanese man pages
Update for commit 861813e and 23e0d9a for lxc.container.conf(5)

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-03-02 15:09:34 +09:00
Christian Brauner
e144a06bd7
tree-wide: remove python3 bindings
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-28 10:05:33 +01:00
Christian Brauner
a9145d622f
tree-wide: cleanup
- remove legacy binaries
- conditionalize creation of docs and tests for the command line tools and the
  shared library helper commands

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-28 10:05:33 +01:00
Christian Brauner
8d0609371e
autotools: add --{enable,disable}-{commands,tools}
This allows users to only compile the shared libray without having to compile
any of the command line tools or command helpers for the shared library.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-28 10:05:30 +01:00
Christian Brauner
23e0d9af76
confile: remove lxc.console.buffer.logfile
All of its functionality is now covered over by lxc.console.logfile.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-27 21:38:31 +01:00
Christian Brauner
861813e52b
confile: add lxc.console.size
lxc.console.size regulates the size of the console log file. This is intended
to replace lxc.console.buffer.logfile. The current semantics are:

- if lxc.console.size is not set:
  - no limit is placed on the size of the log file
- if lxc.console.size is set:
  - if lxc.console.rotate is set and the next write would exceed the limit:
    - write as much as possible into the old log file
    - rotate the log file
    - write as much as posible into the new log file
    - discard remaining bytes (scenario shouldn't be possible in normal
      circumstances)
  - if lxc.console.rotate is not set and the next write would exceed the limit:
    - keep overwriting the current log file

To make the log file a mirror of the in-memory ringbuffer simply set:
lxc.console.buffer.size == lxc.console.size.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-02-27 21:38:29 +01:00
KATOH Yasufumi
dc55f0051a doc: Add cgroup-full:*:force to Japanese lxc.container.conf(5)
Update for commit e7806b2

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
2018-02-22 13:54:03 +09:00
Stéphane Graber
275b76d27b
Merge pull request #2179 from brauner/2018-02-21/docs_add_cgroup_full_force
doc: document cgroup-full:{mixed,ro,rw}:force
2018-02-21 12:23:14 -05:00