- sudo python3 -m pip install pip --upgrade
- sudo apt-get update
- sudo apt-get -y install ca-certificates curl gnupg lsb-release
- curl -fsSL https://download.docker.com/linux/debian/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://download.docker.com/linux/debian \
- $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
- sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
- sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
- sudo apt-get update
- sudo apt-get -y install docker-ce docker-ce-cli containerd.io
- sudo usermod -aG docker $USER
- sudo systemctl reboot
复制代码 可以手动执行以上命令进行安装,也可以下载附件编辑好的
docker_install.sh
(800 Bytes, 下载次数: 1009)
,拷贝到Tinker Edge R上,在终端上执行
- sudo chmod a+x docker_install.sh
- ./docker_install.sh
复制代码
|