This repository was archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 315
Update api branch with master changes #382
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Qiang Huang <[email protected]>
cgroups: add support for cpuset.mems
when the test binary starts, it detects whether it should run the container initialization code or the execin initialization code based on the suppplied arguments. The execin initialization code is taken from docker. also added a sample test for execin process. Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
add support for testing execin
document desired execin process behavior for v1 container specification Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Signed-off-by: Qiang Huang <[email protected]>
This patch adds Aleksa Sarai to the maintainer list for libcontainer's user API. Signed-off-by: Aleksa Sarai <[email protected]> (github: cyphar)
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
cgroup: add support to set MemorySwap
also document that the executor will only try to remove all the children in a best-effort way. Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Set rlimit for execin process
It was missed in the first place. Signed-off-by: Qiang Huang <[email protected]>
cgroups: add failcnt test
…ntainer user: MAINTAINERS: add cyphar (myself) as a maintainer
Signed-off-by: Cyril Thomas <[email protected]>
Signed-off-by: Gary Berger <[email protected]>
add spec for exec a new process inside a container
Adding a function that allows to remove an address set on an interface
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
This patch changes the incorrectly named functions GetPasswdFile, GetGroupFile, GetExecUserFile and several internal components to GetPasswdPath, GetGroupPath, etc -- as these are far more appropriate names and more clearly convey to users what the arguments represent. Signed-off-by: Aleksa Sarai <[email protected]> (github: cyphar)
This patch switches libcontainer's usage of the user/ API to the new version. Signed-off-by: Aleksa Sarai <[email protected]> (github: cyphar)
user: fix function signatures
This adds `type Namespaces []Namespace` so that methods can be added to this slice so that it is easier for consumers to work with the values. Signed-off-by: Michael Crosby <[email protected]>
Signed-off-by: Michael Crosby <[email protected]>
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Changed docker hub pointer to dockercore
define PR_SET_CHILD_SUBREAPER if not set
Now there is function NotifyOnOOM in libcontainer package, which receives *libcontainer.State as argument. Signed-off-by: Alexander Morozov <[email protected]>
This is to support being able to DNAT/MASQ traffic from a container back into itself (moby/moby#4442) Docker-DCO-1.1-Signed-off-by: Patrick Hemmer <[email protected]> (github: phemmer)
When running under child subreaper mode, it's useful for nsenter to be able to reap child processes. We have seen cases where spawned user processes wasnt reaped properly (nvm-sh/nvm#650) Signed-off-by: Daniel, Dao Quang Minh <[email protected]>
handle SIGCHLD when running as child subreaper
Offer the ability to enable hairpin NAT on a per network basis, while keeping it disable by default as it is unsupported by older kernel. Signed-off-by: Arnaud Porterie <[email protected]>
Resurrect hairpin NAT
Docker-DCO-1.1-Signed-off-by: Dan Walsh <[email protected]> (github: rhatdan)
Changes required to keep gcc 5.0 quiet and happy.
Signed-off-by: Alexander Morozov <[email protected]>
Use netlink to set hairpin mode
fefe60e to
10c5ee9
Compare
Contributor
Author
|
who added vet!!! ;) agh |
sample_configs/host-pid.json
Outdated
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conflict markers in this file.
Contributor
|
@LK4D4 added it :) |
10c5ee9 to
a8b5fdc
Compare
Contributor
Author
|
I updated all the sample configs |
a8b5fdc to
217a99e
Compare
Contributor
|
cool, build failures? |
Contributor
Author
|
I'm working on fixing the vet errors |
0ef79ea to
a41898e
Compare
Signed-off-by: Michael Crosby <[email protected]> Conflicts: MAINTAINERS cgroups/cgroups.go cgroups/fs/apply_raw.go cgroups/fs/notify_linux.go cgroups/fs/notify_linux_test.go cgroups/systemd/apply_systemd.go config.go configs/config_test.go console/console.go integration/exec_test.go integration/init_test.go integration/template_test.go integration/utils_test.go linux_notify.go linux_notify_test.go mount/init.go mount/mount_config.go mount/pivotroot.go mount/ptmx.go namespaces/create.go namespaces/exec.go namespaces/execin.go namespaces/init.go namespaces/nsenter/nsenter.c namespaces/nsenter/nsenter.go namespaces/utils.go network/network.go network/types.go network/veth.go notify_linux.go notify_linux_test.go nsinit/exec.go nsinit/main.go nsinit/nsenter.go nsinit/oom.go sample_configs/host-pid.json sample_configs/userns.json security/capabilities/capabilities.go update-vendor.sh
a41898e to
f4cf808
Compare
Contributor
Author
|
Fixed it by removing vet |
Contributor
|
LGTM |
mrunalp
pushed a commit
that referenced
this pull request
Feb 16, 2015
Update api branch with master changes
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.