Sign inSign up

zylarian/dockyard-code-server

By zylarian

Updated 10 months ago

Production-ready Code Server - VS Code in the browser

Image
0

1.9K

zylarian/dockyard-code-server repository overview

Code Server - VS Code in the Browser

Production-ready Docker image for Code Server, allowing you to run VS Code on any remote machine and access it in the browser.

Version: 4.106.2 | Architectures: amd64, arm64

Maintained by Zylarian Innovations LLC

🚀 Quick Start

# Pull and run
docker run -d \
  -p 8080:8080 \
  -v ~/.config/code-server:/home/coder/.config/code-server \
  -v "$PWD":/home/coder/project \
  -e PASSWORD=yourpassword \
  --name code-server \
  zylarian/dockyard-code-server:latest

# Access at http://localhost:8080

📦 Available Tags

TagDescription
latestLatest stable version
4.106.2Specific version
4.106.2-debianSpecific version with explicit Debian tag

⚙️ Configuration

Environment Variables
VariableDescriptionDefault
PASSWORDPassword for accesscoder
HASHED_PASSWORDHashed password (overrides PASSWORD)-
SUDO_PASSWORDPassword for sudo access-
SUDO_PASSWORD_HASHHashed sudo password-
TZTimezoneUTC
Persistent Data

Mount volumes to persist configuration and projects:

volumes:
  - ./config:/home/coder/.config/code-server
  - ./project:/home/coder/project

🔧 Docker Compose

version: '3.8'

services:
  code-server:
    image: zylarian/dockyard-code-server:latest
    container_name: code-server
    environment:
      - PASSWORD=password
      - TZ=UTC
    ports:
      - "8080:8080"
    volumes:
      - ./config:/home/coder/.config/code-server
      - ./project:/home/coder/project
    restart: unless-stopped

🔒 Security

  • Runs as non-root user (coder, UID 1000)
  • Supports password authentication
  • HTTPS support via reverse proxy (Traefik/Nginx) recommended

Tag summary

Content type

Image

Digest

sha256:4664cc76c

Size

194.5 MB

Last updated

10 months ago

docker pull zylarian/dockyard-code-server