We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e722c0 commit adf8404Copy full SHA for adf8404
cmd.go
@@ -27,7 +27,7 @@ func init() {
27
Flags: func() *flag.FlagSet {
28
fs := flag.NewFlagSet("docker-proxy", flag.ExitOnError)
29
30
- fs.Bool("mode", false,
+ fs.String("mode", "standalone",
31
"Which mode this instance should run: standalone | controller | server")
32
33
fs.String("docker-sockets", "",
@@ -169,7 +169,6 @@ func createOptions(flags caddycmd.Flags) *config.Options {
169
switch mode {
170
case "controller":
171
options.Mode = config.Controller
172
- break
173
case "server":
174
options.Mode = config.Server
175
default:
0 commit comments