code-server (code-server)

February 18, 2026 ยท View on GitHub

VS Code in the browser (code-server)

Example Usage

"features": {
    "ghcr.io/coder/devcontainer-features/code-server:2": {}
}

Options

Options IdDescriptionTypeDefault Value
absProxyBasePathThe base path to prefix to all absproxy requestsstring-
appNameThe name to use in branding. Will be shown in titlebar and welcome message.string-
authThe type of authentication to use. When 'password' is selected, code-server will auto-generate a password. 'none' disables authentication entirely.stringpassword
certPath to certificate. A self signed certificate is generated if none is provided.string-
certHostHostname to use when generating a self signed certificate.string-
certKeyPath to certificate key when using non-generated cert.string-
disableFileDownloadsDisable file downloads from Code. When enabled, users will not be able to download files from the editor.booleanfalse
disableFileUploadsDisable file uploads to Code. When enabled, users will not be able to upload files to the editor.booleanfalse
disableGettingStartedOverrideDisable the coder/coder override in the Help: Getting Started page.booleanfalse
disableProxyDisable domain and path proxy routes.booleanfalse
disableTelemetryDisable telemetry reporting.booleanfalse
disableUpdateCheckDisable update check. Without this flag, code-server checks every 6 hours against the latest GitHub release and notifies once a week when updates are available.booleanfalse
disableWorkspaceTrustDisable Workspace Trust feature. This only affects the current session.booleanfalse
enableProposedAPIComma-separated list of VS Code extension IDs to enable proposed API features for.string-
extensionsComma-separated list of VS Code extensions to install. Format: 'publisher.extension[@version]' (e.g., 'ms-python.python,ms-azuretools.vscode-docker').string-
githubAuthTokenFilePath to a file containing your GitHub auth token.string-
hashedPasswordFilePath to a file containing the hashed password used for authentication. The password should be hashed with argon2 and be in the encoded form. This takes priority over passwordFile.string-
hostThe address to bind to for the code-server. Use '0.0.0.0' to listen on all interfaces.string127.0.0.1
localeSet VS Code display language and language shown on the login page. Format should be an IETF language tag (e.g., 'en', 'fr', 'zh-CN').string-
logFilePath to a file to send stdout and stderr logs to from code-server.string/tmp/code-server.log
passwordFilePath to a file containing the password used for authentication.string-
portThe port to bind to for the code-server.string8080
proxyDomainDomain used for proxying ports.string-
socketPath to a socket. When specified, host and port will be ignored.string-
socketModeFile mode of the socket when using the socket option.string-
trustedOriginsComma-separated list of trusted-origins to disable origin check for. Useful if not able to access reverse proxy configuration.string-
verboseEnable verbose logging.booleanfalse
versionThe version of code-server to install. If empty, installs the latest version.string-
welcomeTextText to show on login page.string-
workspacePath to the workspace or folder to open on startup. Can be a directory or a .code-workspace file.string-
appOpenInThe way to open the app in Coder. Defaults to 'slim-window'.stringslim-window
appShareThe group to use for the app in Coder. Defaults to 'owner'.stringowner
appGroupThe group to use for the app in Coder. Defaults to 'Web Editors'.stringWeb Editors

Note: This file was auto-generated from the devcontainer-feature.json. Add additional notes to a NOTES.md.