OliveTin / docs.olivetin.app

Documentation for OliveTin.
https://docs.olivetin.app
GNU Affero General Public License v3.0
3 stars 9 forks source link

Mention privileged mode on Docker/Compose instructions #5

Closed joanlopez closed 1 year ago

joanlopez commented 2 years ago

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! 🙏🏻

jamesread commented 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!

joanlopez commented 1 year ago

Excellent! Thanks for taking care @jamesread! :)