Comment by gingerlime

Comment by gingerlime 19 hours ago

4 replies

I do (most of) my development in docker containers. Usually a project will have a docker compose with web server, database etc.

How can I use this so the yolobox container can interact with the other docker containers (or docker compose)?

Finbarr 19 hours ago

This is a good question and something I explored a little. I’ll need to do further research and come back on what the best option is. There’s a way to give a docker container access to other docker containers but it can open up permissions more than might be desired here.

  • gingerlime 19 hours ago

    Yeah, you can bind mount the host's docker engine with -v /var/run/docker.sock:/var/run/docker.sock ... but yeah, it's potentially dangerous and might also get confusing for the AI agent and/or the user.

waynenilsen 4 hours ago

You can eject to host.docker.internal it’s the easiest way

  • gingerlime 2 minutes ago

    Not sure I understand what you mean. Could you explain?