Obsidian/Recognition/Programing/Docker/Docker Compose.md

21 lines
342 B
Markdown
Raw Normal View History

2023-08-14 16:19:25 +00:00
#docker
```bash
--
docker-compose -f docker-compose-kafka.yml up -d
docker-compose -f docker-compose-kafka.yml down
docker-compose -f docker-compose-kafka.yml ps
2023-09-15 08:52:43 +00:00
docker-compose build && docker-compose up -d
2023-08-14 16:19:25 +00:00
docker exec -it kafka1 bash
kafka-topics --list --bootstrap-server kafka1:9091
```
- 버전확인
> docker-compose --version