Docker Compose Commands
Learn the common CLI commands for Compose.
We'll cover the following...
We'll cover the following...
Docker Compose CLI
Docker Compose commands can be used in the same directory as your docker-compose.yml
configuration file. Let’s have a look at some of the most commonly used commands.
Launch all containers:
docker-compose up
Images can be rebuilt with:
docker-compose up --build
You can also build it first and then launch it:
docker-compose
...