I followed the official drone installation for docker and set up the environment I needed.
Now I need to grant a “trusted” settings to one of my repos, and I need admin privileges for that. Unfortunately, running commands like
drone user update akoidan --admin will fail, because user
akoidan is not an admin user, which I didn’t create in the first case.
Atm I see the only way to archive it: delete the existing docker container and create a new one (because docker doesn’t allow adding env variables to existing containers), which will lead to completely losing all the data.
So I have 2 questions:
- How can I get the admin user by following official drone documentation?
- Why there’s no persistent docker volume while creating a drone server?