Table of Contents

brew install docker-compose

Return to Docker Compose, Docker, Docker Compose Installation, brew install, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, choco install docker-compose

https://formulae.brew.sh/formula/docker-compose

Isolated development environments using Docker

https://docs.docker.com/compose

macOS

Homebrew on macOS

brew install docker-compose

Running `brew update --auto-update`…

=⇒ Auto-updated Homebrew!

Updated 1 tap (homebrew/core).

You have 1 outdated cask installed.

You can upgrade it with brew upgrade or list it with brew outdated.

=⇒ Downloading https://ghcr.io/v2/homebrew/core/docker-compose/manifests/2.12.2

=⇒ Downloading https://ghcr.io/v2/homebrew/core/docker-compose/blobs/sha256:5b797a67934a1c2cd7eb82ce10f891d4232729d457372a6d67ebb782565398d

=⇒ Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5b797a67934a1c2cd7eb82ce10f891d4232729d457372a6d67ebb78

=⇒ Pouring docker-compose–2.12.2.monterey.bottle.tar.gz

=⇒ Caveats

Compose is now a Docker plugin. For Docker to find this plugin, symlink it:

mkdir -p ~/.docker/cli-plugins

ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose

=⇒ Summary

🍺 /usr/local/Cellar/docker-compose/2.12.2: 6 files, 48.4MB

=⇒ Running `brew cleanup docker-compose`…

Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.

Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

iMac ~ % docker compose --version

Docker version 20.10.21, build baeda1f82a

iMac ~ % docker compose help

docker: 'compose' is not a docker command.

See 'docker --help'

iMac ~ % docker help compose

unknown help topic: compose


iMac ~ % docker-compose --version


iMac ~ % docker-compose --help

Usage: docker compose [OPTIONS] COMMAND

Docker Compose

Options:

     --ansi string                Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
     --compatibility              Run compose in backward compatibility mode
     --env-file string            Specify an alternate environment file.
 -f, --file stringArray           Compose configuration files
     --profile stringArray        Specify a profile to enable
     --project-directory string   Specify an alternate working directory
                                  (default: the path of the, first specified, Compose file)
 -p, --project-name string        Project name

Commands:

 build       Build or rebuild services
 convert     Converts the compose file to platform's canonical format
 cp          Copy files/folders between a service container and the local filesystem
 create      Creates containers for a service.
 down        Stop and remove containers, networks
 events      Receive real time events from containers.
 exec        Execute a command in a running container.
 images      List images used by the created containers
 kill        Force stop service containers.
 logs        View output from containers
 ls          List running compose projects
 pause       Pause services
 port        Print the public port for a port binding.
 ps          List containers
 pull        Pull service images
 push        Push service images
 restart     Restart service containers
 rm          Removes stopped service containers
 run         Run a one-off command on a service.
 start       Start services
 stop        Stop services
 top         Display the running processes
 unpause     Unpause services
 up          Create and start containers
 version     Show the Docker Compose version information

Run 'docker compose COMMAND –help' for more information on a command.

Linux

Homebrew on Linux

Docker, Inc.: Docker Fundamentals, docker help, Docker, Docker DevOps - Docker SRE, Docker Cloud Native - Docker and Kubernetes, Docker Security - Docker Scout, Docker Secrets, Docker Security Breaches, Docker Build Cloud, Package Management for Containers (See Cloud Monk's Package Manager Book: Package Management for Docker, Package Management for Podman and Package Management for Kubernetes with Helm), Docker Cloud - Docker Data Centers, Docker GitHub - Docker Open Source (), Docker Development Tools (), Docker Programming Languages (), Docker APIs, Docker and Concurrent Parallel Programming (), Docker and Functional Programming (), Docker and Microservices, Docker Research, Docker Networking, Docker Data Science - Docker DataOps - Docker Databases, Docker Artificial Intelligence (Docker ML - Docker MLOps, Docker DL, Docker AR - Docker VR), Docker IoT, Docker Products - Docker Services (), Docker Operating Systems (), Docker Software (), Docker Hardware - Docker Devices (), Docker Support (), Docker Media (), Docker Communication (), Docker Concepts (), Docker acronyms (), Docker Founders (), Docker People (), Docker Outline, Docker History, Docker Timeline, Docker Subsidiaries (), Docker Privacy (), Docker Censorship (), Docker Criticism (), Docker Bibliography, Docker Courses, Docker Certification (), Docker Glossary, Docker Topics, Docker Blog, Docker Awesome List, Big Tech. (navbar_docker - see also navbar_K8S, navbar_openshift, navbar_podman, navbar_helm)

Homebrew: Cloud Monk's Package Manager Book Homebrew Chapter, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Homebrew Glossary, Homebrew Fundamentals, Homebrew Inventor - Homebrew Designer: Mike McQuaid, Brew DevOps - Homebrew on macOS - macOS DevOps - MacOps, Homebrew on Linux - Linux DevOps - LinuxOps, Homebrew Automation, Idempotent, Refreshenv, Homebrew Topics, macOS Package Managers, Package managers, macOS Configuration Management, PowerShell on macOS Ansible on macOS, Chef on macOS, Puppet on macOS (navbar_brew - see also navbar_choco, navbar_package_manager)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.