# go-namespaces **Repository Path**: mirrors_coreos/go-namespaces ## Basic Information - **Project Name**: go-namespaces - **Description**: DEPRECATED: Golang implementations of Linux Namespaces - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-12-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## go-namespaces Golang implementations of Linux Namespaces ### nspipe nspipe is a simple example application included with go-namespaces. It lets you bind a socket into a namespace and connect the other end to some other tcp address. Outside the namespace in a namespace with routable internet networking: ```sh nspipe -t $TARGET_PID ``` Inside the namespace with private networking: ```sh telnet 127.0.0.1 23 ``` You can also create a new namespace using iproute2 ```sh sudo ip netns add test sudo ip netns exec test netstat -ltup ``` ```sh nspipe -p /var/run/netns/test sudo ip netns exec test netstat -ltup ``` ### Libraries - [github.com/coreos/go-namespaces/net](http://godoc.org/github.com/coreos/go-namespaces/net) - [github.com/coreos/go-namespaces/namespace](http://godoc.org/github.com/coreos/go-namespaces/namespace)