1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-05 18:48:50 +01:00

Merge pull request #91 from StrongMonkey/fix-run

fix rancher run to use image field
This commit is contained in:
Darren Shepherd
2017-09-26 11:33:41 -07:00
committed by GitHub

View File

@@ -327,7 +327,7 @@ func serviceRun(ctx *cli.Context) error {
HealthInterval: ctx.Int64("health-interval"),
HealthRetries: ctx.Int64("health-retries"),
Hostname: ctx.String("hostname"),
ImageUuid: "docker:" + ctx.Args()[0],
Image: ctx.Args()[0],
Ip: ctx.String("ip"),
Ip6: ctx.String("ip6"),
IpcMode: ctx.String("ipc"),
@@ -461,7 +461,7 @@ func serviceRun(ctx *cli.Context) error {
HealthInterval: ctx.Int64("health-interval"),
HealthRetries: ctx.Int64("health-retries"),
Hostname: ctx.String("hostname"),
ImageUuid: "docker:" + ctx.Args()[0],
Image: ctx.Args()[0],
Ip: ctx.String("ip"),
Ip6: ctx.String("ip6"),
IpcMode: ctx.String("ipc"),