{"id":15020048,"url":"https://github.com/bucherfa/docker-compose-converter","last_synced_at":"2026-03-06T11:02:22.218Z","repository":{"id":57213919,"uuid":"192199126","full_name":"bucherfa/docker-compose-converter","owner":"bucherfa","description":"Convert docker run/create commands to docker-compose.yml files.","archived":false,"fork":false,"pushed_at":"2020-10-13T23:21:28.000Z","size":20,"stargazers_count":17,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-08T01:45:56.028Z","etag":null,"topics":["converter","create","docker","docker-compose","docker-compose-converter","run"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bucherfa.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":"2019-06-16T14:14:38.000Z","updated_at":"2025-01-10T20:18:09.000Z","dependencies_parsed_at":"2022-08-29T02:10:40.246Z","dependency_job_id":null,"html_url":"https://github.com/bucherfa/docker-compose-converter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bucherfa/docker-compose-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucherfa%2Fdocker-compose-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucherfa%2Fdocker-compose-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucherfa%2Fdocker-compose-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucherfa%2Fdocker-compose-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bucherfa","download_url":"https://codeload.github.com/bucherfa/docker-compose-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bucherfa%2Fdocker-compose-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30173348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["converter","create","docker","docker-compose","docker-compose-converter","run"],"created_at":"2024-09-24T19:54:31.137Z","updated_at":"2026-03-06T11:02:17.198Z","avatar_url":"https://github.com/bucherfa.png","language":"JavaScript","readme":"# docker-compose Converter\n\nConvert docker run/create commands to docker-compose.yml files.\n\n[Online Demo](https://bucherfa.github.io/dcc-web/)\n\n## Example\n\n### Input\n\n```bash\ndocker run -d \\\n  -v nextcloud:/var/www/html \\\n  nextcloud\ndocker run -d \\\n  -v db:/var/lib/mysql \\\n  mariadb\n```\n\n### Output\n\n```yml\nversion: '3'\nservices:\n  nextcloud:\n    image: nextcloud\n    volumes:\n      - 'nextcloud:/var/www/html'\n  mariadb:\n    image: mariadb\n    volumes:\n      - 'db:/var/lib/mysql'\n```\n\n## Usage\n\n### Install\n\n```bash\nnpm install docker-compose-converter --save\n```\n\n### Include\n\n```javascript\nconst dcc = require('docker-compose-converter');\nconst dockerRunCommands = `\ndocker run -d \\\n  -v nextcloud:/var/www/html \\\n  nextcloud\ndocker run -d \\\n  -v db:/var/lib/mysql \\\n  mariadb\n`;\nconst dockercomposeyml = ddc(dockerRunCommands);\nconsole.log(dockercomposeyml);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbucherfa%2Fdocker-compose-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbucherfa%2Fdocker-compose-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbucherfa%2Fdocker-compose-converter/lists"}