{"id":31646232,"url":"https://github.com/codefresh-io/docker-service","last_synced_at":"2026-07-22T01:34:06.639Z","repository":{"id":27110385,"uuid":"112208540","full_name":"codefresh-io/docker-service","owner":"codefresh-io","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-14T18:01:59.000Z","size":7,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-13T08:06:13.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/codefresh-io.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":"2017-11-27T14:46:58.000Z","updated_at":"2019-02-19T23:24:29.000Z","dependencies_parsed_at":"2022-07-24T13:47:14.552Z","dependency_job_id":null,"html_url":"https://github.com/codefresh-io/docker-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codefresh-io/docker-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fdocker-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fdocker-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fdocker-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fdocker-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codefresh-io","download_url":"https://codeload.github.com/codefresh-io/docker-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fdocker-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35743456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-21T02:00:06.728Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-07T05:21:11.226Z","updated_at":"2026-07-22T01:34:06.616Z","avatar_url":"https://github.com/codefresh-io.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codefresh docker-service plugin\n\nUse Codefresh docker-service plugin to create docker daemon and then use run on it any of \n`docker build|run|...` or `docker-compose` on your repository\n\n## codefresh/docker-service Docker Image details\nincludes `docker`, `docker-machine` and `docker-compose`\n\n`docker-service-create` command accepts same parameters as `docker-machine create` (i.e --driver , --engine-opt, etc) and starts a docker daemon\non a provider specified by \"--driver\" parameter - see https://docs.docker.com/machine/reference/create/\nThen it saves docker-machine environment files to Codefresh Volume, so every `docker` command will use this created docker daemon\n\n`docker-service-delete` command deletes all previously created docker-machine environment\n\n`docker-service-clean` commands deletes all docker-machine data from Codefresh image - just cleans ${MACHINE_STORAGE_PATH}/ directory\n\n## Usage\n\nSet environment variable and add the following step to your Codefresh pipeline:\n\n```yaml\n---\nversion: '1.0'\n\nsteps:\n\n  ...\n\n  # \n  create-my-docker:\n    image: codefresh/docker-service\n    commands: \n        - docker-service-create  --driver amazonec2 --amazonec2-instance-type m4.large my-docker\n    \n  build-on-my-docker:\n    image: codefresh/docker-service\n    commands:\n        - docker build -t mycompany/repo:${{CF_BRANCH}} ${{CF_VOLUME_PATH}}/\n\n  run-on-my-docker:\n    image: codefresh/docker-service\n    commands:\n        - docker run -d mycompany/repo:${{CF_BRANCH}}\n\n\n  delete-my-docker:\n     image: codefresh/docker-service\n     commands:\n        - docker-service-delete my-docker\n\n  clean:\n     image: codefresh/docker-service\n     commands:\n        - docker-service-clean\n  ...\n\n```\n## Environment Variables\n\n- DOCKER_MACHINE_NAME\n- Codefresh variables: https://docs.codefresh.io/docs/variables\n- docker-machine drivers envs: https://docs.docker.com/machine/drivers/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fdocker-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodefresh-io%2Fdocker-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fdocker-service/lists"}