Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support pts #560

Open
ghost opened this issue Apr 27, 2018 · 5 comments
Open

support pts #560

ghost opened this issue Apr 27, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 27, 2018

It doesn't seem container pilot supports pseudo terminals:

exec: "tty"

gives not a tty, ofcourse default

exec: [ "sh", "-ic", "tty" ]

this command on the other end, times out

@jwreagor
Copy link
Contributor

jwreagor commented May 8, 2018

@untoreh I haven't been able to think of a use case where this would be useful. Maybe I'm just not focused on the area, can you give me an example?

@ghost
Copy link
Author

ghost commented May 9, 2018

I don't have exactly fledged container/cloud example, I mostly run pets with copi, but other containers init services like dumb-init and tini handle it so maybe copi could too, but in general supporting interactive scripts allows for easier debugging, also it would probably be more useful if the -reload flag allowed to just reload singular jobs under copi supervision instead of the whole config

@jwreagor
Copy link
Contributor

jwreagor commented May 9, 2018

Thanks for the info. I'm familiar with dumb-init and tini but not "copi". Do you have a link?

As for -reload, we can't easily change or enhance the semantics around how that functions today. That existing feature is tied to the entire ContainerPilot configuration and process, and not a subset of either.

@ghost
Copy link
Author

ghost commented May 9, 2018

i just meant containerpilot :)

@jwreagor
Copy link
Contributor

jwreagor commented May 9, 2018

haha, fair enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant