![]() Once the binary file is downloaded, make this file executable by changing the permissions on a file. If you want to install another version instead current available then, substitute your version in place of 1.29.2. This command will download the appropriate binary for your system and place it into the /usr/local/bin. So, download the docker-compose binary by using the following command: sudo curl -L “$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose Here, we are installing the 1.29.0 that is available with all its dependencies. Therefore, it is best practice to download the latest binary from the releases page. In most popular Linux distributions, Docker Compose may be included in their package managers but these are outdated. The Docker Compose binary can be directly downloaded from the Github project’s releases. So, install the curl command by using the following command: sudo dnf install -y curl Step 2: Download the Docker Compose Binary ![]() The curl command is required to download the docker-compose binaries from Github. To install the latest release of Docker Compose v2 on your system, verify the docker installation using this command:Īfter that, you need to perform the following steps. Installation steps of Docker compose on AlmaLinux/Rocky Linux 8 sudo or root privileges are needed to install docker-compose. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |