GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix: Remove support for incompatible cli flags · PastureStack/cli@cb45242

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • cmd
    • run.go
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎cmd/run.go‎

Copy file name to clipboardExpand all lines: cmd/run.go
-25Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -157,22 +157,6 @@ func RunCommand() cli.Command {
157157
Name: "interactive, i",
158158
Usage: "Keep STDIN open even if not attached",
159159
},
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-
},
176160
cli.Int64Flag{
177161
Name: "kernel-memory",
178162
Usage: "Kernel memory limit",
@@ -197,10 +181,6 @@ func RunCommand() cli.Command {
197181
Name: "name",
198182
Usage: "Assign a name to the container",
199183
},
200-
cli.StringSliceFlag{
201-
Name: "net-alias, network-alias",
202-
Usage: "Add network-scoped alias for the container",
203-
},
204184
cli.BoolFlag{
205185
Name: "oom-kill-disable",
206186
Usage: "Disable OOM Killer",
@@ -362,10 +342,6 @@ func serviceRun(ctx *cli.Context) error {
362342
HealthRetries: ctx.Int64("health-retries"),
363343
Hostname: ctx.String("hostname"),
364344
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"),
369345
KernelMemory: ctx.Int64("kernel-memory"),
370346
Labels: map[string]interface{}{},
371347
Environment: map[string]interface{}{},
@@ -375,7 +351,6 @@ func serviceRun(ctx *cli.Context) error {
375351
MemorySwap: ctx.Int64("memory-swap"),
376352
MemorySwappiness: ctx.Int64("memory-swappiness"),
377353
//NetworkIds: ctx.StringSlice("networkids"),
378-
NetAlias: ctx.StringSlice("net-alias"),
379354
NetworkMode: ctx.String("net"),
380355
OomKillDisable: ctx.Bool("oom-kill-disable"),
381356
OomScoreAdj: ctx.Int64("oom-score-adj"),

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.