Hacker News new | ask | show | jobs
by aw3c2 3960 days ago
I was told docker runs things as root and is not secure, just convenient.
1 comments

There's no reason a Docker container has to run as root. The daemon does, but that's another issue.
If you are connecting to X, it doesn't matter. You can attack all other X11 clients by design. This is why GNOME is pushing so heavily on xdg-app (for the sandbox) and the wayland-enabled GNOME shell (so apps can't snoop on each other).
Subuser uses XPRA, so it shouldn't suffer from this problem: http://subuser.org/news/0.3.html#the-xpra-x11-bridge
Wayland doesn't have the Xinput disaster.