-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run kafka container - sed: unmatched '@' #652
Comments
Hello, i'm experiencing the same error on Linux version 5.4.0-72-generic (buildd@lcy01-amd64-019) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 Client: Docker Engine - Community docker-compose version 1.27.4, build 40524192 With the Dockerfile
Could this be related to some recent changes in Alpine? |
+1 get the same error messages |
Cuz the error shows something about ...
environment:
- KAFKA_ADVERTISED_HOST_NAME=kafka
- KAFKA_ADVERTISED_PORT=9092
- ... |
i had this error as well. i solved it by running |
+1 get the same error messages. Excluding KAFKA_JMX_OPTS from broker config |
change to
|
+1. If I create a topic, whenever I restart docker containers like zookeeper and kakfa, docker stuck with error like below |
@wurstmeister is there a possible fix coming? |
This package seems to be working as intended. Try tearing down the container and re-composing it. |
I suspect that the following might also be related to the above - the end of the
That last |
in docker 20.10.6 ,if docker run with '-p 9092:9092'
|
I have this issue as well. Every time I stop a docker container and restart I get this error. I have to remove the image before I'm able to start again. |
this is because you are not tearing down the container. i don't understand why after all of these comments in this thread there are still issues. run docker-compose down to tear it down properly. It seems that many users are still new to docker..... |
it does't work |
To everybody here, just follow this in this thread. I got the same issue just like you guys, and that resolved my issue. |
I've contributed a PR to handle this issue. |
Personal story -- I've resolved this by running |
Hi,
I'm using a simple docker-compose configuration:
My stack is running without any problem in the first execution. But, when I try to run the kafka container again, I get the following error:
kafka_1 | [Configuring] 'advertised.port' in '/opt/kafka/config/server.properties'
kafka_1 | sed: unmatched '@'
kafka-deployment_kafka_1 exited with code 1
I use ubuntu 20.04
Docker version 20.10.6, build 370c289
docker-compose version 1.26.0, build d4451659
The text was updated successfully, but these errors were encountered: