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
@@ -134,6 +138,8 @@ Container images are configured using parameters passed at runtime (such as thos
134
138
|`-e TZ=Europe/London`| Specify a timezone to use. |
135
139
|`-e CONNECTION_TOKEN=supersecrettoken`| Optional security token for accessing the Web UI. |
136
140
|`-e CONNECTION_SECRET=`| Optional path to a file inside the container that contains the security token for accessing the Web UI (ie. `/path/to/file`). Overrides `CONNECTION_TOKEN`. |
141
+
|`-e SUDO_PASSWORD=password`| If this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password. |
142
+
|`-e SUDO_PASSWORD_HASH=`| Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`. |
137
143
|`-v /config`| Contains all relevant configuration files. |
138
144
139
145
## Environment variables from files (Docker secrets)
@@ -245,6 +251,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
- { env_var: "CONNECTION_TOKEN", env_value: "supersecrettoken", desc: "Optional security token for accessing the Web UI." }
39
39
- { env_var: "CONNECTION_SECRET", env_value: "", desc: "Optional path to a file inside the container that contains the security token for accessing the Web UI (ie. `/path/to/file`). Overrides `CONNECTION_TOKEN`." }
40
+
- { env_var: "SUDO_PASSWORD", env_value: "password", desc: "If this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password." }
41
+
- { env_var: "SUDO_PASSWORD_HASH", env_value: "", desc: "Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`." }
0 commit comments