portainer_network_connect
Connect a container to a network by providing network and container IDs. Optionally specify endpoint ID for targeted network assignment.
Instructions
Connect a container to a network.
Args: network_id: Network ID or name container_id: Container ID or name endpoint_id: Target endpoint ID (uses default if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_id | Yes | ||
| container_id | Yes | ||
| endpoint_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |