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

Make the Docker Sandbox Stateful (e.g., keep track of all cded directories) #597

Closed
wants to merge 1 commit into from

Conversation

xingyaoww
Copy link
Collaborator

This PR tries to resolve the issue discussed here by making the Docker Sandbox Stateful (e.g., keeping track of all cded directories).

The current draft solution (not working!) is built on dockerpty, but i feel it is kinda tricky (may need more tweaks) to get it working since I'm not an expert in PTY :-(

Will try to look into this in the next few days -- suggestions on how to proceed will be appreciated!

Copy link
Collaborator

@rbren rbren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks powerful! Will try it out 🦾

)
self._attach_sockets()
self.stdin_stream.write("echo 'hello'\n".encode("utf-8"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we remove this line?

@xingyaoww
Copy link
Collaborator Author

A potentially better implementation at #847

@xingyaoww
Copy link
Collaborator Author

Close due to the merge of #847

@xingyaoww xingyaoww closed this Apr 8, 2024
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 this pull request may close these issues.

2 participants