Home Explore Blog CI



docker

content/manuals/compose/install/uninstall.md
8d8bce8d983907bc2c26066d7a8060b05548f39145b64179000000030000076d
---
description: How to uninstall Docker Compose
keywords: compose, orchestration, uninstall, uninstallation, docker, documentation
title: Uninstall Docker Compose
---

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](/manuals/desktop/uninstall.md).

> [!NOTE]
>
> 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:

   ```console
   $ sudo apt-get remove docker-compose-plugin
   ```
On RPM-based distributions:

   ```console
   $ sudo yum remove docker-compose-plugin
   ```

### Manually installed

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

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

### Remove for all users

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

   ```console
   $ 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:

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

Chunks
2181ab1c (1st chunk of `content/manuals/compose/install/uninstall.md`)
Title: Uninstalling Docker Compose
Summary
This document provides instructions on how to uninstall Docker Compose, depending on how it was installed. It covers uninstallation for Docker Compose installed via Docker Desktop and as a CLI plugin. For Docker Desktop installations, refer to the uninstall instructions for Docker Desktop. For CLI plugin installations, it provides commands for removing the plugin via package managers (apt-get, yum) or manually by deleting the binary from either the user's configuration directory or the system directory. It also includes instructions on how to find the Compose CLI plugin location.