[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] Addition of socat to Atomic?



Hi,

On Fri, Mar 20, 2015, at 09:13 AM, Andy Goldstein wrote:
> Hi all,
> 
> For OpenShift 3, we are currently using socat on the OpenShift nodes to enable port forwarding from a user’s machine to ports in containers. Would it be possible to add socat to Atomic?

Did you investigate a toolbox container for this?  With `--pid=host` and `--net=host`, you can run a container with socat inside that starts with the host network stack.  Then via a combination of `--pid=host` and `nsenter`, you can access *other* container's network namespaces.

It'd be even easier I think if `socat` directly learned about `setns()`, similar to https://lists.projectatomic.io/projectatomic-archives/atomic-devel/2015-February/msg00064.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]