1. 安装docker

2. 拉取vscode-server镜像

docker pull jmcdice/vscode-server

3. 运行容器

docker run -d -p 80:8080 jmcdice/vscode-server

4. 切换apt源

​https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/​