Fix #1517, #1521 by adding sudo to examples and installation.
Merge pull request #1537 from metalivedev/1517-sudodocker

Fix #1517, #1521 by adding sudo to examples and installation.
Don't read from stdout in hijack unless attached. Fixes #1503