Work with network commands (Engine)
Work with network commands
This article provides examples of the network subcommands you can use to interact with Docker networks and the containers in them. The commands are available through the Docker Engine CLI. These commands are:
docker network create
docker network connect
docker network ls
docker network rm
docker network disconnect
docker network inspect
While not required, it is a good idea to read Understanding Docker network before trying the examples in this section. The examples for the rely on a bridge
network so that you can try them immediately. If you would prefer to experiment with an overlay
network see the 登录查看完整内容