安装依赖apt install pkg-config libglvnd-dev libglvnd0防火墙放行kysec_set -n exectl -v kysoft NVIDIA-Linux-x86_64-555.52.04.runsetstatus -f kid off安装赋予权限后进行安装./NVIDIA-Linux-x86_64-555.52.04.run选项翻译选择Install NVIDIA'S 32-BIT compatibility libraries?英伟达32位兼容库NOWould you like to register the kernel是否安装DKMS，这会引起内核变化YESThe initramfs will likely need to be rebuilt重建Initramfs内核引导Rebuild initramfs（重建引导would you like to run the nvidia-xconfig是否要通过英伟达的xconfig自动更新配置XNO
前言麒麟V10系统，存在两种发行版：基于Ubuntu 、基于CentOS基于Ubuntu软件可使用 Ubuntu 20.04 (focal) 的软件包软件源采用阿里云软件源apt源：https://mirrors.aliyun.com/ubuntu/dists/focal/docker源：https://mirrors.aliyun.com/docker-ce/linux/ubuntu创建Docker软件源添加GPG keycurl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg添加软件源echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://mirrors.aliyun.com/docker-ce/linux/ubuntu focal stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null基于CentOS软件可使用 CentOS 7 的软件包。软件源采用清华大学软件源yum源：https://mirror.tuna.tsinghua.edu.cn/centos-vault/centos/7/extrasdocker源: https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7创建Docker软件源编辑软件源vi /etc/yum.repos.d/docker-ce.repo输入以下内容[centos-extras] name=Centos extras - $releasever - $basearch baseurl=https://mirror.tuna.tsinghua.edu.cn/centos-vault/centos/7/extras/x86_64/ enabled=1 gpgcheck=0 [docker-ce-stable] name=Docker CE Stable - $basearch baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/$basearch/stable enabled=1 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-stable-debuginfo] name=Docker CE Stable - Debuginfo $basearch baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/debug-$basearch/stable enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-stable-source] name=Docker CE Stable - Sources baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/source/stable enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-test] name=Docker CE Test - $basearch baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/$basearch/test enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-test-debuginfo] name=Docker CE Test - Debuginfo $basearch baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/debug-$basearch/test enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-test-source] name=Docker CE Test - Sources baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/source/test enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-nightly] name=Docker CE Nightly - $basearch baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/$basearch/nightly enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-nightly-debuginfo] name=Docker CE Nightly - Debuginfo $basearch baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/debug-$basearch/nightly enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg [docker-ce-nightly-source] name=Docker CE Nightly - Sources baseurl=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/source/nightly enabled=0 gpgcheck=1 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/gpg安装DockerCEyum update yum install docker-ce或apt update apt install docker-ce安装插件apt install docker-compose-pluginapt install docker-buildx-plugin离线安装如果需要离线环境安装，则自行下载rpm或deb包，进行安装Docker软件下载地址发行版地址CentOShttps://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/x86_64/stable/Packages/Ubuntuhttps://mirrors.aliyun.com/docker-ce/linux/ubuntu/dists/focal/pool/stable/amd64/以CentOS举例，需要如下软件包软件包名称containerd.io-1.6.31-3.1.el7.x86_64.rpmdocker-buildx-plugin-0.13.1-1.el7.x86_64.rpmdocker-ce-26.1.3-1.el7.x86_64.rpmdocker-ce-cli-26.1.3-1.el7.x86_64.rpmdocker-ce-rootless-extras-26.1.3-1.el7.x86_64.rpmdocker-compose-plugin-2.26.1-1.el7.x86_64.rpm依赖软件下载地址发行版地址CentOShttps://mirror.tuna.tsinghua.edu.cn/centos-vault/centos/7/extras/x86_64/Packages/Ubuntuhttps://mirrors.aliyun.com/ubuntu/dists/focal/以CentOS举例，需要如下依赖包依赖包名称fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm... 其他依赖从上述地址自行获取 ...