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 Docker Container Support #1422

Closed
zapgroupdev opened this issue Nov 11, 2024 · 7 comments
Closed

Add Docker Container Support #1422

zapgroupdev opened this issue Nov 11, 2024 · 7 comments

Comments

@zapgroupdev
Copy link

Similar to Autogen's DockerCommandLIneCodeExecutor to replace local code runs

@manthanguptaa
Copy link
Contributor

Hey @zapgroupdev, I am trying to understand your requirements more here. Do you mean you want the ability to run the cookbook examples in docker containers?

@zapgroupdev
Copy link
Author

zapgroupdev commented Nov 11, 2024 via email

@zapgroupdev
Copy link
Author

zapgroupdev commented Nov 11, 2024

So for example I'd have PythonAgent output code developed and in a conversation pass it to DockerExecutor which builds a container based on an app image to run the code and return the output. Even adding it as a tool to the PythonAgent would be nice.

@manthanguptaa
Copy link
Contributor

@zapgroupdev so a docker tool support should be good I guess?

@ysolanky
Copy link
Contributor

Closing due to inactivity

@vanetreg
Copy link

@zapgroupdev so a docker tool support should be good I guess?

Yes, in Autogen AFAIK it's the default that generated code runs in a separate Docker container
https://microsoft.github.io/autogen/0.2/blog/2024/01/23/Code-execution-in-docker/
, but also in CrewAI it's configurable.

@dirkbrnd
Copy link
Contributor

@zapgroupdev so a docker tool support should be good I guess?

Yes, in Autogen AFAIK it's the default that generated code runs in a separate Docker container
https://microsoft.github.io/autogen/0.2/blog/2024/01/23/Code-execution-in-docker/
, but also in CrewAI it's configurable.

Yeah I agree this is a valuable addition.
We'll take a look at it, thanks for bringing it up again!

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

5 participants