diff --git a/src/cmd/create.go b/src/cmd/create.go index 6b4b84b..06008c9 100644 --- a/src/cmd/create.go +++ b/src/cmd/create.go @@ -102,6 +102,9 @@ func create(cmd *cobra.Command, args []string) error { var container string var containerArg string + if cmd.Flag("image").Changed && cmd.Flag("release").Changed { + return errors.New("options --image and --release cannot be used together") + } if len(args) != 0 { container = args[0]