createNetwork method
Creates a Docker network with networkName
.
Implementation
Future<String?> createNetwork([String? networkName]) {
if (isEmptyString(networkName, trim: true)) {
networkName =
'docker_commander_network-${dockerHost.session}-${++_networkCounter}';
}
return DockerCMD.createNetwork(this, networkName);
}