Update to v24.07

Due to Docker updates in latest versions of operating systems, you may experience problems with Docker Compose. Collector, starting with v24.07, supports both Docker Compose versions v1 and v2. However, if you are planning to upgrade your operating system, there are some additional steps you should perform, depending on the OS distribution and version of Docker you are using. Otherwise, the correct operation of the commands specified on this site cannot be guaranteed.

Docker Compose Update Procedure

Ubuntu 20.04+ or any Linux with docker-ce

  1. Remove Docker Compose v1.
  2. Update OS packages.
  3. Install Docker Compose from the official repository and make the binary executable:
curl -L "https://github.com/docker/compose/releases/download/v2.28.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose \
&& chmod +x /usr/bin/docker-compose
  1. Make sure that the docker-compose version command output shows version 2.

Debian or Ubuntu 18.04

You do not need to perform any additional actions when updating the OS. Docker Compose v1 will be preserved.