The apigateway container needs to run with root privileges as some of the commands executed inside the container are executed by root. Example here.
One way to fix this would be to create a new user beside the api-gateway one, in the same usergroup, and only execute commands inside container with these two existing users.
The
apigateway
container needs to run withroot
privileges as some of the commands executed inside the container are executed byroot
. Example here. One way to fix this would be to create a new user beside theapi-gateway
one, in the same usergroup, and only execute commands inside container with these two existing users.