以安装python3.12为例
curl https://pyenv.run | bash
如果访问不了,可以用下面的实现
该脚本会自动检测系统环境,支持NVIDIA显卡的GPU信息获取,并会处理没有GPU的情况。显示信息使用GB作为显存单位,百分比数据保留1位小数
docker pull ubuntu:20.04
启动容器
docker run -itd --name ubuntu-ssh -p 2222:22 ubuntu:20.04
进入容器
docker exec -it ubuntu-ssh /bin/bash
Ubuntu,是一款基于Debian Linux的以桌面应用为主的操作系统,内容涵盖文字处理、电子邮件、软件开发工具和Web服务等,可供用户免费下载、使用和分享。
下载地址: https://mirrors.aliyun.com/ubuntu/
相关仓库
Ubuntu安装源(ubuntu-releases): https://developer.aliyun.com/mirror/ubuntu-releases
Ubuntu ARM源(ubuntu-ports): https://developer.aliyun.com/mirror/ubuntu-ports
Ubuntu过期源(oldubuntu-releases): https://developer.aliyun.com/mirror/oldubuntu-releases
Ubuntu其他架构安装镜像(ubuntu-cdimage): https://developer.aliyun.com/mirror/ubuntu-cdimage