You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have already installed Docker Desktop, you can check which version of Compose you have by selecting **About Docker Desktop** from the Docker menu {{< inline-image src="../../desktop/images/whale-x.svg" alt="whale menu" >}}.
32
-
33
-
> [!NOTE]
34
-
>
35
-
> After Docker Compose V1 was removed in Docker Desktop version [4.23.0](/desktop/release-notes/#4230) as it had reached end-of-life,
36
-
> the `docker-compose` command now points directly to the Docker Compose V2 binary, running in standalone mode.
37
-
> If you rely on Docker Desktop auto-update, the symlink might be broken and command unavailable, as the update doesn't ask for administrator password.
32
+
> [!TIP]
38
33
>
39
-
> This only affects Mac users. To fix this, either recreate the symlink:
> Or enable [Automatically check configuration](/manuals/desktop/settings-and-maintenance/settings.md) which will detect and fix it for you.
34
+
> If you have already installed Docker Desktop, you can check which version of Compose you have by selecting **About Docker Desktop** from the Docker menu {{< inline-image src="../../desktop/images/whale-x.svg" alt="whale menu" >}}.
45
35
46
-
### Scenario two: Install the Docker Compose plugin
36
+
### Scenario two: Install the Docker Compose plugin (Linux only)
47
37
48
38
> [!IMPORTANT]
49
39
>
50
-
> This install scenario is only available on Linux.
40
+
> This method is only available on Linux.
51
41
52
42
If you already have Docker Engine and Docker CLI installed, you can install the Docker Compose plugin from the command line, by either:
Copy file name to clipboardExpand all lines: content/manuals/compose/install/linux.md
+3-16Lines changed: 3 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ To install the Docker Compose plugin on Linux, you can either:
23
23
24
24
> [!NOTE]
25
25
>
26
-
> These instructions assume you already have Docker Engine and Docker CLI installed and now want to install the Docker Compose plugin. For the Docker Compose standalone, see [Install the Docker Compose Standalone](standalone.md).
26
+
> These instructions assume you already have Docker Engine and Docker CLI installed and now want to install the Docker Compose plugin.
27
27
28
28
## Install using the repository
29
29
@@ -58,14 +58,6 @@ To install the Docker Compose plugin on Linux, you can either:
58
58
$ docker compose version
59
59
```
60
60
61
-
Expected output:
62
-
63
-
```text
64
-
Docker Compose version vN.N.N
65
-
```
66
-
67
-
Where `vN.N.N` is placeholder text standing in for the latest version.
68
-
69
61
### Update Docker Compose
70
62
71
63
To update the Docker Compose plugin, run the following commands:
@@ -85,7 +77,7 @@ To update the Docker Compose plugin, run the following commands:
85
77
86
78
## Install the plugin manually
87
79
88
-
> [!NOTE]
80
+
> [!IMPORTANT]
89
81
>
90
82
> This option requires you to manage upgrades manually. It is recommended that you set up Docker's repository for easier maintenance.
91
83
@@ -121,9 +113,4 @@ To update the Docker Compose plugin, run the following commands:
121
113
```console
122
114
$ docker compose version
123
115
```
124
-
125
-
Expected output:
126
-
127
-
```text
128
-
Docker Compose version {{% param "compose_version" %}}
Uninstalling Docker Compose depends on the method you have used to install Docker Compose. On this page you can find specific instructions to uninstall Docker Compose.
7
+
How you uninstall Docker Compose depends on how it was installed. This guide covers uninstallation instructions for:
8
8
9
+
- Docker Compose installed via Docker Desktop
10
+
- Docker Compose installed as a CLI plugin
9
11
10
-
## Uninstalling Docker Desktop
12
+
## Uninstalling Docker Compose with Docker Desktop
11
13
12
14
If you want to uninstall Docker Compose and you have installed Docker Desktop, see [Uninstall Docker Desktop](/manuals/desktop/uninstall.md).
13
15
14
16
> [!NOTE]
15
17
>
16
-
> Unless you have other Docker instances installed on that specific environment, you would be removing Docker altogether by uninstalling Docker Desktop.
18
+
> 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.
17
19
18
20
## Uninstalling the Docker Compose CLI plugin
19
21
20
-
To remove the Docker Compose CLI plugin, run:
22
+
If you installed Docker Compose via a package manager, run:
21
23
22
-
Ubuntu, Debian:
24
+
On Ubuntu or Debian:
23
25
24
26
```console
25
27
$ sudo apt-get remove docker-compose-plugin
26
28
```
27
-
RPM-based distributions:
29
+
On RPM-based distributions:
28
30
29
31
```console
30
32
$ sudo yum remove docker-compose-plugin
31
33
```
32
34
33
35
### Manually installed
34
36
35
-
If you used `curl` to install Docker Compose CLI plugin, to uninstall it, run:
37
+
If you installed Docker Compose manually (using curl), remove it by deleting the binary:
36
38
37
39
```console
38
40
$ rm $DOCKER_CONFIG/cli-plugins/docker-compose
39
41
```
40
42
41
43
### Remove for all users
42
44
43
-
Or, if you have installed Docker Compose for all users, run:
45
+
If installed for all users, remove it from the system directory:
0 commit comments