Things that I found useful.
I used the LinuxServer.io Docker image: linuxserver/code-server:4.16.1
You can find the documentation from Linuxserver.io under:
- https://hub.docker.com/r/linuxserver/code-server
- https://docs.linuxserver.io/images/docker-code-server
The original Repo and documentation are also quite useful:
I use different images for all my projects, by doing that I can also specify all the requirements needed for running them.
The server uses port 8443
.
I set DEFAULT_WORKSPACE
to /workspace
, otherwise the default workspace would be under the config folder.
Other variables that you should set:
PGID
PUID
PASSWORD
SUDO_PASSWORD
You should bind these:
/config
/workspace
To something on the host.
See the folder c++
.
See the folder python
.