TheAppgineer / roon-extension-manager

Roon Extension for managing Roon Extensions
https://github.com/TheAppgineer/roon-extension-manager/wiki#roon-extension-manager
Apache License 2.0
84 stars 10 forks source link

Why do we need to mount the docker socket? #20

Closed ageisen2000 closed 10 months ago

ageisen2000 commented 10 months ago

I'm always wary of mounting the docker socket. Can you explain a bit more on why this is necessary?

Does each addon spin up its own container?

JanKoudijs commented 10 months ago

Does each addon spin up its own container? Exactly that.

When an extension is selected for installation a Docker container is created, and in order to do this the Extension Manager has to talk to the Docker daemon, hence the mounting of the socket. If you run it without the socket mounted there is nothing useful to do.