Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

--console $(tty) doesn't work — runc dropped the option altogether for --console-socket #571

Open
dlespiau opened this issue Jan 12, 2017 · 1 comment

Comments

@dlespiau
Copy link
Contributor

From Archana in PR #513

In that case, stdio is set up correctly. Do not set the tty as
 * the controlling tty for shim, since this makes the shell run with no
 * controlling tty resulting in the following error:
    	"sudo: no tty present and no askpass program specified"

runc actually removed the --console option in their console rewrite: opencontainers/runc@244c9fc#diff-2d3dd7d378b1b441344cf5027a5e8aa7L33

@dlespiau dlespiau changed the title --console $(tty) doesn't work -— runc dropped the option altogether for --console-socket --console $(tty) doesn't work — runc dropped the option altogether for --console-socket Jan 12, 2017
@dlespiau
Copy link
Contributor Author

2 little notes:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

3 participants