GeezerVison is showing github.com — Fix: Remove support for incompatible cli flags · PastureStack/cli@cb45242
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: cmd/run.go -25Lines changed: 0 additions & 25 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -157,22 +157,6 @@ func RunCommand() cli.Command { | 157 | 157 | Name: "interactive, i", | 158 | 158 | Usage: "Keep STDIN open even if not attached", | 159 | 159 | }, | 160 | | - cli.StringFlag{ | 161 | | - Name: "ip", | 162 | | - Usage: "IPv4 address (e.g., 172.30.100.104)", | 163 | | - }, | 164 | | - cli.StringFlag{ | 165 | | - Name: "ip6", | 166 | | - Usage: "IPv6 address (e.g., 2001:db8::33)", | 167 | | - }, | 168 | | - cli.StringFlag{ | 169 | | - Name: "ipc", | 170 | | - Usage: "IPC namespace to use", | 171 | | - }, | 172 | | - cli.StringFlag{ | 173 | | - Name: "isolation", | 174 | | - Usage: "Container isolation technology", | 175 | | - }, | 176 | 160 | cli.Int64Flag{ | 177 | 161 | Name: "kernel-memory", | 178 | 162 | Usage: "Kernel memory limit", | @@ -197,10 +181,6 @@ func RunCommand() cli.Command { | 197 | 181 | Name: "name", | 198 | 182 | Usage: "Assign a name to the container", | 199 | 183 | }, | 200 | | - cli.StringSliceFlag{ | 201 | | - Name: "net-alias, network-alias", | 202 | | - Usage: "Add network-scoped alias for the container", | 203 | | - }, | 204 | 184 | cli.BoolFlag{ | 205 | 185 | Name: "oom-kill-disable", | 206 | 186 | Usage: "Disable OOM Killer", | @@ -362,10 +342,6 @@ func serviceRun(ctx *cli.Context) error { | 362 | 342 | HealthRetries: ctx.Int64("health-retries"), | 363 | 343 | Hostname: ctx.String("hostname"), | 364 | 344 | ImageUuid: "docker:" + ctx.Args()[0], | 365 | | - Ip: ctx.String("ip"), | 366 | | - Ip6: ctx.String("ip6"), | 367 | | - IpcMode: ctx.String("ipc"), | 368 | | - Isolation: ctx.String("isolation"), | 369 | 345 | KernelMemory: ctx.Int64("kernel-memory"), | 370 | 346 | Labels: map[string]interface{}{}, | 371 | 347 | Environment: map[string]interface{}{}, | @@ -375,7 +351,6 @@ func serviceRun(ctx *cli.Context) error { | 375 | 351 | MemorySwap: ctx.Int64("memory-swap"), | 376 | 352 | MemorySwappiness: ctx.Int64("memory-swappiness"), | 377 | 353 | //NetworkIds: ctx.StringSlice("networkids"), | 378 | | - NetAlias: ctx.StringSlice("net-alias"), | 379 | 354 | NetworkMode: ctx.String("net"), | 380 | 355 | OomKillDisable: ctx.Bool("oom-kill-disable"), | 381 | 356 | OomScoreAdj: ctx.Int64("oom-score-adj"), | |
|