Debian 安装 Docker 事项:
一、添加 Docker 的官方 GPG 密钥:
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
二、设置 Docker 存储库:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
三、更新包列表:
apt-get update
四、安装 Docker 引擎:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
五、验证安装:
sudo docker run hello-world
- THE END -
最后修改:2024年12月12日

非特殊说明,本博所有文章均为博主原创。
如若转载,请注明出处:https://spacex.run/archives/35
GeorgeMuh
https://t.me/s/bs_1Win/499
GeorgeMuh
https://t.me/s/bs_1Win/1252
GeorgeMuh
https://t.me/bs_1Win/436
GeorgeMuh
https://t.me/bs_1Win/432
GeorgeMuh
https://t.me/s/bs_1Win/1036
GeorgeMuh
https://t.me/bs_1Win/783
GeorgeMuh
https://t.me/s/bs_1Win/849
GeorgeMuh
https://t.me/s/bs_1Win/1187
AceSorcerer
https://t.me/s/Beefcasino_rus/37
Calvinbaw
https://t.me/s/Official_mellstroy_casino/14
Calvinbaw
https://t.me/Official_mellstroy_casino/21
Calvinbaw
https://t.me/Official_mellstroy_casino/17
Calvinbaw
https://t.me/s/Official_mellstroy_casino/19
AllInAce
https://t.me/s/Best_promocode_rus/1336
AllInAce
https://t.me/Best_promocode_rus/1618