Files
nexus/wiki/concepts/Docker-Network.md
2026-04-17 08:38:12 +08:00

31 lines
635 B
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: "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]]