dokploy_network
Manage Docker networks in Dokploy: create, inspect, remove, recreate, or list networks, sync untracked host networks, and import them for use with applications and compose services.
Instructions
Docker network management. list: serverId? (networks Dokploy knows about). get/inspect/remove/recreate: networkId — inspect returns the raw Docker inspect payload, recreate drops and re-adds the network so attached services are briefly disconnected. create: name (+ driver bridge|overlay, internal, attachable, enableIPv4, enableIPv6, mtu 68-65535, ipam, serverId). networksToSync: serverId? — networks that exist on the Docker host but are not yet tracked by Dokploy. import: names (one or more names from networksToSync), serverId?. Attach networks to workloads with dokploy_application update networkIds, or dokploy_compose update serviceNetworks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mtu | No | ||
| ipam | No | create: IPAM settings, e.g. { config: [{ subnet: '10.0.1.0/24', gateway: '10.0.1.1' }] } | |
| name | No | create: network name | |
| names | No | import: network names to bring under Dokploy | |
| action | Yes | ||
| driver | No | create: bridge | overlay | |
| internal | No | ||
| serverId | No | ||
| networkId | No | ||
| attachable | No | ||
| enableIPv4 | No | ||
| enableIPv6 | No |