public Set<Network> getNetworks() throws DockerAccessException {
        return new HashSet<>(docker.listNetworks());
    }
Get all networks.
@return the network found or <code>null</code> if no network is available.
@throws DockerAccessException in case of an remote error
src/main/java/io/fabric8/maven/docker/service/QueryService.java