doc(raspberry-pi): tested on bookworm

pull/540/head
RockChinQ 2024-02-02 23:03:39 +08:00
parent bea7b8d3f4
commit 32c6a91aa9
1 changed files with 5 additions and 4 deletions

View File

@ -10,6 +10,7 @@ Docker 支持以下版本的 [Raspberry Pi OS](https://www.raspberrypi.org/softw
* Raspberry Pi OS Buster * Raspberry Pi OS Buster
* Raspberry Pi OS Bullseye * Raspberry Pi OS Bullseye
* Raspberry Pi OS Bookworm
** `Raspberry Pi OS` [](https://www.raspberrypi.org/) 官方支持,并推荐用作树莓派的首选系统,其基于 `Debian`。 ** `Raspberry Pi OS` [](https://www.raspberrypi.org/) 官方支持,并推荐用作树莓派的首选系统,其基于 `Debian`。
@ -61,7 +62,7 @@ $ sudo add-apt-repository \
#### ####
`Raspberry Pi OS Bullseye` : `Raspberry Pi OS Bullseye/Bookworm` Docker :
```bash ```bash
Traceback (most recent call last): Traceback (most recent call last):
@ -76,14 +77,14 @@ Traceback (most recent call last):
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/bullseye aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/bullseye
``` ```
`/etc/apt/sources.list` : `/etc/apt/sources.list` :
```bash ```bash
$ sudo echo "deb [arch=armhf] https://mirrors.aliyun.com/docker-ce/linux/raspbian bullseye stable" | sudo tee -a /etc/apt/sources.list $ sudo echo "deb [arch=armhf] https://mirrors.aliyun.com/docker-ce/linux/raspbian $(lsb_release -cs) stable" | sudo tee -a /etc/apt/sources.list
# #
# $ sudo echo "deb [arch=armhf] https://download.docker.com/linux/raspbian bullseye stable" | sudo tee -a /etc/apt/sources.list # $ sudo echo "deb [arch=armhf] https://download.docker.com/linux/raspbian $(lsb_release -cs) stable" | sudo tee -a /etc/apt/sources.list
``` ```
### Docker ### Docker