Sign inSign up

snipkode/code

By snipkode

Updated about 3 years ago

Code Server For Development Purpose in a Virtual Machine or VPS

Image
0

47

snipkode/code repository overview

Use this template docker compose below :

version: "2.1"
services:
  code-server:
    image: lscr.io/linuxserver/code-server:latest
    container_name: code-server
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - PASSWORD=password #optional
      - HASHED_PASSWORD= #optional
      - SUDO_PASSWORD=password #optional
      - SUDO_PASSWORD_HASH= #optional
      - PROXY_DOMAIN=code-server.my.domain #optional
      - DEFAULT_WORKSPACE=/config/workspace #optional
    volumes:
      - ./config:/config
    ports:
      - 9006:8443
    restart: unless-stopped

Run container by command :

docker compose up -d

Tag summary

Content type

Image

Digest

sha256:3df3c9bb6

Size

162.8 MB

Last updated

about 3 years ago

docker pull snipkode/code:1.0