code-server

code-server

Docker 应用程序 from linuxserver's Repository

概述

Code-server(https://coder.com) is VS Code running on a remote server, accessible through the browser.

  • Code on your Chromebook, tablet, and laptop with a consistent dev environment.
  • If you have a Windows or Mac workstation, more easily develop for Linux.
  • Take advantage of large cloud servers to speed up tests, compilations, downloads, and more.
  • Preserve battery life when you're on the go.
  • All intensive computation runs on your server.
  • You're no longer running excess instances of Chrome.

运行时参数

网络用户界面
http://[IP]:[PORT:8443]
网络
bridge
外壳
bash
特权
false

模板配置

WebUIPorttcp

web gui

目标
8443
默认值
8443
AppdataPathrw

Contains all relevant configuration files.

目标
/config
PASSWORDVariable

Optional web gui password, if `PASSWORD` or `HASHED_PASSWORD` is not provided, there will be no auth.

默认值
password
HASHED_PASSWORDVariable

Optional web gui password, overrides `PASSWORD`, instructions on how to create it is below.

SUDO_PASSWORDVariable

If this optional variable is set, user will have sudo access in the code-server terminal with the specified password.

默认值
password
SUDO_PASSWORD_HASHVariable

Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`.

PROXY_DOMAINVariable

If this optional variable is set, this domain will be proxied for subdomain proxying. See Documentation(https://github.com/coder/code-server/blob/main/docs/guide.md#using-a-subdomain)

默认值
code-server.my.domain
DEFAULT_WORKSPACEVariable

If this optional variable is set, code-server will open this directory by default

默认值
/config/workspace
PWA_APPNAMEVariable

If this optional variable is set, the PWA app will the specified name.

默认值
code-server
PUIDVariable

Container Variable: PUID

默认值
99
PGIDVariable

Container Variable: PGID

默认值
100
UMASKVariable

Container Variable: UMASK

默认值
022

下载统计数据

68,271,747
下载总数
356,550
本月
229,085
平均每月

长期下载总量

加载图表...

详细信息

存储库
lscr.io/linuxserver/code-server
最后更新2026-05-02
初见2019-06-27

在Unraid 上运行 code-server 。

code-server 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。