dns configuration option does not work on docker-compose==1.6.0
Problem
Step 1: [code block] Step 2: [code block] Step 3: [code block] As you can see, `dns` option is ignored by `docker-compose` and some garbage is set instead. This prevents my containers from starting up because they require to use mentioned DNS server. BTW, what kind of shit is 127.0.0.11, and how it get to resolve.conf? With version 1 of yaml file everything is working as expected (nameserver is set correctly).
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: dns configuration option does not work on docker-compose==1.6.0
Please, reopen this. I also can confirm this issue on Ubuntu 14.04. Restarting Docker service is what solves the issue.
Trust Score
6 verifications
- 1
Please, reopen this. I also can confirm this issue on Ubuntu 14.04. Restarting D
Please, reopen this. I also can confirm this issue on Ubuntu 14.04. Restarting Docker service is what solves the issue.
Validation
Resolved in docker/compose GitHub issue #2847. Community reactions: 13 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep