swarmFuncs.forEach((key) => {
  // put every function from Swarmed Dockerode into the `Swarm.prototype`
  Swarm.prototype[key] = function () {
    const args = Array.from(arguments)
    return this.client[key].apply(this.client, args)