Closed cbunney closed 5 years ago
What's your docker and docker compose version ?
On Wed., 30 Jan. 2019, 2:17 am cbunney, notifications@github.com wrote:
[root@localhost kafka-stack-docker-compose]# docker-compose -f full-stack.yml up -d ERROR: Invalid interpolation format for "environment" option in service "kafka1": "LISTENER_DOCKER_INTERNAL://kafka1:19092,LISTENER_DOCKER_EXTERNAL://${DOCKER_HOST_IP:-127.0.0.1}:9092"
I have already exported to env variable: export DOCKER_HOST_IP=127.0.0.1
I had to edit the .yml file to remove the ':-127.0.0.1' for it to work
edited line: "kafka1": "LISTENER_DOCKER_INTERNAL://kafka1:19092,LISTENER_DOCKER_EXTERNAL://${DOCKER_HOST_IP}:9092"
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/simplesteph/kafka-stack-docker-compose/issues/44, or mute the thread https://github.com/notifications/unsubscribe-auth/AT4raWIpnNCtol572pk9ARYK7DIUIm2vks5vIPKQgaJpZM4aZQix .
[root@localhost bin]# docker version Client: Version: 17.12.0-ce API version: 1.35 Go version: go1.9.2 Git commit: c97c6d6 Built: Wed Dec 27 20:10:14 2017 OS/Arch: linux/amd64
Server: Engine: Version: 17.12.0-ce API version: 1.35 (minimum version 1.12) Go version: go1.9.2 Git commit: c97c6d6 Built: Wed Dec 27 20:12:46 2017 OS/Arch: linux/amd64 Experimental: false
[root@localhost bin]# docker-compose version docker-compose version 1.8.1, build 878cff1 docker-py version: 1.10.3 CPython version: 2.7.9 OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
Your docker is over a year old , try updating it and also docker compose and things should work hopefully
On Thu., 31 Jan. 2019, 12:39 am cbunney, notifications@github.com wrote:
[root@localhost bin]# docker version Client: Version: 17.12.0-ce API version: 1.35 Go version: go1.9.2 Git commit: c97c6d6 Built: Wed Dec 27 20:10:14 2017 OS/Arch: linux/amd64
Server: Engine: Version: 17.12.0-ce API version: 1.35 (minimum version 1.12) Go version: go1.9.2 Git commit: c97c6d6 Built: Wed Dec 27 20:12:46 2017 OS/Arch: linux/amd64 Experimental: false
[root@localhost bin]# docker-compose version docker-compose version 1.8.1, build 878cff1 docker-py version: 1.10.3 CPython version: 2.7.9 OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/simplesteph/kafka-stack-docker-compose/issues/44#issuecomment-459155414, or mute the thread https://github.com/notifications/unsubscribe-auth/AT4raQxpjfMGcMczYUSCA2M6E47k_Eayks5vIi1KgaJpZM4aZQix .
Ok thanks
[root@localhost kafka-stack-docker-compose]# docker-compose -f full-stack.yml up -d ERROR: Invalid interpolation format for "environment" option in service "kafka1": "LISTENER_DOCKER_INTERNAL://kafka1:19092,LISTENER_DOCKER_EXTERNAL://${DOCKER_HOST_IP:-127.0.0.1}:9092"
I have already exported to env variable: export DOCKER_HOST_IP=127.0.0.1
I had to edit the .yml file to remove the ':-127.0.0.1' for it to work
edited line: "kafka1": "LISTENER_DOCKER_INTERNAL://kafka1:19092,LISTENER_DOCKER_EXTERNAL://${DOCKER_HOST_IP}:9092"