execute CMD '-Dpidfile.path=/dev/null'
rorygilfillan opened this issue · 2 comments
rorygilfillan commented
I see the following in the logs when I try to start your image:
execute CMD '-Dpidfile.path=/dev/null'
/usr/local/bin/entrypoint.sh: line 47: exec: -D: invalid option
exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
ChristianKniep commented
Hey, using the docker-compose file in the repository it works for me.
$ docker stack deploy -c docker-compose.yml kafka
Creating network kafka_default
Creating service kafka_zkui
Creating service kafka_broker
Creating service kafka_manager
Creating service kafka_zookeeper
$ docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
qxq9bclp0nct kafka_broker replicated 1/1 qnib/plain-kafka:2018-04-25_1.1.0 *:9092->9092/tcp
baz8m3rn1yap kafka_manager replicated 1/1 qnib/plain-kafka-manager:2018-04-25 *:9000->9000/tcp
0s3f1i1ns3zi kafka_zkui replicated 1/1 qnib/plain-zkui:latest *:9090->9090/tcp
f8gbq68wfqet kafka_zookeeper replicated 1/1 qnib/plain-zookeeper:latest *:2181->2181/tcp
🤔
Can you share the docker-compose file you are using and how you deploy?
rorygilfillan commented
Sorry I had command: -Dpidfile.path=/dev/null
in my compose file, from a different image.