Add unshare to podman

This command lets the user run a command in a new user namespace like `unshare -u`.
It uses the implementation of unshare in buildah. ( fixes #1388 )

Signed-off-by: Divyansh Kamboj <kambojdivyansh2000@gmail.com>
This commit is contained in:
Divyansh Kamboj
2019-04-21 16:22:50 +05:30
parent 5445d7d104
commit 2a961a7113
6 changed files with 280 additions and 134 deletions

View File

@@ -20,6 +20,7 @@ func getMainCommands() []*cobra.Command {
_refreshCommand,
_searchCommand,
_statsCommand,
_unshareCommand,
}
if len(_varlinkCommand.Use) > 0 {