#Abusing the host

1 messages ยท Page 1 of 1 (latest)

dusky smelt
#

Hi, newbie here!

I understand, it would generally be a very bad idea to hijack and abuse things from the host. However, I currently have many tasks expecting /var/run/docker.sock, and I'd be willing to accept the bad practice for the moment.

Been digging a while, but I did not yet manage to find a way to make /var/run/docker.sock available inside a container created by the dagger engine.

Is this possible?

If it is, I'd appreciate some brief hints on how to put things together.

Thanks
Andreas

marble mason
#

This example above is for the Typescript SDK, but the method is also available on Go and Python SDK

marble mason
#

hey @dusky smelt ๐Ÿ‘‹ did you manage to make /var/run/docker.sock available inside a container?

dusky smelt