Skip to content

docker版vscode

练亮斌 edited this page Apr 24, 2022 · 1 revision

可以安装python,lua等支持代码的运行

docker run -d \
  --name=vscode \
  --hostname=vscode \
  --dns=172.17.0.1 \
  -e SUDO_PASSWORD=123456 \
  -e PUID=0 \
  -e PGID=0 \
  -e TZ=Asia/Shanghai \
  -p 3000:3000 \
  -v /root/vscode:/config \
  -v /mnt:/mnt:rslave \
  --restart unless-stopped \
  lscr.io/linuxserver/openvscode-server
Clone this wiki locally