zl程序教程

您现在的位置是:首页 >  工具

当前栏目

【网址收藏】WSL安装docker(不折腾版)

Docker安装 收藏 网址 WSL 折腾
2023-09-14 09:01:55 时间

docker安装脚本:

sudo apt-get remove docker docker-engine docker.io
sudo apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker-ce

有借鉴价值:
https://blog.csdn.net/weixin_36182972/article/details/104898438