feat(wiki): complete all remaining 85 raw files ingestion (auto-script)
This commit is contained in:
37
wiki/sources/Ubuntu-Server-Docker安装配置.md
Normal file
37
wiki/sources/Ubuntu-Server-Docker安装配置.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "Ubuntu Server Docker安装配置"
|
||||
type: source
|
||||
tags: [Docker, Ubuntu, 安装配置]
|
||||
date: 2025-03-14
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[raw/Home Office/如何在Ubuntu Server安装 docker & docker compose.md]]
|
||||
|
||||
## Summary
|
||||
- 核心主题:Ubuntu Server安装Docker Engine和Docker Compose V2
|
||||
- 问题域:官方仓库安装确保版本最新
|
||||
- 方法/机制:添加Docker GPG密钥 → 添加apt源 → apt install
|
||||
- 结论/价值:完整的Ubuntu Docker官方安装流程
|
||||
|
||||
## Key Claims
|
||||
- 卸载旧版:for pkg in docker.io docker-engine docker-ce docker.io docker-compose docker-compose-v2; do sudo apt-get remove $pkg; done
|
||||
- 添加GPG密钥:sudo install -m 0755 -d /etc/apt/keyrings && sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||
- 添加apt源:echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
- 安装:sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
- 非root用户运行:sudo usermod -aG docker $USER
|
||||
|
||||
## Key Concepts
|
||||
- [[DockerEngine]]:Docker容器运行时
|
||||
- [[DockerComposeV2]]:docker compose命令(V2版本)
|
||||
- [[apt仓库管理]]:通过GPG密钥和apt源安装软件
|
||||
|
||||
## Key Entities
|
||||
- [[Docker]]:容器化平台
|
||||
- [[Ubuntu]]:安装宿主
|
||||
|
||||
## Connections
|
||||
- [[Ubuntu-Server-Docker安装配置]] ← documents ← [[Docker安装配置]]
|
||||
|
||||
## Contradictions
|
||||
- 无冲突
|
||||
Reference in New Issue
Block a user