I am using crudini to edit a config file in docker-entrypoint.sh with docker swarm
With these commands:
- exec gosu root crudini
- gosu root crudini
- crudini
They all are failed and I get this error
error: failed switching to "root": operation not permitted
How can I fix it? Thanks!