Skip to content

Commit 9f813fd

Browse files
committed
listen on both ipv4 and ipv6 even when running container as root
1 parent 2076aef commit 9f813fd

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
329329

330330
## Versions
331331

332+
* **17.05.26:** - Let server listen on both ipv4 and ipv6 even when running container as root.
332333
* **10.08.25:** - Let server listen on both ipv4 and ipv6.
333334
* **03.06.25:** - Allow setting PWA name using env var `PWA_APPNAME`.
334335
* **13.10.24:** - Only chown config folder when change to ownership or new install is detected.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ init_diagram: |
102102
"code-server:latest" <- Base Images
103103
# changelog
104104
changelogs:
105+
- {date: "17.05.26:", desc: "Let server listen on both ipv4 and ipv6 even when running container as root."}
105106
- {date: "10.08.25:", desc: "Let server listen on both ipv4 and ipv6."}
106107
- {date: "03.06.25:", desc: "Allow setting PWA name using env var `PWA_APPNAME`."}
107108
- {date: "13.10.24:", desc: "Only chown config folder when change to ownership or new install is detected."}

root/etc/s6-overlay/s6-rc.d/svc-code-server/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
2323
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z 127.0.0.1 8443" \
2424
s6-setuidgid abc \
2525
/app/code-server/bin/code-server \
26-
--bind-addr 0.0.0.0:8443 \
26+
--bind-addr "[::]:8443" \
2727
--user-data-dir /config/data \
2828
--extensions-dir /config/extensions \
2929
--disable-telemetry \

0 commit comments

Comments
 (0)