docker安装vscode-server
2022/1/28 6:08:47
本文主要是介绍docker安装vscode-server,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
docker run -p 8848:8848 -it --rm ubuntu:latest /bin/bash dpkg -i code-server_4.0.1_amd64.deb apt-get update apt-get install \ vim git gcc make sqlite bzip2 telnet net-tools openssl \ libssl-dev build-essential libidn11-dev libidn11 \ libffi-dev zlib1g-dev libbz2-dev libssl-dev libncurses5-dev \ libsqlite3-dev libreadline-dev tk-dev libgdbm-dev libdb-dev \ libpcap-dev xz-utils libexpat1-dev liblzma-dev libffi-dev libc6-dev -y tar -xvf Python-3.8.9.tar.xz ./configure --prefix=/usr/local/python3 --enable-optimizations make make install ln -s /usr/local/python3/bin/python3 /usr/local/bin/python3
export PASSWORD="123456" code-server --port 8848 --host 0.0.0.0 --auth password
这篇关于docker安装vscode-server的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-12-20Docker部署资料:新手入门教程
- 2024-12-19Docker部署实战:新手入门教程
- 2024-12-19Docker部署教程:新手入门详解
- 2024-12-09云原生周刊:在Docker上部署大语言模型
- 2024-12-05Docker教程:新手快速入门指南
- 2024-12-05Docker项目实战:新手教程与案例解析
- 2024-12-04Docker入门教程:快速掌握基础操作
- 2024-12-04Docker入门教程:轻松搭建你的第一个容器化应用
- 2024-12-04Docker-Compose 入门教程:全面解析基础命令与应用场景
- 2024-12-04Docker入门:新手必读的简单教程