Skip to content

Conversation

@ekristen
Copy link

@ekristen ekristen commented Dec 7, 2015

This restart's the resolvconf service via the dbus.

Go is not my language, so most likely can be improved.

docker run -d \
    --hostname resolvable \
    -v /var/run/docker.sock:/tmp/docker.sock \
    -v /etc/resolvconf/resolv.conf.d/head:/tmp/resolv.conf \
    -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \
    mgood/resolvable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant