{"id":22339773,"url":"https://github.com/scriptollc/docker-remote-api-as-promised","last_synced_at":"2025-03-26T09:13:55.726Z","repository":{"id":57214008,"uuid":"36363768","full_name":"scriptoLLC/docker-remote-api-as-promised","owner":"scriptoLLC","description":"A promise-wrapped version of docker-remote-api","archived":false,"fork":false,"pushed_at":"2017-06-21T15:22:07.000Z","size":9,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-04T08:02:34.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptoLLC.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-27T11:55:54.000Z","updated_at":"2015-05-27T11:56:18.000Z","dependencies_parsed_at":"2022-08-29T02:10:53.985Z","dependency_job_id":null,"html_url":"https://github.com/scriptoLLC/docker-remote-api-as-promised","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fdocker-remote-api-as-promised","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fdocker-remote-api-as-promised/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fdocker-remote-api-as-promised/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptoLLC%2Fdocker-remote-api-as-promised/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptoLLC","download_url":"https://codeload.github.com/scriptoLLC/docker-remote-api-as-promised/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245623078,"owners_count":20645680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T07:09:22.007Z","updated_at":"2025-03-26T09:13:55.705Z","avatar_url":"https://github.com/scriptoLLC.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Circle CI](https://circleci.com/gh/scriptoLLC/docker-remote-api-as-promised.svg?style=svg)](https://circleci.com/gh/scriptoLLC/docker-remote-api-as-promised)\n\n[![NPM](https://david-dm.org/scriptollc/docker-remote-api-as-promised.svg)](https://npmjs.org/package/docker-remote-api-as-promised/)\n\n# docker-remote-api as promised\n\nThis is a promise-enabled wrapper for [docker-remote-api](https://github.com/mafintosh/docker-remote-api).\n\nThe API purports to be the same, just returning a promise for each transaction. Being though that a promise is returned, you must supply the `body` for a transaction via the options object.  There is also no ability to get back the response stream from Docker currently \u0026emdash; you will receive the response as the argument to resolving the promise.\n\n## Installation\n```\nnpm install --save docker-remote-api-as-promised\n```\n\n## Usage\n```js\nvar draap = require('docker-remote-api-as-promised');\nvar docker = draap('/var/run/docker.sock');\n\ndocker\n  .post('/images/create?fromImage=busybox', {body: null})\n  .then(function(response) {\n    // do something with busybox\n  })\n  .catch(function(err) {\n    //return an error!\n  });\n```\n\n## License\nApache 2.0; Copyright 2015 Scripto","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptollc%2Fdocker-remote-api-as-promised","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptollc%2Fdocker-remote-api-as-promised","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptollc%2Fdocker-remote-api-as-promised/lists"}