docker-hs icon indicating copy to clipboard operation
docker-hs copied to clipboard

Network endpoints

Open protoben opened this issue 5 years ago • 0 comments

Hi, and sorry for the unsolicited PR.

I've been using your library for a project, and I ended up needing some additional endpoints and other features dealing with docker networking. I've implemented them, and I'm currently using them on my own fork, but I thought I would make them available to you guys, in case you were interested in merging them. I'm happy to make changes, if it would help get this merged, as it would be nice to be able to use the Hackage version of your library for my project.

Here is a list of the endpoints I've implemented:

  • listNetworks
  • inspectNetworks
  • connectNetwork
  • disconnectNetwork
  • pruneNetworks

In addition, I've filled out the CreateNetworkOpts fields for createNetwork, to allow for more configurability on network creation. I've also added integration tests for the new features.

Thanks.

protoben avatar Jul 10 '19 01:07 protoben