Skip to content

Commit ea655fb

Browse files
authored
Update README.md
1 parent 97a1585 commit ea655fb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docker/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1. [Introduction to docker container](#docker-container)
1616
2. [Container cheat sheet](#container-cheat-sheet)
1717
5. [Docker networking](#docker-networking)
18-
1. [Introduction to docker networking](#docker-networking)
18+
1. [Different Types of Docker Network](#Different-Types-of-Docker-Network)
1919
2. [Networking cheat sheet](#Networking-cheat-sheet)
2020
6. [Docker compose](#docker-compose)
2121
6. [Some miss conception about docker](#docker-misconception)
@@ -83,6 +83,15 @@
8383
New network Example: ```docker network create --driver <driver-name> <network name>``` \
8484
Connect a Docker Container to a Network example: ```docker network connect <network_id or n_name> <container_id or c_name>```
8585

86+
#### Different Types of Docker Network: \
87+
**bridge(Default)**: The default network driver. If you don’t specify a driver, this is the type of network you are creating. Bridge networks are usually used when your applications run in standalone containers that need to communicate.\
88+
**host**: For standalone containers, remove network isolation between the container and the Docker host, and use the host’s networking directly. \
89+
**overlay**: Overlay networks connect multiple Docker daemons together and enable swarm services to communicate with each other. \
90+
**ipvlan**: IPvlan networks give users total control over both IPv4 and IPv6 addressing. \
91+
**macvlan** : Macvlan networks allow us to assign a MAC address to a container.\
92+
**none**: This one used for disable all networking \
93+
**Also we can make other network by using third party plugin
94+
8695
### Networking cheat sheet
8796
| Networking Command | Networking Description |
8897
| --------------- | --------------- |

0 commit comments

Comments
 (0)