mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 13:26:17 +04:00
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>
This commit is contained in:
@@ -8,9 +8,9 @@ config globals 'globals'
|
||||
# option alt_config_file '/etc/docker/daemon.json'
|
||||
option data_root '/opt/docker/'
|
||||
option log_level 'warn'
|
||||
list hosts 'unix:///var/run/docker.sock'
|
||||
option bip '172.18.0.1/24'
|
||||
# option iptables '0'
|
||||
option iptables '1'
|
||||
# list hosts 'unix:///var/run/docker.sock'
|
||||
# option bip '172.18.0.1/24'
|
||||
# list registry_mirrors 'https://<my-docker-mirror-host>'
|
||||
# list registry_mirrors 'https://hub.docker.com'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user