Files
docker-docs/content/manuals/compose/install/uninstall.md
Allie Sadler a1774fe925 Compose freshness (#22927)
<!--Delete sections as needed -->

## Description

Freshness for Intro, install, quickstart

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2025-07-01 12:54:29 +01:00

1.9 KiB

description, keywords, title, linkTitle
description keywords title linkTitle
How to uninstall Docker Compose compose, orchestration, uninstall, uninstallation, docker, documentation Uninstall Docker Compose Uninstall

How you uninstall Docker Compose depends on how it was installed. This guide covers uninstallation instructions for:

  • Docker Compose installed via Docker Desktop
  • Docker Compose installed as a CLI plugin

Uninstalling Docker Compose with Docker Desktop

If you want to uninstall Docker Compose and you have installed Docker Desktop, see Uninstall Docker Desktop.

Warning

Unless you have other Docker instances installed on that specific environment, uninstalling Docker Desktop removes all Docker components, including Docker Engine, Docker CLI, and Docker Compose.

Uninstalling the Docker Compose CLI plugin

If you installed Docker Compose via a package manager, run:

On Ubuntu or Debian:

$ sudo apt-get remove docker-compose-plugin

On RPM-based distributions:

$ sudo yum remove docker-compose-plugin

Manually installed

If you installed Docker Compose manually (using curl), remove it by deleting the binary:

$ rm $DOCKER_CONFIG/cli-plugins/docker-compose

Remove for all users

If installed for all users, remove it from the system directory:

$ rm /usr/local/lib/docker/cli-plugins/docker-compose

Note

If you get a Permission denied error using either of the previous methods, you do not have the permissions needed to remove Docker Compose. To force the removal, prepend sudo to either of the previous instructions and run it again.

Inspect the location of the Compose CLI plugin

To check where Compose is installed, use:

$ docker info --format '{{range .ClientInfo.Plugins}}{{if eq .Name "compose"}}{{.Path}}{{end}}{{end}}'