-
Notifications
You must be signed in to change notification settings - Fork 0
Ubuntu_docker_vscode
ycrad edited this page Feb 21, 2024
·
4 revisions
- 使用如下命令安装
git
并获取stellauto-env
项目:sudo apt install git git clone https://github.com/ycraurora/stellauto-env.git # 注意clone位置 cd stellauto-env/docker sudo chmod a+x install_docker.sh startup.sh ./install_docker.sh ./startup.sh
- 使用如下命令查看Docker镜像与容器
docker images docker ps -a
Ubuntu下安装Visual Studio Code
有两种方式:
- 从 Vscode官网 下载最新版本的
Visual Studio Code
并通过如下命令安装:或者sudo dpkg -i $file_name.deb
sudo apt install $file_name.deb
- 通过如下命令添加
Visual Studio Code
源并安装:sudo apt install curl curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' sudo apt update sudo apt install code
后续安装扩展与连接Docker容器请参考此处
Author: ycrad(主页) Email: [email protected]