Commit Graph

13 Commits

Author SHA1 Message Date
Keith T. Garner f2aa53cdef dockerd: add docker-storage to init
Docker's backend storage driver can be configurable for certain
filesystems. The default is the overlay storage driver, but if you run
openwrt on a system with btrfs, this will allow you to override the
default configuration by settings the storage_driver in uci in dockerd's
global section. This value will be used in the created dockerd.json
file.

Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
2025-03-14 00:51:21 +08:00
Joe Zheng e795bab253 dockerd: add config options for http proxy
add config options to set http porxy for dockerd, refer to
https://docs.docker.com/engine/daemon/proxy/ for details

use the *_proxy environment variable as the default value, so in most
cases, dockerd can use the system proxy settings just like opkg.

Signed-off-by: Joe Zheng <joe.zheng@intel.com>
2024-09-13 12:52:05 +08:00
Milinda Brantini 55e689176e dockerd: fix breaks IPv6 routing
Add option to support ip6tables configuration(default false).

Signed-off-by: Milinda Brantini <C_A_T_T_E_R_Y@outlook.com>
2024-07-14 12:04:48 -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
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