PDA

View Full Version : Docker Lots of Errors in the Journal



dcrdev
23rd October 2015, 09:24 PM
I'm building a new server with Fedora 22-SE, I've just enabled the docker service and I'm getting lots of errors in the system journal - mostly related to the firewall.

Docker came preinstalled and all I did to activate it was enable the service, are there any additional packages or configuration steps necessary for docker to play nice with the firewall?

Here is my log:

21:14 Scope libcontainer-6069-systemd-test-default-dependencies.scope has no PIDs. Refusing. systemd
21:14 2015-10-23 21:14:39 ERROR: COMMAND_FAILED: '/sbin/iptables -w -t nat -C OUTPUT -m addrtype --dst-type LOCAL -j DOCKER ! --dst 127.0.0.0/8' failed: iptables: No chain/target/match by that name. firewalld
21:14 2015-10-23 21:14:39 ERROR: COMMAND_FAILED: '/sbin/iptables -w -t nat -C PREROUTING -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables: No chain/target/match by that name. firewalld
21:14 2015-10-23 21:14:39 ERROR: COMMAND_FAILED: '/sbin/iptables -w -t nat -n -L DOCKER' failed: iptables: No chain/target/match by that name. firewalld
21:14 2015-10-23 21:14:39 ERROR: COMMAND_FAILED: '/sbin/iptables -w -D FORWARD -i docker0 -o docker0 -j DROP' failed: iptables: Bad rule (does a matching rule exist in that chain?). firewalld
21:14 2015-10-23 21:14:39 ERROR: COMMAND_FAILED: '/sbin/iptables -w -t nat -D OUTPUT' failed: iptables: Bad rule (does a matching rule exist in that chain?). firewalld
21:14 2015-10-23 21:14:39 ERROR: COMMAND_FAILED: '/sbin/iptables -w -t nat -D PREROUTING' failed: iptables: Bad rule (does a matching rule exist in that chain?). firewalld
21:14 2015-10-23 21:14:39 ERROR: COMMAND_FAILED: '/sbin/iptables -w -t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables: No chain/target/match by that name. firewalld
21:14 Device dev-disk-by\x2duuid-29b50e10\x2d3913\x2d4a4d\x2da746\x2d6b5d4fa1f63d.d evice appeared twice with different sysfs paths /sys/devices/virtual/block/loop0 and /sys/devices/virtual/block/dm-4 systemd 3
21:14 Failed to start Docker Storage Setup. systemd

There are 1 or 2 other storage related errors in there as well, which I have no idea about either. I've tried searching the for each of these errors and have been unable to find any resolution.

Can anyone help?

Thanks,

dcrdev
25th October 2015, 09:51 PM
Am I aloud to bump this I've not been able to solve this. Since I posted this I've tried reinstalling docker - but it hasn't made a difference.