vdesabou / kafka-docker-playground

🐳✨ Fully automated Apache Kafka® and Confluent Docker based examples // 👷‍♂️ Easily build examples or reproduction models
https://kafka-docker-playground.io
MIT License
628 stars 205 forks source link

all container will be deleted after use `playground run`? #5726

Closed Admingyu closed 6 days ago

Admingyu commented 6 days ago

does it will remove all the containers on the machine? i lost all containers on my server after run playground run to deploy a sasl-ssl compose! why didn't i see at least a warning? only have these containers left!!

➜  compose git:(master) ✗ docker container ls -a
CONTAINER ID   IMAGE                                             COMMAND                  CREATED         STATUS         PORTS                                                                                                                                           NAMES
e4df37fe4540   confluentinc/cp-enterprise-control-center:7.6.1   "/etc/confluent/dock…"   2 minutes ago   Up 2 minutes   0.0.0.0:9021->9021/tcp, :::9021->9021/tcp, 0.0.0.0:9023->9023/tcp, :::9023->9023/tcp                                                            control-center
47bdce09a29b   confluentinc/cp-server-connect-base:7.6.1         "/etc/confluent/dock…"   2 minutes ago   Up 2 minutes   0.0.0.0:5005->5005/tcp, :::5005->5005/tcp, 0.0.0.0:8083->8083/tcp, :::8083->8083/tcp, 0.0.0.0:10002->10002/tcp, :::10002->10002/tcp, 9092/tcp   connect
2a310d360e5e   confluentinc/cp-schema-registry:7.6.1             "/etc/confluent/dock…"   2 minutes ago   Up 2 minutes   0.0.0.0:8081->8081/tcp, :::8081->8081/tcp, 0.0.0.0:10001->10001/tcp, :::10001->10001/tcp                                                        schema-registry
7cf5e1d6111e   confluentinc/cp-server:7.6.1                      "/etc/confluent/dock…"   2 minutes ago   Up 2 minutes   0.0.0.0:9092->9092/tcp, :::9092->9092/tcp, 0.0.0.0:10000->10000/tcp, :::10000->10000/tcp, 0.0.0.0:29092->29092/tcp, :::29092->29092/tcp         broker
2adba724fee8   confluentinc/cp-zookeeper:7.6.1                   "/etc/confluent/dock…"   2 minutes ago   Up 2 minutes   2181/tcp, 2888/tcp, 3888/tcp, 0.0.0.0:9999->9999/tcp, :::9999->9999/tcp                                                                         zookeeper
vdesabou commented 6 days ago

yes it calls playground container kill-all

I've added a warn in docs