It is based https://github.com/cdr/code-server
There are preinstalled extensions for each dev stack.
Tags / versions:
- golang version hobord/code-server:golang
- vuejs version hobord/code-server:vuejs
- angular version hobord/code-server:vuejs
docker run --name golangcode --rm -p 8080:8080 --privileged=true hobord/code-server:golang
or map some local project directory:
docker run --rm -p 8080:8080 -v $(pwd):/home/coder/project/src/github.com/{YOURNAME}/{PROJECTREPODIR} --privileged=true hobord/code-server:golang
You should run the container with privileged permission --privileged=true
for run debugger.
- -N, --no-auth, Start without requiring authentication.
- -H, --allow-http, Allow http connections.
- -P, --password , DEPRECATED: Use the PASSWORD environment variable instead. Specify a password for authentication.
- --disable-telemetry, Disables ALL telemetry.
- --trust-proxy, Trust the X-Forwarded-For header, useful when using a reverse proxy.
- --cert
- --cert-key