Repository navigation
Conversation
Closes: moby#10163 Share PID namespace with host is already supported, we can use debug tools like strace in container on pids in host, it will be cool if we can strace in container on pids in another container. Signed-off-by: Qiang Huang <[email protected]>
|
Well, test failed, figured pid namespace would be a bit complicated for this. After my patch, we can share pid namespace with other containers, but not for the first process of the container, because
I think we have two ways to fix this:
Both of them are not easy to do, think I need some help here. @crosbymichael @LK4D4 @rhatdan |
|
Collective review with @crosbymichael @jfrazelle @calavera We're +1 on design, however we think you're gonna have to go with the second solution (i.e., use nsexec.c to do all |
|
@icecrime This feature lacks of libcontainer support, docker-archive/libcontainer#609 is working on libcontainer part, when that one is merged, this PR just needs a rebase, I'll do that and ask for reopen by then, thanks. |
|
I believe once #20956 is merged this can be rebased and work can continue on shared PID namespaces. |
|
Yeah, once it's reopen, I'll rework it. |
|
@calavera - I meant to leave it closed but the "Reopen and comment" button I had never used before looked so interesting :) Thanks for cleaning up--agreed :) |
Closes: #10163
Share PID namespace with host is already supported, we can use
debug tools like strace in container on pids in host, it will be
cool if we can strace in container on pids in another container.
Signed-off-by: Qiang Huang [email protected]