Start and stop a local multi-container application using Docker Compose.
Understand how Compose helps run multiple services together in development.
Launch all services defined in the Compose file.
Command
docker-compose upExpected Result
Docker should pull images if needed and start all configured services.
Verify that the expected services are up.
Command
docker psExpected Result
You should see multiple containers running for the stack.
Review startup logs to confirm services initialized successfully.
Command
docker logs <container>Expected Result
You should see normal startup output for the selected service.
Open the exposed service in a browser or test it locally if applicable.
Expected Result
You should be able to reach the app or service exposed by the stack.
Shut down and remove the containers created by Compose.
Command
docker-compose downExpected Result
The local stack should stop and clean up successfully.
You can bring up and down a multi-container local environment.
You understand why Compose is useful in development workflows.