create_network
Creates a Docker network to enable isolated communication between containers, with configurable driver, subnet, gateway, and external access restrictions.
Instructions
Create a new Docker network
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Network name | |
| driver | No | Driver to manage the network (default "bridge") | |
| subnet | No | Subnet in CIDR format (e.g. "172.30.0.0/16") | |
| gateway | No | Gateway for the subnet | |
| internal | No | Restrict external access to the network |