Merge branch 'yeasy:master' into master

pull/542/head
debian-go 2024-11-08 11:42:06 +08:00 committed by GitHub
commit 344fc8bd3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 14 deletions

View File

@ -65,7 +65,7 @@ $ echo \
``` ```
> Docker APT Docker stable test > Docker APT Docker stable test Debian11使`/etc/apt/keyrings/` gpg`/etc/apt/trusted.gpg.d` [issue 15727](https://github.com/docker/docs/issues/15727)。
### Docker ### Docker

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 Noble 24.04 (LTS)Docker v27.2.1
* Ubuntu Groovy 20.10 * Ubuntu Jammy 22.04 (LTS), Docker v27.2.1
* Ubuntu Focal 20.04 (LTS) * Ubuntu Focal 20.04 (LTS), Docker v27.2.1
* Ubuntu Bionic 18.04 (LTS) * 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`使 Docker `docker` `docker-engine`使
```bash ```bash
$ sudo apt-get remove docker \ $ for pkg in docker \
docker-engine \ docker-engine \
docker.io docker.io \
docker-doc \
docker-compose \
podman-docker \
containerd \
runc;
do
sudo apt remove $pkg;
done
``` ```
## 使 APT ## 使 APT
@ -30,9 +38,9 @@ $ sudo apt-get remove docker \
`apt` 使 HTTPS 使 HTTPS CA `apt` 使 HTTPS 使 HTTPS CA
```bash ```bash
$ sudo apt-get update $ sudo apt update
$ sudo apt-get install \ $ sudo apt install \
apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \
curl \ curl \
@ -73,9 +81,9 @@ $ echo \
apt `docker-ce` apt `docker-ce`
```bash ```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
``` ```
## 使 ## 使