Clone
4.2 Docker(Raspberry Pi)
jsc-wiki edited this page 2026-10-14 06:27:29 +00:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Docker(Raspberry Pi)

第4章 容器與編排 · 來源:JSC 知識庫

簡介

在 Raspberry Pi 安裝 Docker,並讓一般使用者免 sudo 使用。

步驟

1. 安裝 docker 服務

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

2. 將使用者加入 docker 權限與群組,省去 sudo

sudo usermod -aG docker $USER
newgrp docker

← 4.1 Docker(Ubuntu) · 本章目錄 · 全書目錄 · 4.3 K3s →