Collabora Docker with apache2 vhost config

Hi, i’m fighting with docker. Now i get an IPtables error if i want to start collabora:

sudo docker run -t -d -p -e 'domain=cloud\\.example\\.net' --restart always --cap-add MKNOD collabora/code 064da0e0db57361498a76ee6074fbd1ccd23d1897b6ff81991f7f7b332e52158 docker: Error response from daemon: driver failed programming external connectivity on endpoint dreamy_dubinsky (c77b4c02e23fba94e70b4787fc1709c39f48bc23ef09218dd7b4ad03ccfd9ebd): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d --dport 9980 -j DNAT --to-destination ! -i docker0: iptables: No chain/target/match by that name. (exit status 1)).

so that’s quite strange. Also i don’t know from where is takes the destination IP. It is not an IP of any of my networks.

Besides i don’t know how i can make proper settings to forward my sub domain to my docker container. I have apache2 with the proxy conf configured. But what do i need else for the dns forward?


The first topic i could solve just by restarting the docker daemon.

But still remaining ist how i can manage a vhost to i need to redirect my domain to my home server with static ip. But all my sub domains are redirected to IP/service. How i can do that with apache2 proxy settings and docker without any document within the webservers root?