Introduction to Docker compose CLI
Docker compose CLI is a command line interface for managing a docker compose service containers. It is specifically implemented for a docker compose management. Earlier docker-compose v1 was standalone which is now integrated as part of the docker like a subcommand. Hence if you are using docker-compose up -d command then it means it uses docker-compose v1 and if you use docker compose up -d command the you are running the compose it as part of compose v2. ( Note: There is a difference of the hyphen (-) character ). In our tutorials we will be using compose v2.
Viewing the help commands
In the terminal window type below command and press enter
docker compose
Comments
Post a Comment