We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm trying to get my containers to run against a custom dns server, but it doesn't seem to be working.
I've looked over the conf a bunch of times and it doesn't seem to be working correctly.
I've included my Dockerrun.aws.json for reference.
{ "AWSEBDockerrunVersion": 2, "containerDefinitions": [ { "name": "skills_map", "image": "seelio/skills-map:34716a798e9c51392995525ca1f54d7274b65dc5", "dnsServers": [ "11.0.0.71", "8.8.8.8" ], "dnsSearchDomains": [ "service.consul" ], "memory": 128, "essential": true }, { "name": "skills_map_web_ui", "image": "seelio/skills-map-web-ui:34716a798e9c51392995525ca1f54d7274b65dc5", "dnsServers": [ "11.0.0.71", "8.8.8.8" ], "dnsSearchDomains": [ "service.consul" ], "memory": 128, "essential": true } ] }
Running docker inspect on the resulting container says that there are no Dns or DnsSearch options set, and this is what's in /etc/resolv.conf
docker inspect
; generated by /sbin/dhclient-script search ec2.internal nameserver 11.0.0.2
Thanks!
The text was updated successfully, but these errors were encountered:
I can confirm that this feature does not seem to work with agent version 1.6 on Elasticbeanstalk with the latest image.
Sorry, something went wrong.
@kyriesent @sebest My colleagues have informed me that dnsServers and dnsSearchDomains should work with AWS Elastic Beanstalk now.
dnsServers
dnsSearchDomains
Merge pull request aws#249 from fenxiong/merge-master
3254ebc
Merge master back to dev after 1.28.0 release
No branches or pull requests
Hi,
I'm trying to get my containers to run against a custom dns server, but it doesn't seem to be working.
I've looked over the conf a bunch of times and it doesn't seem to be working correctly.
I've included my Dockerrun.aws.json for reference.
Running
docker inspect
on the resulting container says that there are no Dns or DnsSearch options set, and this is what's in /etc/resolv.confThanks!
The text was updated successfully, but these errors were encountered: