Only match strings which end with ::1 Fixes #830 Signed-off-by: Abhishek Chanda <abhishek.becs@gmail.com>
- As recommended by Docker committers. - Will introduce internal directory when go supports it Signed-off-by: Alessandro Boch <aboch@docker.com>