Title logo
linuxserver/code-server.

27,228,621 169 arm arm64 amd64

Build Information

General build information for this image

Docker Hub linuxserver/code-server
Build Time 25 Nov 2020 06:17:23
Category Development
Synchronised Yes
Stable Yes
Deprecated No

Tracked Tags

Known tags which link to a specific branched app version.

Branch Version Built
development version-3.0.1 02 Nov 2020 at 21:16:14
latest version-v3.7.3 25 Nov 2020 at 06:17:22

Daily Pull Statistics

Running this as a container

Basic examples for getting this image running as a container

Docker Compose

---
version: "2"
services:
  code-server:
    image: linuxserver/code-server:version-v3.7.3
    container_name: code-server
    restart: unless-stopped
    environment:
      - TZ=Europe/London # Specify a timezone to use EG Europe/London
      - SUDO_PASSWORD=password # If this optional variable is set, user will have sudo access in the code-server terminal with the specified password.
      - PUID=1000 # for UserID
      - PROXY_DOMAIN=code-server.my.domain # If this optional variable is set, this domain will be proxied for subdomain proxying.
      - PGID=1000 # for GroupID
      - PASSWORD=password # Optional web gui password, if not provided, there will be no auth.
    volumes:
      - /host/path/to/config:/config # Contains all relevant configuration files.
    ports:
      - 8443:8443/tcp # Web UI

CLI

docker create \
  --name=code-server \
  -e TZ=Europe/London `# Specify a timezone to use EG Europe/London` \
  -e SUDO_PASSWORD=password `# If this optional variable is set, user will have sudo access in the code-server terminal with the specified password.` \
  -e PUID=1000 `# for UserID` \
  -e PROXY_DOMAIN=code-server.my.domain `# If this optional variable is set, this domain will be proxied for subdomain proxying.` \
  -e PGID=1000 `# for GroupID` \
  -e PASSWORD=password `# Optional web gui password, if not provided, there will be no auth.` \
  -v /host/path/to/config:/config `# Contains all relevant configuration files.` \
  -p 8443:8443/tcp `# Web UI` \
  --restart unless-stopped \
  linuxserver/code-server:version-v3.7.3