修改APT源/etc/apt/sources.list

deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse # deb-src http://ports.ubuntu.com/ bionic main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse # deb-src http://ports.ubuntu.com/ bionic-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse # deb-src http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse # deb-src http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse deb http://ports.ubuntu.com/ubuntu-ports/ bionic universe
Code language: PHP (php)

APT软件包恢复

apt-clone restore
Code language: PHP (php)

安装Docker及portainer面板

curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh --mirror Aliyun # docker volume create portainer_data docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
Code language: PHP (php)

分类: Linux

0 条评论

发表评论

Avatar placeholder

您的电子邮箱地址不会被公开。

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据