Docker-compose Installation On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS
Maintainer: Docker Compose Team
Email: [email protected] .
Website: https://docs.docker.com/compose/
Section: admin
Install docker-compose
-
Debian
apt-get install docker-composeClick to copy -
Ubuntu
apt-get install docker-composeClick to copy -
Arch Linux
pacman -S docker-composeClick to copy -
Kali Linux
apt-get install docker-composeClick to copy -
Fedora
dnf install docker-composeClick to copy -
Raspbian
apt-get install docker-composeClick to copy -
macOS
brew install docker-composeClick to copy
Run and manage multi container docker applications.
How to use docker-compose?
Below are few example commands for docker-compose that you can use in the terminal.
Create and start all containers in the background using a `docker-compose.yml` file from the current directory:docker-compose up -dClick to copyStart all containers, rebuild if necessary:docker-compose up --buildClick to copyStart all containers using an alternate compose file:docker-compose --file path/to/file upClick to copyStop all running containers:docker-compose stopClick to copyStop and remove all containers, networks, images, and volumes:docker-compose downClick to copyFollow logs for all containers:docker-compose logs --followClick to copy
Installing docker-compose command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of docker-compose 2026 package in your OS.




