{"id":13555777,"url":"https://github.com/taskcluster/docker-services","last_synced_at":"2026-01-10T09:32:55.311Z","repository":{"id":13439878,"uuid":"16129034","full_name":"taskcluster/docker-services","owner":"taskcluster","description":"Run a command for a docker image with all of its linked dependencies","archived":true,"fork":false,"pushed_at":"2014-01-28T10:09:33.000Z","size":4932,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T23:06:14.554Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taskcluster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-22T04:47:09.000Z","updated_at":"2023-01-28T21:31:20.000Z","dependencies_parsed_at":"2022-09-13T08:00:44.325Z","dependency_job_id":null,"html_url":"https://github.com/taskcluster/docker-services","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fdocker-services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fdocker-services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fdocker-services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fdocker-services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taskcluster","download_url":"https://codeload.github.com/taskcluster/docker-services/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246966071,"owners_count":20861989,"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-08-01T12:03:24.647Z","updated_at":"2026-01-10T09:32:55.243Z","avatar_url":"https://github.com/taskcluster.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# docker-services\n\nDocker orchestration library (written in node) for testing\ndocker images. Images can depend on other images, etc...\n\n## Examples\n\nSee [/examples](/examples) for the full list of fully functional (and\ntested) examples.\n\nLets say you have a node application which has a worker and uses both\nuse amqp.\n\n`docker_services.json`:\n\n```json\n{\n  \"app\": {\n    \"links\": [\"worker:worker\", \"amqp:amqp\"],\n    \"image\": \"my-repo/my-app\"\n  },\n\n  \"worker\": {\n    \"links\": [\"amqp:amqp\"],\n    \"image\": \"my-repo/worker\"\n  },\n\n  \"amqp\": {\n    \"image\": \"some-lib/amqp\"\n  }\n}\n\n```\n\nThen you could run a test on in the app like this:\n\n```sh\ndocker-services exec app npm test\n```\n\n## Commands\n\n### exec\n\n`docker-services exec \u003cservice\u003e [options]` handles bring up and down of dependencies but has the capabilities as the `docker run` command (creates a docker subshell with the correct options).\n\n\n## Known issues\n\n  - docker must be on the host (meaning you must be on linux). This will be fixed soon.\n  - because of how `exec` is implemented (without knowledge of docker options) you must pass parameteres in (IMO)\n    correctly do this: `exec -e=VALUE=yey` not this `-e VALUE=yey` bad things will happen.\n\n## Roadmap\n\n  - Remove the need for docker to run on the host\n  - Aggregate log output for exec (so we can see other services while running exec)\n  - Formal support for `up` and `down` for deamonized services (you won't need to leave exec running)\n  - Building of docker images\n\n## Developing\n\nYou need [vagrant](http://www.vagrantup.com/).\n\n## Running the tests\n\n```sh\nvagrant up\nvagrant ssh\ncd /vagrant\nmake test\n```\n\n## Publishing a new version\n\nThe 'associate' is a docker image that also needs to be published\nfor each version (right now this is tied to my docker account).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskcluster%2Fdocker-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaskcluster%2Fdocker-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskcluster%2Fdocker-services/lists"}