Package | Description |
---|---|
com.github.dockerjava.api | |
com.github.dockerjava.api.command |
Modifier and Type | Method and Description |
---|---|
CreateNetworkCmd |
DockerClientDelegate.createNetworkCmd() |
CreateNetworkCmd |
DockerClient.createNetworkCmd() |
Modifier and Type | Method and Description |
---|---|
CreateNetworkCmd |
CreateNetworkCmd.withAttachable(Boolean attachable)
If enabled, and the network is in the global scope, non-service containers on worker nodes will be able to connect to the network.
|
CreateNetworkCmd |
CreateNetworkCmd.withCheckDuplicate(boolean checkForDuplicate) |
CreateNetworkCmd |
CreateNetworkCmd.withDriver(String driver)
Name of the network driver to use.
|
CreateNetworkCmd |
CreateNetworkCmd.withEnableIpv6(boolean enableIpv6) |
CreateNetworkCmd |
CreateNetworkCmd.withInternal(boolean internal) |
CreateNetworkCmd |
CreateNetworkCmd.withIpam(Network.Ipam ipam)
Ipam config, such as subnet, gateway and ip range of the network
|
CreateNetworkCmd |
CreateNetworkCmd.withLabels(Map<String,String> labels)
Add label for network
|
CreateNetworkCmd |
CreateNetworkCmd.withName(String name)
The new network's name.
|
CreateNetworkCmd |
CreateNetworkCmd.withOptions(Map<String,String> options)
Driver specific options
|
Copyright © 2021. All rights reserved.