Docker compatibility
Created by: Sharsie
So I tried to run some docker containers, namely syncthing with Douane running on the host computer. The docker container has no issues connecting to the internet, which is fine, however, Douane Dialog keeps prompting me for applications trying to access the network from inside the container and then crashing once I press Allow/Deny The issue is as follows: Inside the docker container, there is an application at /usr/bin/syncthing The host does not have access to this file (/usr/bin/syncthing on the host does not exist) When I start the container, Douane Dialog prompts me for an action, clicking Allow or Deny crashes both dialog process and the daemon ( I assume this is because it cannot sha256sum the file?) The last messages from the log are
[netlink_listener.cpp::NetLinkListener:90]: NetlinkListener::send_rule...
[netlink_listener.cpp::NetLinkListener:163]: NetlinkListener::build_message...
[netlink_listener.cpp::NetLinkListener:97]: NetlinkListener::send_rule ALLOW for /usr/bin/syncthing...
[rules_manager.cpp::RulesManager:89]: Currently 0 pending rules`
I was looking for a way to circumvent this and so far I found out the only way I can do this is to copy the application from the container to the host and add it to the rules
So I guess I'm writing this in case someone comes accross the same issue. It would probably be nice if there was a check before the daemon and dialog crashes if it cannot find the application