Docker · Arazzo Workflow
Docker Create a Network and Attach a Container
Version 1.0.0
Create a user-defined bridge network, create a container, connect it with an alias, start it, and verify the attachment.
Provider
Workflows
provision-network-and-attach
Create a user-defined network and attach a new container to it under an alias.
Creates a named bridge network, creates a container from the supplied image, connects the container to the network with a DNS alias, starts it, and inspects the network to verify the container appears in its container list.
1
createNetwork
Create the user-defined network. Unlike the default bridge, a user-defined network gives attached containers automatic DNS resolution of each other by name and alias.
2
createContainer
Create the container that will join the network. It is created but not yet started, so the network attachment can be made before the workload comes up.
3
connectToNetwork
Attach the container to the network under a DNS alias, so peers can resolve it by that alias rather than by container name alone.
4
startContainer
Start the container now that it is attached, so it comes up already resolvable on the network.
5
verifyAttachment
Inspect the network in verbose mode to confirm the container appears in its attached container list with an allocated IP address.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.