Mike Brown
c2c0458598
merges latest spec with runc
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2016-02-05 12:47:09 -08:00
Alexander Morozov
4f601205d4
Merge pull request #525 from crosbymichael/exec
...
Load process.json for exec and add detach
2016-02-05 12:37:56 -08:00
Michael Crosby
fbc74c0eba
Add detach and pid-file to restore
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-02-05 11:56:21 -08:00
Michael Crosby
92ab7309d5
Add detach to exec
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-02-05 11:53:45 -08:00
Michael Crosby
e838be38d2
Add load process.json for exec command
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-02-05 11:53:45 -08:00
Michael Crosby
9c9f8eeb4b
Merge pull request #488 from stefanberger/new_session_keyring
...
Create a new session key for every container
2016-02-05 10:48:26 -08:00
Michael Crosby
106e4777f7
Merge pull request #493 from rajasec/processops
...
Added error string for process operations
2016-02-05 10:44:33 -08:00
Stefan Berger
ad22e23aee
Create a new session key for every container
...
Create a new session key ring '_ses' for every container. This avoids sharing
the key structure with the process that created the container and the
container inherits from.
This patch fixes it init and exec.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-02-04 22:05:50 -05:00
Michael Crosby
5fe15a53b6
Merge pull request #496 from LK4D4/remove_sscanf
...
Remove usage of GetMounts from GetCgroupMounts
2016-02-04 14:55:41 -08:00
Michael Crosby
67cca27798
Merge pull request #529 from mlaventure/memory-limit-stat
...
Add limit value to memory stats
2016-02-04 11:21:35 -08:00
rajasec
298cd1b285
Added error string for process operations
...
Signed-off-by: rajasec <rajasec79@gmail.com>
Changing the error code string name as per review comments
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-02-04 11:54:50 +05:30
Qiang Huang
d66c9632bf
Merge pull request #524 from adfernandes/master
...
Add a compatibility header for CentOS/RHEL 6
2016-02-04 14:24:01 +08:00
Mrunal Patel
11a238b891
Merge pull request #522 from crosbymichael/created
...
Update list command and created methods
2016-02-04 09:47:10 +05:30
Mrunal Patel
98f72fe399
Merge pull request #521 from crosbymichael/version-validation
...
Remove version check in runc
2016-02-04 09:45:02 +05:30
Kenfe-Mickael Laventure
7a12c92dbe
Add limit value to memory stats
...
The value is populated with the content of `limit_in_bytes`.
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-02-03 11:54:09 -08:00
Alexander Morozov
97146f4dc6
Remove usage of GetMounts from GetCgroupMounts
...
GetMounts is very cpu-expensive. I'll change other funcs in this package
to reuse code from GetCgroupMounts later.
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-02-01 11:00:23 -08:00
Andrew Fernandes
3c2e77eed5
Add a compatibility header for CentOS/RHEL 6
...
Signed-off-by: Andrew Fernandes <andrew@fernandes.org>
2016-01-29 20:46:50 +00:00
Alexander Morozov
86454a0447
Merge pull request #479 from jfrazelle/exec
...
update exec to pass args and --tty on run
2016-01-29 12:10:34 -08:00
Jessica Frazelle
f931e446b4
update exec to pass args and --tty on run
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2016-01-28 17:45:51 -08:00
Jessica Frazelle
b23613c9c2
update godeps cli version
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2016-01-28 17:45:51 -08:00
Michael Crosby
79d3577743
Merge pull request #523 from crosbymichael/double-exec
...
Remove double exec from command list
2016-01-28 14:22:27 -08:00
Michael Crosby
8dfa57234c
Remove double exec from command list
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-01-28 14:16:19 -08:00
Mrunal Patel
67aa3843e8
Merge pull request #474 from crosbymichael/detach
...
Add detach to runc
2016-01-28 14:09:07 -08:00
Michael Crosby
5cdb1be88f
Merge pull request #517 from hqhq/hq_fix_comment
...
Fix the comment about sendConfig
2016-01-28 14:00:11 -08:00
Michael Crosby
bb6a747825
Add detach to runc
...
By adding detach to runc the container process is the only thing running
on the system is the containers process.
This allows better usage of memeory and no runc process being long
lived. With this addition you also need a delete command because the
detached container will not be able to remove state and the left over
cgroups directories.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-01-28 13:35:13 -08:00
Michael Crosby
1172a1e1e5
Update list command and created methods
...
We don't need a CreatedTime method on the container because it's not
part of the interface and can be received via the state. We also do not
need to call it CreateTime because the type of this field is time.Time
so we know its time.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-01-28 13:32:24 -08:00
Michael Crosby
480e5f4416
Merge pull request #507 from mikebrow/runc-ls-command
...
adds list command
2016-01-28 13:20:07 -08:00
Mike Brown
4c871267db
adds list command, and a timestamp in the container state
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2016-01-28 14:21:06 -06:00
Michael Crosby
1a4a49bf42
Remove version check in runc
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-01-28 10:51:25 -08:00
Qiang Huang
064113363d
Fix the comment about sendConfig
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2016-01-28 09:58:30 +08:00
Mrunal Patel
f22a4fd5ba
Merge pull request #518 from cyphar/add-further-systemd-slice-validation
...
cgroup: systemd: further systemd slice validation
2016-01-27 09:40:19 -08:00
Aleksa Sarai
57ba666ef3
cgroup: systemd: further systemd slice validation
...
Add some further (not critical, since Docker does this already)
validation to systemd slice names, to make sure users don't get cryptic
errors.
Signed-off-by: Aleksa Sarai <asarai@suse.com>
2016-01-27 19:00:52 +11:00
Michael Crosby
7ca2aa4873
Merge pull request #512 from LK4D4/bump_version
...
Bump runc version to 0.0.7
2016-01-26 14:45:16 -08:00
Michael Crosby
7cd384c0e5
Merge pull request #515 from crosbymichael/readall
...
Do not use stream encoders for pipe communication
2016-01-26 14:37:54 -08:00
Alexander Morozov
32ad3ba688
Merge pull request #514 from mrunalp/update_spec
...
Update github.com/opencontainers/specs to a7b50925d8
2016-01-26 14:36:43 -08:00
Mrunal Patel
80c24730fa
Merge pull request #511 from cyphar/fix-systemd-slice-expansion
...
cgroup: systemd: properly expand systemd slice names
2016-01-26 14:34:29 -08:00
Michael Crosby
ddcee3cc2a
Do not use stream encoders
...
Marshall the raw objects for the sync pipes so that no new line chars
are left behind in the pipe causing errors.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-01-26 11:22:05 -08:00
Alexander Morozov
ee0a019448
Merge pull request #513 from duglin/RemoveNullState
...
Remove the nullState
2016-01-26 11:03:32 -08:00
Mrunal Patel
6bfdfce967
Merge pull request #504 from rajasec/readmeupdate
...
Adding user namespace in README
2016-01-25 18:10:50 -08:00
Mrunal Patel
9cd641486a
Update github.com/opencontainers/specs to a7b50925d8
...
This leaves out the internal conversions as we may need to consider
docker backward compatibility for those changes.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-01-25 19:19:15 -05:00
Alexander Morozov
fb2718f8d0
Bump runc version to 0.0.7
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-01-25 13:47:54 -08:00
Alexander Morozov
3268a1ea00
Merge pull request #499 from crosbymichael/state-fixes
...
Fix various state bugs for pause and destroy
2016-01-25 11:33:59 -08:00
Mrunal Patel
e1efaf6094
Merge pull request #510 from hqhq/revert-441-update-date
...
Revert "update date in README"
2016-01-25 09:28:20 -08:00
Aleksa Sarai
8b32914065
cgroup: systemd: properly expand systemd slice names
...
Rather than using '/' to denote hierarchy in slice names, systemd uses
'-' in an odd way. This results in runC incorrectly assuming that
certain kernel features are missing (and using inconsistent paths for
the cgroups not supported by systemd), because the "subsystem path" used
is not the one that systemd has created. Fix all of this by properly
expanding slice names.
Signed-off-by: Aleksa Sarai <asarai@suse.com>
2016-01-25 23:18:34 +11:00
Doug Davis
ff034a5119
Remove the nullState
...
Add a "createdState" in its place since I think that better describes
what its used for.
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-01-25 00:26:11 -08:00
Qiang Huang
045ada9be6
Revert "update date in README"
...
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2016-01-25 14:25:34 +08:00
rajasec
94b206102f
Adding user namespace in README
...
Signed-off-by: rajasec <rajasec79@gmail.com>
Added UID/GID mappings section as per review comments
Signed-off-by: rajasec <rajasec79@gmail.com>
Added UID/GID mappings section as per review comments
Signed-off-by: rajasec <rajasec79@gmail.com>
Change size to 65536 per comments
Signed-off-by: rajasec <rajasec79@gmail.com>
2016-01-25 07:07:44 +05:30
Qiang Huang
690e5d3251
Merge pull request #441 from ZJU-SEL/update-date
...
update date in README
2016-01-25 09:22:55 +08:00
Michael Crosby
59f3066c39
Merge pull request #405 from marcosnils/spec_version
...
Add spec version to runC version cli
2016-01-22 13:55:28 -08:00
Mrunal Patel
1fdcf95ab1
Merge pull request #505 from marcosnils/patch-1
...
Add build status badge
2016-01-22 13:10:11 -08:00