Known-Docker | A Docker container for Known | Continuous Deployment library
kandi X-RAY | Known-Docker Summary
kandi X-RAY | Known-Docker Summary
A Docker container for Known.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Known-Docker
Known-Docker Key Features
Known-Docker Examples and Code Snippets
Community Discussions
Trending Discussions on Known-Docker
QUESTION
I'm trying to get Kafka running on an AWS ECS container. I have this setup already / working fine on my local docker environment, using the spotify/kafka
image
To get this working locally, I needed to ensure the ADVERTISED_HOST environment variable was set. ADVERTISED_HOST
needed to be set as the containers external IP, otherwise when I try to connect it was just giving me connection refused
.
My local docker-compose.yaml
has this for the kafka container:
ANSWER
Answered 2017-May-17 at 15:30Your entrypoint script will need to call the EC2 Metadata Service on startup (in this case http://169.254.169.254/latest/meta-data/local-hostname) to get the external-to-docker hostname and set that variable.
Sample:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Known-Docker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page