Overview
You may encounter the need to change the DNS of your CircleCI Server instance's remote docker container in order to connect with your network. While daunting, the solution is quite simple.
Adding the nameserver to resolv.conf
After setup_remote_docker step add:
- setup_remote_docker
version: 20.10.14
- run:
command: |
ssh remote-docker echo "nameserver x.x.x.x" | ssh remote-docker sudo tee -a /etc/resolv.conf
Comments
Article is closed for comments.