Commit Graph

12 Commits

Author SHA1 Message Date
Gerard Ryan 1f96ec16ec dockerd: Add firewall independent dependencies
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2022-05-14 21:32:36 -07:00
Nicola Corna 800d69b4b4 dockerd: Add "log-driver" option
Signed-off-by: Nicola Corna <nicola@corna.info>
2022-01-04 17:16:45 +01:00
Florian Eckert 0fded274ec dockerd: refactoring uciadd and ucidel handling
This change makes the handling of adding and deleting interface, device
bridge and firewall more robust.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-06-15 08:05:22 +02:00
Gerard Ryan 7c6a132d76 dockerd: Added options to setup a dualstack default bridge
* Added IPv6 Support

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-28 16:29:10 +10:00
Gerard Ryan 0a969afabc dockerd: set docker zone chain defaults to ACCEPT
* Since the docker0 is a private network by default we can be
  more accepting like the LAN is by default

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-25 21:33:39 +10:00
Gerard Ryan 398af87bdd dockerd: Added option to set dns servers
* The default server is the default switch so that
  queries will go through the hosts dnsmasq by default

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-25 21:33:39 +10:00
Gerard Ryan e64d4bd05b dockerd: Added iptables wait to ensure rules are added
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-21 11:03:53 +10:00
Gerard Ryan 774a0e8be0 dockerd: Made blocked_interfaces ip rule REJECT
* Changed from DROP to REJECT to be consistant with other firewall rules

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-21 11:01:38 +10:00
Gerard Ryan f4cc4c0c70 dockerd: made registry_mirrors and hosts omittable
* Moved logic out of config writing
* Made default config only specify OpenWrt dictated defaults
  Otherwise, docker defaults can be assumed

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-21 11:01:30 +10:00
Gerard Ryan 8f899db305 dockerd: Normalized config quotation marks
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2021-02-21 10:49:12 +10:00
Yuhang Qin ab472b3fdf dockerd: change start level to 99
Dockerd start too early will conflict with other net config.
After boot must manually restart dockerd, Or some container will not run.

Signed-off-by: Yuhang Qin <qinyuhangxiaoxiang@gmail.com>
2021-02-03 13:33:39 +08:00
Gerard Ryan 249d7d8faa docker-ce: docker-ce -> dockerd
The source is being deprecated and split into the CLI and engine/daemon
repositories, So `docker-ce` will now be the `dockerd` and a separate
package will be made for the `docker` CLI.

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2020-12-15 12:52:33 +00:00