Using dnsmasq with circleci

I need to use dnsmasq in order to set up dns entries.

I see the following error when I try to reload dnsmasq

#!/bin/bash
sudo sh -c ‘systemctl reload dnsmasq’

Failed to get D-Bus connection: Unknown error -1
Exited with code 1

Any ideas?

You might need to use the machine executor for this, because there are some permissions issues in docker around networking. https://circleci.com/docs/2.0/executor-intro/#machine

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.