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

Conversation

@dqminh
Copy link
Contributor

@dqminh dqminh commented Dec 11, 2014

This attempts to create a spec for execin process behavior for v1 container specification

Relevant to #286

@crosbymichael @vishh @rjnagal feel free to take this over and change it if i'm missing somethings.

document desired execin process behavior for v1 container specification

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
SPEC.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"contained" or "accessible" from within the container?

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)
@dqminh
Copy link
Contributor Author

dqminh commented Dec 11, 2014

@vishh @vmarmol i made some changes to the spec. PTAL.

@vmarmol
Copy link
Contributor

vmarmol commented Dec 11, 2014

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is PID 1 the parent process for the exec processes? Also mention exec cleanup when PID 1 dies.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, PID 1 is the container's main process. The parent process of the exec process is nsenter-exec

@vishh
Copy link
Contributor

vishh commented Dec 11, 2014

LGTM

@rjnagal
Copy link
Contributor

rjnagal commented Dec 12, 2014

I think this is good as is. We can adjust it as we change exec behavior later.

LGTM, merging.

rjnagal added a commit that referenced this pull request Dec 12, 2014
add spec for exec a new process inside a container
@rjnagal rjnagal merged commit 4940cee into docker-archive:master Dec 12, 2014
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.

4 participants