Commit graph

17 commits

Author SHA1 Message Date
Florian Eckert
138a60407f docker-ce: add bridge device to network uci backend
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-11 09:25:34 +02:00
Florian Eckert
7034020c13 docker-ce: fix hosts type to list
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-11 09:25:34 +02:00
Florian Eckert
1bf0bd4590 docker-ce: fix bip default config value
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-31 15:48:27 +02:00
Florian Eckert
8bee407101 docker-ce: add uci config on boot
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-29 13:09:08 +02:00
Florian Eckert
86dacca843 docker-ce: fix typo for registry_mirrors uci option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-29 13:09:08 +02:00
Florian Eckert
f622644211 docker-ce: add bip uci to default config
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-29 13:09:08 +02:00
Florian Eckert
5136421254 docker-ce: add hosts option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-29 13:07:07 +02:00
Florian Eckert
a84d951486 docker-ce: add default bridge to openwrt uci backend
This commit adds two additional init.d targets:
* uciadd:
This command adds the default docker0 bridge to the network
configuration. Additional, a new firewall zone docker is created

* ucidel
This command removes default docker0 bridge from the network
configuration. The new docker firewall zone gets also deleted.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-29 13:07:07 +02:00
Florian Eckert
2d27c4a10c docker-ce: add reload handling
If the uci configuration is changed send dockerd a SIGHUP to reload the
generated daemon.json file with the new configuration.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-21 10:04:39 +02:00
Florian Eckert
2407497230 docker-ce: cleanup firewall rules on service stop
Until now, the firewall rules from the dockerd were preserved after the
service was stopped. This is not nice. With this change the firewall rules
created by dockerd will be deleted when the dockerd service is stopped.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-07 15:03:28 +02:00
Florian Eckert
a3d8d7d997 docker-ce: remove obsulte docker default configuration file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-07 15:03:28 +02:00
Florian Eckert
b9b565e068 docker-ce: add uci support for dockerd
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-07 15:03:28 +02:00
Florian Eckert
87ba072dce docker-ce: fix docker info warning
If we execute `docker info` we get the following warning:

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

To fix this enable this in sysctl if docker is installed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-05 17:03:30 +02:00
Gerard Ryan
c8e70c9550 docker-ce: Updated to 19.03.2
* Added warning logging
* Added missing default kmod
* Added missing kernel feature for IO scheduling

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2019-10-06 12:07:21 +10:00
Student414
72c8ba7ee5 docker-ce: Expand nofile from 1024(soft) 4096(hard) as large as possible when using procd.
When we run docker image and export too many ports, dockerd will output some errors like "too many open files", it is caused by max-file limitation.
Now, we start dockerd using procd, just add a statement to fix this problem.

Signed-off-by: Fuying Wang <805447391@qq.com>
2019-08-30 01:08:13 +01:00
Gerard Ryan
c92f7c2006 docker-ce: Updated to 19.03.1
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2019-08-10 15:44:29 +08:00
Gerard Ryan
f2793d55fe docker-ce: Added Docker community edition
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
2019-07-04 19:35:15 +08:00