Hey guys.
In terms of best practices and security, is it okay to change the permissions of the /usr/bin/docker and /var/run/docker?
We have a container that needs to execute docker commands. We bind mount the /usr/bin/docker and /var/run/docker.socket, instead of installing docker into the container.
But, the problem is that those folders have permissions set only for the root user to rwx.