Docker networking — Basic CLI commands
2 min readAug 30, 2020
by default docker is using default network called ‘bridge’.
bridge: 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.
Docker network commands
docker network ls — list of available networks
docker network create — use to create new networks
docker network connect — use to connect to network and container
docker network disconnect — use to connect to network and container
docker network inspect- inspect the network