Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Conversation

@crosbymichael
Copy link
Contributor

No description provided.

hqhq and others added 30 commits December 5, 2014 17:37
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)
document desired execin process behavior for v1 container specification

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
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)
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)
It was missed in the first place.

Signed-off-by: Qiang Huang <[email protected]>
…ntainer

user: MAINTAINERS: add cyphar (myself) as a maintainer
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)
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)
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]>
phemmer and others added 9 commits February 9, 2015 14:56
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]>
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]>
@crosbymichael crosbymichael force-pushed the merges branch 2 times, most recently from fefe60e to 10c5ee9 Compare February 16, 2015 21:43
@crosbymichael
Copy link
Contributor Author

who added vet!!! ;)

agh

Copy link
Contributor

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.

@mrunalp
Copy link
Contributor

mrunalp commented Feb 16, 2015

@LK4D4 added it :)

@crosbymichael
Copy link
Contributor Author

I updated all the sample configs

@mrunalp
Copy link
Contributor

mrunalp commented Feb 16, 2015

cool, build failures?

@crosbymichael
Copy link
Contributor Author

I'm working on fixing the vet errors

@crosbymichael crosbymichael force-pushed the merges branch 3 times, most recently from 0ef79ea to a41898e Compare February 16, 2015 23:08
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
@crosbymichael
Copy link
Contributor Author

Fixed it by removing vet

@mrunalp
Copy link
Contributor

mrunalp commented Feb 16, 2015

LGTM

mrunalp pushed a commit that referenced this pull request Feb 16, 2015
Update api branch with master changes
@mrunalp mrunalp merged commit cc42996 into docker-archive:api Feb 16, 2015
@crosbymichael crosbymichael deleted the merges branch February 16, 2015 23:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.