diff --git a/images/docker-openvscode-server/index.html b/images/docker-openvscode-server/index.html index bc74947b4b..59c2df2a6c 100644 --- a/images/docker-openvscode-server/index.html +++ b/images/docker-openvscode-server/index.html @@ -14,7 +14,7 @@ - SUDO_PASSWORD=password #optional - SUDO_PASSWORD_HASH= #optional volumes: - - /path/to/appdata/config:/config + - /path/to/openvscode-server/config:/config ports: - 3000:3000 restart: unless-stopped @@ -28,7 +28,7 @@ -e SUDO_PASSWORD=password `#optional` \ -e SUDO_PASSWORD_HASH= `#optional` \ -p 3000:3000 \ - -v /path/to/appdata/config:/config \ + -v /path/to/openvscode-server/config:/config \ --restart unless-stopped \ lscr.io/linuxserver/openvscode-server:latest
Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal>
respectively. For example, -p 8080:80
would expose port 80
from inside the container to be accessible from the host's IP on port 8080
outside the container.
-p
)¶Parameter | Function |
---|---|
3000 | Web UI port. |
-e
)¶Env | Function |
---|---|
PUID=1000 | for UserID - see below for explanation |
PGID=1000 | for GroupID - see below for explanation |
TZ=Etc/UTC | specify a timezone to use, see this list. |
CONNECTION_TOKEN= | Optional security token for accessing the Web UI (ie. supersecrettoken ). |
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 . |
SUDO_PASSWORD=password | If this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password. |
SUDO_PASSWORD_HASH= | Optionally set sudo password via hash (takes priority over SUDO_PASSWORD var). Format is $type$salt$hashed . |
-v
)¶Volume | Function |
---|---|
/config | Contains all relevant configuration files. |
Parameter | Function |
---|---|
You can set any environment variable from a file by using a special prepend FILE__
.
As an example:
-e FILE__MYVAR=/run/secrets/mysecretvariable
@@ -54,4 +54,4 @@
--pull \
-t lscr.io/linuxserver/openvscode-server:latest .
The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static
Once registered you can define the dockerfile to use with -f Dockerfile.aarch64
.
/config/workspace
contents.install-extension
helper to compensate for upstream changes.install-extension
as a helper for mods to install extensions..profile
and .bashrc
for the user.insiders
tag.