An apple a day keeps the doctor away !

0%

openwrt启用daemon json 文件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
root@OpenWrt:~# cat /etc/config/dockerd 

config globals 'globals'
option log_level 'warn'
option auto_start '1'
option alt_config_file '/etc/docker/daemon.json'
option data_root '/mnt/mmcblk2p4/docker/'
option bip '172.31.0.1/24'
option iptables 'true'

config dockerman 'dockerman'
option socket_path '/var/run/docker.sock'
option status_path '/tmp/.docker_action_status'
option debug 'false'
option debug_path '/tmp/.docker_debug'
option remote_endpoint '0'
list ac_allowed_interface 'br-lan'