Remix.run Logo
gingerlime 17 hours ago

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)?

waynenilsen 2 hours ago | parent | next [-]

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

Finbarr 17 hours ago | parent | prev [-]

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 17 hours ago | parent [-]

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.