My App is composed of three containers:
- Frontend
- Backend
- Worker
I need the Backend to be able to run commands in the worker using the Docker API. It is well explained here https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ (The socket solution part).
But there is a security issue, as the Backend container would also have access to make actions on the Frontend and Backend containers.
So here is my question, is-it possible to limit access to only one container ?
If not, do you have any suggestion ?
Many thanks for your help