{"id":31715099,"url":"https://github.com/chmodshubham/docker-compose","last_synced_at":"2025-10-09T01:51:44.862Z","repository":{"id":191780895,"uuid":"655615494","full_name":"chmodshubham/docker-compose","owner":"chmodshubham","description":"docker compose installation guide","archived":false,"fork":false,"pushed_at":"2023-06-19T10:00:36.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-16T04:13:10.363Z","etag":null,"topics":["docker-compose"],"latest_commit_sha":null,"homepage":"https://docs.docker.com/compose/install/","language":null,"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/chmodshubham.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,"governance":null}},"created_at":"2023-06-19T08:55:11.000Z","updated_at":"2023-06-19T10:00:47.000Z","dependencies_parsed_at":"2023-08-31T18:08:23.782Z","dependency_job_id":null,"html_url":"https://github.com/chmodshubham/docker-compose","commit_stats":null,"previous_names":["chmodshubham/docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chmodshubham/docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fdocker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fdocker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fdocker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fdocker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chmodshubham","download_url":"https://codeload.github.com/chmodshubham/docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fdocker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000704,"owners_count":26082894,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["docker-compose"],"created_at":"2025-10-09T01:50:57.343Z","updated_at":"2025-10-09T01:51:44.853Z","avatar_url":"https://github.com/chmodshubham.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker compose installation\n\nMethod 1 and method 2 require `Docker Engine` and `Docker CLI` as prerequisites for `docker compose` installation.\n\n## Method 1 - Install using the repository\n\n1. For Ubuntu and Debian, run:\n\n```bash\nsudo apt-get update\nsudo apt-get install docker-compose-plugin\n```\n\n2. To Verify\n\n```bash\ndocker compose version\n```\n\n## Method 2 - Install the plugin manually\n\n1. To download and install the Compose CLI plugin, run:\n\n```bash\nDOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}\nmkdir -p $DOCKER_CONFIG/cli-plugins\ncurl -SL https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose\n```\n\nThis command downloads the latest release of Docker Compose (*from the Compose releases repository*) and installs Compose for the active user under `$HOME` directory.\n\n\u003e **Note**: **To install:** \u003cbr\u003e\n\u003e\u003e - Docker Compose for all users on your system, replace `~/.docker/cli-plugins` with `/usr/local/lib/docker/cli-plugins`. \u003cbr\u003e\n\u003e\u003e - A different version of Compose, substitute `v2.18.1` with the version of Compose you want to use. \u003cbr\u003e\n\u003e\u003e - For a different architecture, substitute `x86_64` with the [architecture you want](https://github.com/docker/compose/releases). \u003cbr\u003e\n\n2. Apply executable permissions to the binary:\n\n```bash\nchmod +x $DOCKER_CONFIG/cli-plugins/docker-compose\n```\n\n3. Test the installation.\n\n```bash\ndocker compose version\n```\n\n## Method 3 - Install Compose standalone\n\n1. To download and install Compose standalone, run:\n\n```bash\ncurl -SL https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose\n```\n\n2. Apply executable permissions to the standalone binary in the target path for the installation.\n\n```bash\nsudo chmod +x /usr/local/bin/docker-compose\n```\n\n3. Test and execute compose commands using `docker-compose`.\n\n\u003e **Note**:\n\u003e Compose standalone uses the `-compose` syntax instead of the current standard syntax `compose`.\n\u003e For example type `docker-compose up` when using Compose standalone, instead of `docker compose up`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmodshubham%2Fdocker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchmodshubham%2Fdocker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmodshubham%2Fdocker-compose/lists"}