【工具教程】linux 下的docker 入门教程

Linux安装docker

https://ostechnix.com/install-docker-ubuntu/

Add Docker Repository

https://ostechnix.com/install-docker-ubuntu/

First of all, install the necessary certificates and to allow apt package manager to use a repository over HTTPS using command:
$ sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg lsb-release

下面如果由于网络问题无法进行,则参考镜像站一键安装docker

# Next, add Docker's official GPG key by running the following commands:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

https://cloud.tencent.com.cn/developer/article/2528445

# Add the Docker official repository:
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# Update Ubuntu sources list using command:
$ sudo apt update

镜像站一键安装docker

https://www.mliev.com/docs/1ms.run
https://cloud.tencent.com.cn/developer/article/2528445

在这里插入图片描述

安装后发现无法启动docker

参考教程

https://zhuanlan.zhihu.com/p/544310970
https://ostechnix.com/install-docker-ubuntu/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值