Closed joanlopez closed 1 year ago
Hey @joanlopez , I'm so sorry you were waiting on this issue for so long - I'm actually not sure why I didn't pick it up before!
I have added a note to the documentation as you suggested. See https://docs.olivetin.app/action-container-control.html
Is this note OK for you? Thanks for the suggestion, and sorry it took so long!
Excellent! Thanks for taking care @jamesread! :)
Is your feature request related to a problem? Please describe. After setting up a new instance of OliveTin with Docker (Compose), I started to get "Operation Not Permitted" errors when trying to run OliveTin actions that involve Docker commands. So, after some explorations (see this section from official docs and this related StackOverflow thread), I figured out I need to run my OliveTin container in "privileged mode" if I want to give it permission to run Docker commands.
However, that's apparently documented nowhere (as far as I've seen) on OliveTin documentation.
Describe the solution you'd like It'd be great to add a mention to it, in a similar way the documentation already mentions some peculiarities of running Docker commands from a Docker-based OliveTin installation. At least, that would prevent my future self to fall into the same issues.
Describe alternatives you've considered I might be wrong, the "privileged mode" could not be the correct way to go. But, even in that case, I guess there's some room for improvement in the same direction (preventing current & future OliveTin users fall into those issues when trying to run Docker commands from a Docker-based installation).
Additional context -
Thanks! 🙏🏻