I have the following Docker compose file and I am trying to use wait-for-it.sh
, so that the control center comes up after Kafka broker is available
control-center:
image: confluentinc/cp-enterprise-control-center
hostname: control-center
restart: always
depends_on:
- zookeeper
- kafka
- schema_registry
- connect
command: ["./wait-for-it.sh", "kafka:9092"]
I get the below error when I execute docker-compose up:
Cannot start service control-center: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"./wait-for-it.sh\": stat ./wait-for-it.sh: no such file or directory": unknown
I am on Windows 10, using Docker for windows and PowerShell.