Plugins/docker fails DNS queries

My Dockerfile which is setup to run a bunch of tests, nslookup and curl fail, but I can have no issue pinging the servers. Has anyone experienced something similar? The gist contains the full output.

FROM davidneudorfer/testkid:0.0.3 (ubuntu with added tools)

RUN ping -c5
RUN ping -c5
RUN ifconfig
RUN uname -a
RUN cat /etc/resolv.conf
RUN route
RUN ip address
RUN ip route
RUN nslookup
RUN curl -IL
RUN curl

As soon as I started using my VPC’s private dns things started working

    image: plugins/docker
    custom_dns: [ ]
1 Like