Day 6: 飞牛OS Docker入门
什么是Docker?
Docker是一个容器平台,让应用在任何环境都能运行。
为什么用Docker?
- 📦 一次配置,到处运行
- 🔄 轻松更新
- 🧹 干净卸载
- 💪 生态丰富
安装Docker
飞牛OS Web界面直接支持:
应用中心 → Docker → 安装
常用Docker应用
1. 部署QBittorrent
version: '3'
services:
qbittorrent:
image: lscr.io/linuxserver/qbittorrent
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
volumes:
- ./config:/config
- ./downloads:/downloads
ports:
- "8080:8080"
- "6881:6881"
restart: unless-stopped
2. 部署 Jellyfin 媒体服务器
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
本文由 NUC NAS Hub 自动生成