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 f59e581 commit 45256e1Copy full SHA for 45256e1
generate.go
@@ -130,6 +130,9 @@ func modify(spec *rspec.Spec, context *cli.Context) error {
130
spec.Hostname = context.String("hostname")
131
spec.Process.User.UID = uint32(context.Int("uid"))
132
spec.Process.User.GID = uint32(context.Int("gid"))
133
+ if spec.Process.Args == nil {
134
+ spec.Process.Args = make([]string, 0)
135
+ }
136
spec.Process.SelinuxLabel = context.String("selinux-label")
137
spec.Linux.MountLabel = context.String("mount-label")
138
spec.Platform.OS = context.String("os")
0 commit comments