| ▲ | kaffekaka 6 hours ago | |
I am testing running agents in docker containers, with a script for managing different images for different use cases etc, and came across this: https://docs.docker.com/ai/sandboxes/ Has anyone given it a try? | ||
| ▲ | TCattd 3 hours ago | parent | next [-] | |
Give this a try: https://github.com/EstebanForge/construct-cli And let me know if you have any issue. | ||
| ▲ | cbsmith 6 hours ago | parent | prev | next [-] | |
I've been using container-use to do something like that: https://container-use.com/introduction | ||
| ▲ | ianlevesque 5 hours ago | parent | prev | next [-] | |
Yes but it’s barely usable. I ended up making my own Dockerfile and a bash script to just ‘docker run’ my setup itself, and as a bonus you don’t need Docker Desktop. I might open source it at some point but honestly it’s pretty trivial to just append a couple of volume mount flags and env vars to your docker run and have exactly what you want included. | ||
| ▲ | ashishb 6 hours ago | parent | prev | next [-] | |
> Has anyone given it a try? Yes, I don't think this will persist caches & configs outside of the current dir, for example, the global npm/yarn/uv/cargo cache or even Claude/Codex/Gemini code config. I ended up writing my own wrapper around Docker to do this. If interested, you can see the link in my previous comments. I don't want to post the same link again & again. | ||
| ▲ | sureglymop 6 hours ago | parent | prev [-] | |
Would test it but it requires "Desktop". Immediate no... no reason to use that. | ||