From 880b9c89f12bcf0fbb6169da8a61a87d6edf24bb Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Sun, 12 Feb 2023 06:29:37 -0600 Subject: [PATCH] Bot Updating Documentation --- images/docker-code-server.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/images/docker-code-server.md b/images/docker-code-server.md index 73d8021c33..5d752a40ef 100644 --- a/images/docker-code-server.md +++ b/images/docker-code-server.md @@ -37,7 +37,7 @@ The architectures supported by this image are: | :----: | :----: | ---- | | x86-64 | ✅ | amd64-\ | | arm64 | ✅ | arm64v8-\ | -| armhf| ✅ | arm32v7-\ | +| armhf | ✅ | arm32v7-\ | ## Application Setup @@ -70,7 +70,7 @@ services: environment: - PUID=1000 - PGID=1000 - - TZ=Europe/London + - TZ=Etc/UTC - PASSWORD=password #optional - HASHED_PASSWORD= #optional - SUDO_PASSWORD=password #optional @@ -91,7 +91,7 @@ docker run -d \ --name=code-server \ -e PUID=1000 \ -e PGID=1000 \ - -e TZ=Europe/London \ + -e TZ=Etc/UTC \ -e PASSWORD=password `#optional` \ -e HASHED_PASSWORD= `#optional` \ -e SUDO_PASSWORD=password `#optional` \ @@ -102,6 +102,7 @@ docker run -d \ -v /path/to/appdata/config:/config \ --restart unless-stopped \ lscr.io/linuxserver/code-server:latest + ``` ## Parameters @@ -120,7 +121,7 @@ Docker images are configured using parameters passed at runtime (such as those a | :----: | --- | | `PUID=1000` | for UserID - see below for explanation | | `PGID=1000` | for GroupID - see below for explanation | -| `TZ=Europe/London` | Specify a timezone to use EG Europe/London | +| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). | | `PASSWORD=password` | Optional web gui password, if `PASSWORD` or `HASHED_PASSWORD` is not provided, there will be no auth. | | `HASHED_PASSWORD=` | Optional web gui password, overrides `PASSWORD`, instructions on how to create it is below. | | `SUDO_PASSWORD=password` | If this optional variable is set, user will have sudo access in the code-server terminal with the specified password. |