You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Management Agent can be run as the root user if access to specific locations (example: `/var/log`) within the container environment are restricted to only the root user as described in the following steps. Please also note that the steps given below must be applied prior to container creation. Applying these changes after creating the container is not supported.
107
-
108
-
##### Steps to run as root when using Docker Compose
109
-
110
-
1. Update the .env file to override the agent run-as-user environment variable
111
-
```shell
112
-
$ echo"RUN_AGENT_AS_USER=root">> .env
113
-
```
114
-
**Note: Modifying this environment variable after container creation is not supported. Refer to volume cleanup in Helpful administration commands section and then startover.**
115
-
116
-
##### Steps to run as root when using Docker CLI
117
-
118
-
1. Start a container overriding the agent run-as-user environment variable
**Note: Setting this environment variable after container creation is not supported. Refer to volume cleanup in Helpful administration commands section and then startover.**
123
-
124
-
125
104
#### Steps to execute custom user operations
126
105
127
106
Users can provide custom shell script commands to execute before starting Management Agent as described in the following steps
0 commit comments