
saracen9/coderA basic, customised, installation of cdr/code-server to provide a VS Code IDE in a web-browser. Designed to enable development from an iPad Pro for a generic stack that includes:
Pyenv)The easiest way to get setup and running in a semi-production sense is to:
strict)bash# This will start a code-server container and expose it at [***] # It will also mount your current directory into the container as `/home/coder/project` # and forward your UID/GID so that all file system operations occur as your user outside # the container. # # Your $HOME/.config is mounted at $HOME/.config within the container to ensure you can # easily access/modify your code-server config in $HOME/.config/code-server/config.json # outside the container. mkdir -p ~/.config docker run -it --name code-server -p 127.0.0.1:8080:8080 \ -v "$HOME/.config:/home/coder/.config" \ -v "$PWD:/home/coder/project" \ -u "$(id -u):$(id -g)" \ -e "DOCKER_USER=$USER" \ -e PASSWORD=mypassword \ saracen9/coder --cert
You can optionally run this with access to the host docker daemon as well so that docker commands (such as building) will work from within the VS Code terminal. Please ensure you're comfortable with the security implications of doing so.
bashmkdir -p ~/.config docker run -it --name code-server -p 127.0.0.1:8080:8080 \ -v "$HOME/.config:/home/coder/.config" \ -v "$PWD:/home/coder/project" \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /usr/bin/docker:/usr/bin/docker \ -u "$(id -u):$(id -g)" \ -e "DOCKER_USER=$USER" \ -e PASSWORD=mypassword \ saracen9/coder --cert
NB: In order for certain extension functionality to work (ie. those that require service workers) as well as load remote resources you'll need to provide trusted certs by your browser (eg. LetsEncrypt).
These are features I'd like to have but haven't yet implemented.




manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务