Merge pull request #546 from liangbinfudan/master

ubuntu.md update #545
pull/548/head
Baohua Yang 2024-09-26 16:38:42 -07:00 committed by GitHub
commit 7ec5772432
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 21 additions and 13 deletions

View File

@ -6,23 +6,31 @@
###
Docker [Ubuntu](https://ubuntu.com/server) 操作系统
Docker [Ubuntu](https://ubuntu.com/server) 操作系统。但是较旧的版本上将不会有Docker新版本的持续更新以截至2024年中的几个 Ubuntu LTSLong Term Support长期支持版本为例
* Ubuntu Hirsute 21.04
* Ubuntu Groovy 20.10
* Ubuntu Focal 20.04 (LTS)
* Ubuntu Bionic 18.04 (LTS)
* Ubuntu Noble 24.04 (LTS)Docker v27.2.1
* Ubuntu Jammy 22.04 (LTS), Docker v27.2.1
* Ubuntu Focal 20.04 (LTS), Docker v27.2.1
* Ubuntu Bionic 18.04 (LTS)Docker v24.0.2
Docker 64 x86 ARM Ubuntu LTSLong-Term-Support 5 使 LTS
Ubuntu LTS Docker amd64arm64armhfppc64els390x 5 LTS LTS 5 使 LTS
###
Docker `docker` `docker-engine`使
```bash
$ sudo apt-get remove docker \
docker-engine \
docker.io
$ for pkg in docker \
docker-engine \
docker.io \
docker-doc \
docker-compose \
podman-docker \
containerd \
runc;
do
sudo apt remove $pkg;
done
```
## 使 APT
@ -30,9 +38,9 @@ $ sudo apt-get remove docker \
`apt` 使 HTTPS 使 HTTPS CA
```bash
$ sudo apt-get update
$ sudo apt update
$ sudo apt-get install \
$ sudo apt install \
apt-transport-https \
ca-certificates \
curl \
@ -73,9 +81,9 @@ $ echo \
apt `docker-ce`
```bash
$ sudo apt-get update
$ sudo apt update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
$ sudo apt install docker-ce docker-ce-cli containerd.io
```
## 使