Fix DNS passing. New env var is PLUGIN_CUSTOM_DNS
DNS is a reserved keywork so the dns property is no longer being converted into the PLUGIN_DNS environment variable. Changing the name to custom_dns so the PLUGIN_CUSTOM_DNS env var will be passed in.
This commit is contained in:
parent
4904d5cf56
commit
5960727df0
10
main.go
10
main.go
@ -63,7 +63,7 @@ func main() {
|
|||||||
cli.StringSliceFlag{
|
cli.StringSliceFlag{
|
||||||
Name: "daemon.dns",
|
Name: "daemon.dns",
|
||||||
Usage: "docker daemon dns server",
|
Usage: "docker daemon dns server",
|
||||||
EnvVar: "PLUGIN_DNS",
|
EnvVar: "PLUGIN_CUSTOM_DNS",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "daemon.insecure",
|
Name: "daemon.insecure",
|
||||||
@ -103,10 +103,10 @@ func main() {
|
|||||||
EnvVar: "PLUGIN_CONTEXT",
|
EnvVar: "PLUGIN_CONTEXT",
|
||||||
},
|
},
|
||||||
cli.StringSliceFlag{
|
cli.StringSliceFlag{
|
||||||
Name: "tags",
|
Name: "tags",
|
||||||
Usage: "build tags",
|
Usage: "build tags",
|
||||||
Value: &cli.StringSlice{"latest"},
|
Value: &cli.StringSlice{"latest"},
|
||||||
EnvVar: "PLUGIN_TAG,PLUGIN_TAGS",
|
EnvVar: "PLUGIN_TAG,PLUGIN_TAGS",
|
||||||
FilePath: ".tags",
|
FilePath: ".tags",
|
||||||
},
|
},
|
||||||
cli.StringSliceFlag{
|
cli.StringSliceFlag{
|
||||||
|
Loading…
Reference in New Issue
Block a user