blog.revold
Install Docker Compose on Linux Ubuntu 22.04, Debian or up
Install on Linux
On this page you can find instructions on how to install the Compose on Linux from the command line.
Install using the repository
Note
These instructions assume you already have Docker Engine and Docker CLI installed and now want to install the Compose plugin.For Compose standalone, see Install Compose Standalone.
If you have already set up the Docker repository, jump to step 2.
- Set up the repository. Find distro-specific instructions in:
- Ubuntu | CentOS | Debian | Fedora | RHEL | SLES.
- Update the package index, and install the latest version of Docker Compose:
- Ubuntu, Debian:
- $ sudo apt-get update $ sudo apt-get install docker-compose-plugin
- RPM-based distros:
- $ sudo yum update $ sudo yum install docker-compose-plugin
- Verify that Docker Compose is installed correctly by checking the version.
- $ docker compose version Docker Compose version vN.N.N
Where vN.N.N is placeholder text standing in for the latest version.
Update Compose
To update Compose, run the following commands:
- Ubuntu, Debian:
- $ sudo apt-get update $ sudo apt-get install docker-compose-plugin
- RPM-based distros:
- $ sudo yum update $ sudo yum install docker-compose-plugin
Install the plugin manually
This option requires you to manage upgrades manually. We recommend setting up Docker’s repository for an easier maintenance.
blog.revold.us/install-docker-compose-on-linux-ubuntu-22-...
Install Docker Compose on Linux Ubuntu 22.04, Debian or up
Install on Linux
On this page you can find instructions on how to install the Compose on Linux from the command line.
Install using the repository
Note
These instructions assume you already have Docker Engine and Docker CLI installed and now want to install the Compose plugin.For Compose standalone, see Install Compose Standalone.
If you have already set up the Docker repository, jump to step 2.
- Set up the repository. Find distro-specific instructions in:
- Ubuntu | CentOS | Debian | Fedora | RHEL | SLES.
- Update the package index, and install the latest version of Docker Compose:
- Ubuntu, Debian:
- $ sudo apt-get update $ sudo apt-get install docker-compose-plugin
- RPM-based distros:
- $ sudo yum update $ sudo yum install docker-compose-plugin
- Verify that Docker Compose is installed correctly by checking the version.
- $ docker compose version Docker Compose version vN.N.N
Where vN.N.N is placeholder text standing in for the latest version.
Update Compose
To update Compose, run the following commands:
- Ubuntu, Debian:
- $ sudo apt-get update $ sudo apt-get install docker-compose-plugin
- RPM-based distros:
- $ sudo yum update $ sudo yum install docker-compose-plugin
Install the plugin manually
This option requires you to manage upgrades manually. We recommend setting up Docker’s repository for an easier maintenance.
blog.revold.us/install-docker-compose-on-linux-ubuntu-22-...