Skip to content

Commit

Permalink
Merge Official Source
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
  • Loading branch information
1715173329 committed Jul 16, 2024
2 parents b96165d + d14e460 commit 92e271d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/dockerd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=dockerd
PKG_VERSION:=27.0.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE

Expand Down
4 changes: 3 additions & 1 deletion utils/dockerd/files/dockerd.init
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ ucidel() {
}

process_config() {
local alt_config_file data_root log_level iptables bip
local alt_config_file data_root log_level iptables ip6tables bip

[ -f /etc/config/dockerd ] || {
# Use the daemon default configuration
Expand All @@ -172,6 +172,7 @@ process_config() {
config_get data_root globals data_root "/opt/docker/"
config_get log_level globals log_level "warn"
config_get_bool iptables globals iptables "1"
config_get_bool ip6tables globals ip6tables "0"

# Don't add these options by default
# omission == docker defaults
Expand All @@ -190,6 +191,7 @@ process_config() {
json_add_string "data-root" "${data_root}"
json_add_string "log-level" "${log_level}"
json_add_boolean "iptables" "${iptables}"
json_add_boolean "ip6tables" "${ip6tables}"
[ -z "${log_driver}" ] || json_add_string "log-driver" "${log_driver}"
[ -z "${bip}" ] || json_add_string "bip" "${bip}"
[ -z "${registry_mirrors}" ] || json_add_array "registry-mirrors"
Expand Down

0 comments on commit 92e271d

Please sign in to comment.