增加了以上配置之后,docker for mac就没法完成重启了,从文档上找到了下面这段话:
The options set in the configuration file must not conflict with options set via flags. The docker daemon fails to start if an option is duplicated between the file and the flags, regardless their value. We do this to avoid silently ignore changes introduced in configuration reloads. For example, the daemon fails to start if you set daemon labels in the configuration file and also set daemon labels via the --label flag. Options that are not present in the file are ignored when the daemon starts.
这段话或许能解释为何无法重启,但没有解答我的疑问。求赐教!