mirror of https://github.com/docker/docs.git
ENGDOCS-2589 (#22507)
<!--Delete sections as needed --> ## Description Freshness to the Compose install pages and Bridge page ## 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
This commit is contained in:
parent
fcb958a33f
commit
ad49ff482f
|
@ -32,6 +32,7 @@ To get started with Compose Bridge, you need to:
|
|||
2. Sign in to your Docker account.
|
||||
3. Navigate to the **Features in development** tab in **Settings**.
|
||||
4. From the **Experimental features** tab, select **Enable Compose Bridge**.
|
||||
5. Select **Apply & restart**.
|
||||
|
||||
## Feedback
|
||||
|
||||
|
|
|
@ -14,46 +14,36 @@ aliases:
|
|||
- /compose/install/compose-desktop/
|
||||
---
|
||||
|
||||
This page contains summary information about the available options for installing Docker Compose.
|
||||
This page summarizes the different ways you can install Docker Compose, depending on your platform and needs.
|
||||
|
||||
## Installation scenarios
|
||||
|
||||
### Scenario one: Install Docker Desktop
|
||||
### Scenario one: Install Docker Desktop (Recommended)
|
||||
|
||||
The easiest and recommended way to get Docker Compose is to install Docker Desktop. Docker Desktop
|
||||
includes Docker Compose along with Docker Engine and Docker CLI which are Compose prerequisites.
|
||||
The easiest and recommended way to get Docker Compose is to install Docker Desktop.
|
||||
|
||||
Docker Desktop is available on:
|
||||
Docker Desktop includes Docker Compose along with Docker Engine and Docker CLI which are Compose prerequisites.
|
||||
|
||||
Docker Desktop is available for:
|
||||
- [Linux](/manuals/desktop/setup/install/linux/_index.md)
|
||||
- [Mac](/manuals/desktop/setup/install/mac-install.md)
|
||||
- [Windows](/manuals/desktop/setup/install/windows-install.md)
|
||||
|
||||
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" >}}.
|
||||
|
||||
> [!NOTE]
|
||||
> [!TIP]
|
||||
>
|
||||
> After Docker Compose V1 was removed in Docker Desktop version [4.23.0](/desktop/release-notes/#4230) as it had reached end-of-life,
|
||||
> the `docker-compose` command now points directly to the Docker Compose V2 binary, running in standalone mode.
|
||||
> 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.
|
||||
>
|
||||
> This only affects Mac users. To fix this, either recreate the symlink:
|
||||
> ```console
|
||||
> $ sudo rm /usr/local/bin/docker-compose
|
||||
> $ sudo ln -s /Applications/Docker.app/Contents/Resources/cli-plugins/docker-compose /usr/local/bin/docker-compose
|
||||
> ```
|
||||
> Or enable [Automatically check configuration](/manuals/desktop/settings-and-maintenance/settings.md) which will detect and fix it for you.
|
||||
> 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" >}}.
|
||||
|
||||
### Scenario two: Install the Docker Compose plugin
|
||||
### Scenario two: Install the Docker Compose plugin (Linux only)
|
||||
|
||||
> [!IMPORTANT]
|
||||
>
|
||||
> This install scenario is only available on Linux.
|
||||
> This method is only available on Linux.
|
||||
|
||||
If you already have Docker Engine and Docker CLI installed, you can install the Docker Compose plugin from the command line, by either:
|
||||
- [Using Docker's repository](linux.md#install-using-the-repository)
|
||||
- [Downloading and installing manually](linux.md#install-the-plugin-manually)
|
||||
|
||||
### Scenario three: Install the Docker Compose standalone
|
||||
### Scenario three: Install the Docker Compose standalone (Legacy)
|
||||
|
||||
> [!WARNING]
|
||||
>
|
||||
|
|
|
@ -23,7 +23,7 @@ To install the Docker Compose plugin on Linux, you can either:
|
|||
|
||||
> [!NOTE]
|
||||
>
|
||||
> 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).
|
||||
> These instructions assume you already have Docker Engine and Docker CLI installed and now want to install the Docker Compose plugin.
|
||||
|
||||
## Install using the repository
|
||||
|
||||
|
@ -58,14 +58,6 @@ To install the Docker Compose plugin on Linux, you can either:
|
|||
$ docker compose version
|
||||
```
|
||||
|
||||
Expected output:
|
||||
|
||||
```text
|
||||
Docker Compose version vN.N.N
|
||||
```
|
||||
|
||||
Where `vN.N.N` is placeholder text standing in for the latest version.
|
||||
|
||||
### Update Docker Compose
|
||||
|
||||
To update the Docker Compose plugin, run the following commands:
|
||||
|
@ -85,7 +77,7 @@ To update the Docker Compose plugin, run the following commands:
|
|||
|
||||
## Install the plugin manually
|
||||
|
||||
> [!NOTE]
|
||||
> [!IMPORTANT]
|
||||
>
|
||||
> This option requires you to manage upgrades manually. It is recommended that you set up Docker's repository for easier maintenance.
|
||||
|
||||
|
@ -122,8 +114,3 @@ To update the Docker Compose plugin, run the following commands:
|
|||
$ docker compose version
|
||||
```
|
||||
|
||||
Expected output:
|
||||
|
||||
```text
|
||||
Docker Compose version {{% param "compose_version" %}}
|
||||
```
|
||||
|
|
|
@ -4,27 +4,29 @@ keywords: compose, orchestration, uninstall, uninstallation, docker, documentati
|
|||
title: Uninstall Docker Compose
|
||||
---
|
||||
|
||||
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.
|
||||
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 Desktop
|
||||
## 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, you would be removing Docker altogether by uninstalling Docker Desktop.
|
||||
> 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
|
||||
|
||||
To remove the Docker Compose CLI plugin, run:
|
||||
If you installed Docker Compose via a package manager, run:
|
||||
|
||||
Ubuntu, Debian:
|
||||
On Ubuntu or Debian:
|
||||
|
||||
```console
|
||||
$ sudo apt-get remove docker-compose-plugin
|
||||
```
|
||||
RPM-based distributions:
|
||||
On RPM-based distributions:
|
||||
|
||||
```console
|
||||
$ sudo yum remove docker-compose-plugin
|
||||
|
@ -32,7 +34,7 @@ RPM-based distributions:
|
|||
|
||||
### Manually installed
|
||||
|
||||
If you used `curl` to install Docker Compose CLI plugin, to uninstall it, run:
|
||||
If you installed Docker Compose manually (using curl), remove it by deleting the binary:
|
||||
|
||||
```console
|
||||
$ rm $DOCKER_CONFIG/cli-plugins/docker-compose
|
||||
|
@ -40,7 +42,7 @@ If you used `curl` to install Docker Compose CLI plugin, to uninstall it, run:
|
|||
|
||||
### Remove for all users
|
||||
|
||||
Or, if you have installed Docker Compose for all users, run:
|
||||
If installed for all users, remove it from the system directory:
|
||||
|
||||
```console
|
||||
$ rm /usr/local/lib/docker/cli-plugins/docker-compose
|
||||
|
|
Loading…
Reference in New Issue