Auto-sync: 2026-04-17 08:37

This commit is contained in:
2026-04-17 08:38:12 +08:00
parent 6caa1c2f47
commit a0a48bd334
247 changed files with 6577 additions and 3061 deletions

View File

@@ -0,0 +1,31 @@
---
title: "Docker Network"
type: concept
tags: [docker, network, isolation]
last_updated: 2026-04-17
---
## Definition
Docker NetworkDocker 网络)是 Docker 容器网络隔离和通信机制。
## Network Types
- **bridge**:默认网络,容器间通信
- **host**:使用主机网络
- **overlay**跨主机网络Swarm
- **none**:无网络
## Commands
```bash
# 查看网络
docker network ls
# 创建网络
docker network create <network_name>
# 删除网络
docker network rm <network_name>
```
## Connections
- [[Portainer]] ← uses ← [[Docker Network]]
- [[Docker]] ← manages ← [[Docker Network]]