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

Commit 03f0aa6

Browse files
committed
add readme text
1 parent 453e092 commit 03f0aa6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22
NSEnter
33
=======
44

5+
This Python package allows entering Linux kernel namespaces (mount, IPC, net, PID, user and UTS) by doing the "setns" syscall.
6+
The command line interface tries to be similar to the nsenter_ C program.
7+
58
Requires Python 3.4.
69

7-
Install::
10+
Install from PyPI::
11+
12+
sudo pip3 install nsenter
13+
14+
Install from git source::
815

916
python3 setup.py install
1017

@@ -13,3 +20,4 @@ Example usage::
1320
docker run -d --name=redis -t redis
1421
sudo nsenter --all --target=`docker inspect --format '{{ .State.Pid }}' redis` /bin/bash
1522

23+
.. _nsenter: http://man7.org/linux/man-pages/man1/nsenter.1.html

0 commit comments

Comments
 (0)