@15647215856
确认loader升级到最新版本,然后系统镜像通过etcher刷入TF卡,默认的启动顺序是USB TF卡 EMMC。
Global Moderators
Forum wide moderators
Posts
-
RE: 求助Cool pi 4b无法启动posted in Pi 4B
-
RE: Cool Pi Cm5-Laptop Linux Quick Start Guideposted in PI CM5 Laptop
@mainbord
Use the following command to generate a deb file and then install it../build-kernel.sh arm64 -
TM-CP1B backup scriptsposted in Pi CP1B
In the process of user development, after building their own application, it is usually necessary to back up the file system and then copy it to other machines. The following provides backup scripts and operation methods:
- list itemIt is best to use a file system with a capacity greater than twice that of a USB flash drive, for example, if the file system is 4GB, choose an 8GB capacity USB flash drive and format it in NTFS format.
* Copy the script file to a USB drive.
* Insert the USB drive into the USB port of the CP1B machine and turn it on.
* Use the following command to mount a USB drive to the/mnt directory.
sudo mount /dev/sda1 /mnt
* Enter the/mnt directory and execute the script.
cd /mnt sudo ./backup-cp1b.sh
* After the script is executed, the root directory of the USB drive will generate a * * *. img file, which can be used to replace the rootfs. img file in the compressed image file.

- list itemIt is best to use a file system with a capacity greater than twice that of a USB flash drive, for example, if the file system is 4GB, choose an 8GB capacity USB flash drive and format it in NTFS format.
-
RE: 重装系统,如何操作posted in Pi CM5
@ytfycy
CM5是ARM架构的机器,不能支持X86架构的镜像文件。
如需安装ARM64架构的UBUNTU22.04镜像,请参考如下文档:
https://www.cool-pi.com/docs/coolpi-cm5-evb-quick-start-guide/ -
RE: Install Docker Engine on Ubuntuposted in Ubuntu
@george
在国内使用 Docker 拉取镜像时,经常会遇到镜像源无法访问的问题,为了解决这一问题,下面将介绍如何配置 DaoCloud 镜像源,确保在国内快速稳定的下载镜像。通过上述步骤新安装的 Docker 一般不存在文件/etc/docker/daemon.json,没关系,我们直接使用vim /etc/docker/daemon.json进行创建并编辑,输入以下内容:
{ "registry-mirrors": [ "https://docker.m.daocloud.io" ] }保存文件后重启 Docker 服务,新的镜像源即可生效:
systemctl daemon-reload systemctl restart docker -
Install Docker Engine on Ubuntuposted in Ubuntu
To get started with Docker Engine on Ubuntu, make sure you meet the prerequisites, and then follow the installation steps.
Prerequisites
Firewall limitations
Before you install Docker, make sure you consider the following security implications and firewall incompatibilities.
- If you use ufw or firewalld to manage firewall settings, be aware that when you expose container ports using Docker, these ports bypass your firewall rules. For more information, refer to Docker and ufw.
- Docker is only compatible with iptables-nft and iptables-legacy. Firewall rules created with nft are not supported on a system with Docker installed. Make sure that any firewall rulesets you use are created with iptables or ip6tables, and that you add them to the DOCKER-USER chain, see Packet filtering and firewalls.
OS requirements
To install Docker Engine, you need the 64-bit version of one of these Ubuntu versions:
- Ubuntu Oracular 24.10
- Ubuntu Noble 24.04 (LTS)
- Ubuntu Jammy 22.04 (LTS)
Docker Engine for Ubuntu is compatible with x86_64 (or amd64), armhf, arm64, s390x, and ppc64le (ppc64el) architectures.
Installation on Ubuntu derivative distributions, such as Linux Mint, is not officially supported (though it may work).
Uninstall old versions
Before you can install Docker Engine, you need to uninstall any conflicting packages.
Your Linux distribution may provide unofficial Docker packages, which may conflict with the official packages provided by Docker. You must uninstall these packages before you install the official version of Docker Engine.
The unofficial packages to uninstall are:- docker.io
- docker-compose
- docker-compose-v2
- docker-doc
- podman-docker
Moreover, Docker Engine depends on containerd and runc. Docker Engine bundles these dependencies as one bundle: containerd.io. If you have installed the containerd or runc previously, uninstall them to avoid conflicts with the versions bundled with Docker Engine.
Run the following command to uninstall all conflicting packages:
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; doneapt-get might report that you have none of these packages installed.
Images, containers, volumes, and networks stored in /var/lib/docker/ aren't automatically removed when you uninstall Docker. If you want to start with a clean installation, and prefer to clean up any existing data, read the uninstall Docker Engine section.
Installation methods
You can install Docker Engine in different ways, depending on your needs:
- Docker Engine comes bundled with Docker Desktop for Linux. This is the easiest and quickest way to get started.
- Set up and install Docker Engine from Docker's apt repository.
- Install it manually and manage upgrades manually.
- Use a convenience script. Only recommended for testing and development environments.
Install using the apt repository
Before you install Docker Engine for the first time on a new host machine, you need to set up the Docker apt repository. Afterward, you can install and update Docker from the repository.
1.Set up Docker's apt repository.
# Add Docker's official GPG key: sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \ sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update2.Install the Docker packages.
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin3.Verify that the installation is successful by running the hello-world image:
sudo docker run hello-worldThis command downloads a test image and runs it in a container. When the container runs, it prints a confirmation message and exits.
You have now successfully installed and started Docker Engine.Receiving errors when trying to run without root?
The docker user group exists but contains no users, which is why you’re required to use sudo to run Docker commands. Continue to Linux postinstall to allow non-privileged users to run Docker commands and for other optional configuration steps.Upgrade Docker Engine
To upgrade Docker Engine, follow step 2 of the installation instructions, choosing the new version you want to install.
