Files
nexus/wiki/sources/如何在Ubuntu-Server安装-docker-and-docker-compose.md
weishen f9ac3145ab feat(wiki): ingest remaining subdirectories batch (51 files)
- Others: ChinaTextbook, Obsidian笔记系列, YouTube Channel ID, TikTok PM Django
- Skills: GOG CLI, Last30Days, baoyu-skills
- Vibe Coding: Cursor 2.0, Trae远程开发, Vibe-Kanban+OpenCode, vibe coding经验
- 微信公众号: 养虾日记1-5, AI时代赚钱
- 跨境电商: TikTok数据抓取, 选品策略, Superset Dashboard
- AI目录补充: 20个文件

Source pages: 51
Entities: TapXWorld, VibeKanban, OpenCode, Trae, SourceGrounding等
Concepts: 自举Meta生成, 5大设计原则, MD5去重, 混合搜索等
2026-04-14 20:48:34 +08:00

41 lines
1.4 KiB
Markdown
Raw Blame History

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.
---
title: "如何在Ubuntu Server安装 docker & docker compose"
type: source
tags: [docker, ubuntu, docker-compose, 安装]
date: 2025-09-15
---
## Source File
- [[raw/Home Office/如何在Ubuntu Server安装 docker & docker compose.md]]
## Summary
- 核心主题:在 Ubuntu Server 上安装 Docker Engine 和 Docker Compose V2
- 问题域:容器化基础环境搭建
- 方法/机制:从 Docker 官方仓库安装,支持非 root 用户运行 Docker
- 结论/价值:完整的 Ubuntu Docker 安装流程
## Key Claims
- 安装前需移除旧版本docker.io, docker-engine, docker-ce 等
- 从 Docker 官方仓库安装,添加 GPG key 和 apt sources
- 安装组件docker-ce, docker-ce-cli, containerd.io, docker-buildx-plugin, docker-compose-plugin
- Docker Compose V2 使用 `docker compose`(而非 docker-compose
- 非 root 用户运行sudo usermod -aG docker $USER
## Key Quotes
> "docker-compose-plugin 安装的是 Docker Compose V2使用命令 docker compose 而非 docker-compose" — 版本区别关键点
## Key Concepts
- [[Docker]]:容器运行时
- [[Docker Compose V2]]多容器编排工具docker compose 命令)
- [[containerd]]:容器运行时引擎
## Key Entities
- [[Ubuntu]]:宿主机操作系统
## Connections
- [[Ubuntu]] ← installs ← [[Docker]]
- [[Docker]] ← includes ← [[Docker Compose V2]]
## Contradictions
-