Add: More important basic commands for docker-compose (#20227)

This commit is contained in:
Moritz
2018-10-28 16:08:28 +01:00
committed by Tom
parent 1567a16b2f
commit f9ee83dee6

View File

@ -44,7 +44,25 @@ docker-compose -f docker-compose.yml --build -d
docker-compose -f docker-compose.yml down
```
* Command to remove service containers
```
docker-compose -f docker-compose.yml rm
```
* Command to pull Images for all service containers from repository (by default from Docker Hub)
```
docker-compose -f docker-compose.yml pull
```
* Command to view logs of all service contaienrs (add -f to follow logs)
```
docker-compose -f docker-compose.yml logs
```
#### More Information:
- [More information on Docker-compose]
(https://docs.docker.com/compose/)
- [More information on Docker-compose](https://docs.docker.com/compose/)