#dokcer部署code-server web版vscode+golang
codercom/code-server:latest不支持插件在线安装 codercom/code-server:v2目前为最新版1.38
#创建 docker rm -f vscode docker run -dit --restart=always \ --name vscode -h vscode \ -u root -p 8086:8080 \ -v /data/vscode:/root \ -e PASSWORD=111111 \ -v /etc/localtime:/etc/localtime:ro \ codercom/code-server:v2 --auth password #查看 docker ps -l docker logs vscode
来自:https://www.cnblogs.com/elvi/p/11579856.html
安装golang
sudo apt-get install golang
go get github.com/mdempsky/gocode