spiegel_podman/pkg
Giuseppe Scrivano 72382a12a7
rootless: use a single user namespace
simplify the rootless implementation to use a single user namespace
for all the running containers.

This makes the rootless implementation behave more like root Podman,
where each container is created in the host environment.

There are multiple advantages to it: 1) much simpler implementation as
there is only one namespace to join.  2) we can join namespaces owned
by different containers.  3) commands like ps won't be limited to what
container they can access as previously we either had access to the
storage from a new namespace or access to /proc when running from the
host.  4) rootless varlink works.  5) there are only two ways to enter
in a namespace, either by creating a new one if no containers are
running or joining the existing one from any container.

Containers created by older Podman versions must be restarted.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-04-01 15:32:58 +02:00
..
adapter rootless: use a single user namespace 2019-04-01 15:32:58 +02:00
annotations Spell check strings and comments 2018-05-25 08:45:15 +00:00
apparmor apparmor: don't load default profile in rootless mode 2019-01-29 10:38:52 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime ctime: Drop 32-/64-bit distinction on Linux 2018-07-07 20:35:00 +00:00
firewall Replace existing iptables handler with firewall code 2018-09-10 18:53:27 +00:00
hooks pkg/hooks/exec: Include failed command in hook errors 2019-01-08 21:06:17 -08:00
inspect Export ConmonPidFile in 'podman inspect' for containers 2019-03-18 21:03:22 +01:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs Merge pull request #2522 from mheon/fix_timestamp_format_logs 2019-03-04 13:52:21 -08:00
lookup pkg/lookup: Return ID-only pointers on ErrNo*Entries 2018-12-04 14:46:43 -08:00
namespaces Fix lint 2019-03-28 18:01:36 -04:00
netns Fix godoc comment in pkg/netns 2018-07-27 02:48:16 +00:00
registrar Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
registries Add registry name to fields returned by varlink image search 2019-02-15 15:30:09 -05:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless rootless: use a single user namespace 2019-04-01 15:32:58 +02:00
spec rootless: remove SkipStorageSetup() 2019-04-01 13:24:04 +02:00
sysinfo apparmor: apply default profile at container initialization 2019-01-09 22:18:11 +01:00
tracing OpenTracing support added to start, stop, run, create, pull, and ps 2019-02-18 09:57:08 -05:00
trust Fix up image sign in PR 2108 2019-01-15 12:25:10 -05:00
util utils: call GetRootlessRuntimeDir once 2019-03-29 12:01:13 +01:00
varlinkapi Merge pull request #2784 from QiWang19/digest 2019-03-28 16:51:31 -07:00