This is the docker image I use for encapsulating my dev environments. It provides python3 and nodejs.
The image allows the user to use the code-server CLI as is. It defaults to:
code-server --config /root/.config/code-server/config.yaml --user-data-dir /root/.vscode
The config I set is:
bind-addr: 0.0.0.0:8000
auth: password
password: $onne123!
cert: false
Use the following command from the workspace you want to code. The default arguments assume you start the script with mounting your local ~/.vscode directory like this:
docker run \
-p 8000:8000 \
-p 3000:3000 \
-v $(pwd):/workspace \
-v ~/.vscode:/root/.vscode \
ccssmnn/code-server
Content type
-
Digest
Size
478 MB
Last updated
almost 6 years ago
docker pull ccssmnn/code-server