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

Add access to Docker #76

Open
guyou opened this issue Aug 30, 2023 · 3 comments
Open

Add access to Docker #76

guyou opened this issue Aug 30, 2023 · 3 comments

Comments

@guyou
Copy link

guyou commented Aug 30, 2023

It would be awesome to use gotty to access a running Docker container, like docker exec does. Such feature allow to access a Docker without having to install and run gotty inside the container.

@guyou
Copy link
Author

guyou commented Aug 30, 2023

I started a PR #17 (currently still work in progress)

@sorenisanerd
Copy link
Owner

What functionality is missing from e.g. gotty -w docker run -it --rm busybox? That will launch individual docker containers for each GoTTY session.

@guyou
Copy link
Author

guyou commented Sep 23, 2023

You are certainly right. A command like gotty -w docker exec -it my_container does exactly the same.
My main concern was to have a single binary, thus a single process. But the approach you suggest is probably more sustainable.

I will take a detailed look at your suggestion.

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

Successfully merging a pull request may close this issue.

2 participants